This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28M36 LWIP ethernet example code



I saw a recent post about pin setup which agrees with what i have changed in the enet_lwip.c code however i am not sure how to test this. I see that it should communicate and the code comments reference a ftdi virtual comport that is not connected to the pins in the code. My questions are:

1) How would I test this code to verify i have everything setup correctly?

2) Based on a different thread.. when is the functioning sample code expected to be released?

 

Thanks,

Galen

  • Galen,

    If you update the Ethernet pin setup code the example should work.  The UART code is correct and should work without modification.  Try opening up the FTDI COM port before running the applicaiton.  Assuming the board is plugged into a network with DHCP, the board's IP address should be displayed in the terminal.  Then try opening up that IP address in a browser and you should see a web page served up by the Concerto device.

    A new release is in the works and should be released soon.

    Cheers,

    Trey

  • Trey,

     

    Thanks. I went back and looked at the schematic for the control card and the docking station (rev 4). I believe your information is for a different docking station as the control card schematic has GPIO 28 &29 PE4 & PE5 going to the 168 pin header only (unless i missed a reference along the way) The docking station does not have any chips other than the TPS79533DCQ.

     

    I am working with the TMDXDOCK28M36 shown here:

    http://www.ti.com/tool/tmdxdock28m36

    Anymore ideas to help me validate an ethernet connection from my desktop to the control card?

    Regards,

    Galen

  • Galen,

    Check out page 9 of the controlCARD schematic.  I think you'll find that GPIO 28 and 29 are in fact connected to the USB<->UART chip through the isolators.

    Regards,

    Trey

  • I stand corrected... i see the conections now. GPIO-29 is a bit muddled on my copy.

    Now can you help me through this step by step:

    It appears as though i will be using the emulation port A:J1 for the serial coms is that correct?

  • Ya, for some reason the text on that net is a little messed up in the PDF.

    Sure, happy to help out...that's why the forums exist!  :)

    The easiest way to figure out the correct port is to open up device manager (assuming you're using windows).  Look in the COM and LPT ports section and you should see a USB Serial Port entry.  Note the COM port listed and open this COM port in your favorite terminal software with the following settings: 115200 8n1.  Load up and start the example and assuming you are connected to a network with DHCP the IP address of the board will be displayed in the terminal.  Open this IP using a browser and you should see a web site.

    Trey

  • Making progress... I see the IP Net and GW information displayed from the IP host handler but not any of the code from the main {} function. I am not directly connected to the control card on my pc but both are connected to ports on our network. this is what is being sent to the com port:

    IP: 58.67.93.58 Netmask: 58.67.93.58 Gateway: 58.67.93.58 IP: 0.0.0.2 Netmask: 0.0.0.2 Gateway: 0.0.0.2  (twice for one run on the debugger) then it jumps to the FaultISR.

    Any thoughts or quick checks?

  • Reset a few times... webpage showed up.

     

    Thanks for the help.

     

    Galen