Other Parts Discussed in Thread: HALCOGEN
Hi,
I am working on Hercules TMS570LC43x Development Kit. Trying to get the lwIP demo working.
According to the guidelines in the demonstration page ( processors.wiki.ti.com/.../HALCoGen_Ethernet_Driver_and_lwIP_Integration_Demonstration ), I have configured HalcoGEN project according to TMS570LC43x instructions.
After generating the code from HalcoGEN, I used the lwIP source and examples given in the demo archieve.
I also enabled the DIP switch on the board for enabling ethernet.
After compilig the application and loading it to the board, the application hangs on HL_mdio.c, MDIOPhyRegRead function at the following lines:
while((HWREG(baseAddr + MDIO_USERACCESS0) & MDIO_USERACCESS0_GO) == MDIO_USERACCESS0_GO) { } /* Wait */
The baseAddr information is as follows:
Name : baseAddr
Default:4244080896
Hex:0xFCF78900
The following is the screenshot for the register information on MDIO_USERACCESS0:
I have looked up tens of threads within the forum for similar problems, but couldn't achieve to solve this problem.
What might the the problem?
HalcoGEN version: 04.06.00
Code Composer Studio version: 7.3.0.00019
Thanks,
Erkan