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.

TMS320F28388D: Example program enet_lwip hanging on call to Ethernet_initInterface

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE, TMDXCNCD28388D

Trying to set up the web server capability on an F28388D. 

Loaded the example: enet_lwip which is located in ti/c2000/C2000Ware_2_00_00_03/libraries/communications/Ethernet/third_party/lwip/examples/enet_lwip

The compile and load go quite well, then able to step-bug all the way up to the call Ethernet_initInterface(initInterfaceConfig) located in Ethernet_init() of the example.

And there it hangs. It never returns from that call. I am at a loss. Perhaps some additional configuration is required prior to the call?

  • Hi,

    1. Can you please provide information on the hardware platform? Is it on TI Control Card or on any other custom platform. 

    2. In any case, can you confirm if you are running the C28x side code before you load and run the CM side code. 

    [c2000Ware Dir]\driverlib\f2838x\examples\cm\ethernet\CCS\ethernet_c28x_config

    3. Please follow this sequence: 

    Run the C28x side code, connect the CM side and then load CM side (enet_lwip) and run. 

    Regards,

    Sudharsanan

        

  • Hi Sudharsanan,

    Thank you for taking the time to respond. I appreciate it.

    The board I am using is the TI Evaluation kit, model #TMDXCNCD28388D.

    Your question regarding the implementation and loading on the C28x side gives me a direction to explore.

    I had loaded first the blink led example (which worked fine), and then the enet_lwip code as starting points in learning how to use the device, not realizing that the other side needs to be configured in order for that particular example to work.

    I will look into what is needed in order to get some kind of a placeholder loaded onto the C28x side. Thank you.

  • Hi, 

    Thanks for the information.

    Oscar Rodriguez1 said:
    I had loaded first the blink led example (which worked fine), and then the enet_lwip code as starting points in learning how to use the device,

    The C28x CPU0 side needs to program the required Pinmuxes for the Ethernet example to work properly. 

    This is what is done in 

    [c2000Ware Dir]\driverlib\f2838x\examples\cm\ethernet\CCS\ethernet_c28x_config

    Oscar Rodriguez1 said:
    I will look into what is needed in order to get some kind of a placeholder loaded onto the C28x side

    The above C28x side example will help you get that to start with.. 

    Regards,

    Sudharsanan

  • Thank you. I will try that