Hi,
I created a new project without use of the FreeRTOS with the HCG, then copy the example and the lwip1.3.2 folder of the EMAC example project on the WIKI page. The main function just call the EMAC_LwIP_Main function.The EMAC Address and the PHY address setted in the HCG are just the same with example project,but the board seems cannot connect through the Ethernet.
The Dp83640IDGet function cannot get the right value when debug. The programe stops at the MDIOPhyRegWrite function (where it notes that/* wait for command completion*/ ) called by the Dp83640IDGet(*,*); The MDIO_USERACCESS0 pointer's value is not correct compared to the right version of the link below:
The functions parameters are just the same with the right version programe, I wonder why the pointer MDIO_USERACCESS0's value is different.Do I forget something to set?
The attach is the project,I wish it can be useful.The board I use is the TMS570LS31HDK, I do not use the sci functions in the project.
Hope you to help me to find out the reason to realize the EMAC function.
Thanks
yong