Part Number: LAUNCHXL2-RM57L
Other Parts Discussed in Thread: HALCOGEN
Hi there,
I am using RM57Lx LaunchPad Development Kit. I am implementing Lwip for my project with the help of this link: http://processors.wiki.ti.com/index.php/HALCoGen_Ethernet_Driver_and_lwIP_Integration_Demonstration.
It is completely worked with TI compiler on CCS and assigns IP address properly.
But if I use GCC in CCS or I use IAR compiler(Generated EMAC code for IAR using HALCOGen) and it shows an error in initializing Hardware and not assign the IP address.
And error looks like:
=========================================
Texas Instruments
Little Endian device
Initializing ethernet (DHCP)
DEBUG - Getting PHY ID...SUCCESS
DEBUG - Getting PHY Alive Status...SUCCESS
DEBUG - Getting PHY Link Status...SUCCESS
DEBUG - Setting up Link...SUCCESS
..DONE
-------- ERROR INITIALIZING HARDWARE --------
=========================================
Also note that :
For IAR complier there is linking error of this 4 functions _enable_FIQ(), _enable_IRQ(), _disable_IRQ(), _get_CPSR() which is written in lwip_main.c,in may case i commented this 4 function for now.
Please help or guide me to solve out this issue.
Thanks in Advance,
Keyur Joshi