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.
I apologize for the machine translation.
Currently, I am using enet_lwip to check the operation of Ethernet, but it has stopped working during the initial setting.
After identifying the cause, I set DMAMODE with Ethernet_resetModule and waited for a software reset.
How can I do a software reset?
Also, do I need a software reset?
thank you.
Tsuchiya-San,
I will ask someone to look into this, do you have anymore information on what issue occurred?
Regards,
Cody
cody,
Currently, we are using cm_common_config_c28x to check the operation of enet_lwip.
The Ethernet_initInterface function of the driver is executed in the Ethernet_init function executed by the main function in enet_lwip.c.
A loop occurred in the Ethernet_ResetModule in it, and it is impossible to continue processing.
I've attached a picture of the debug state below.
Additional note: I found a thread about a similar issue within the C2000 forums.
thread URL:https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/914434/tms320f28388d-c2000ware-ethernet-driver-initialization
This thread mentions that the Ethernet_resetModule stops working due to a problem with the peripheral's clock.
There is no detailed information about the board in that thread.
However, this time we will be checking the operation on the evaluation board, so we believe that clock problems are unlikely to occur.
thank you.
Hi,
The subject matter expert is out of office today, please expect response by tomorrow.
Thanks & Regards,
Santosh
I found that GPIO and clock were not set because ETHERNET was not pre-defined when initializing cm_common_config_c28x.
So I found out that http webserver is not working in cm core.
Sorry to bother you.
Thankyou.