I have compiled and ported the ARM7_LPC2368_Eclipse in Embedded artist board.but not able to access the webpage based on the Ip address provided.But board LEds are working with LED Task.Did anybody do the same porting.What could be the issue.your suggestions would be appreciabe.
Thanks in advance
Is the PHY on the EA board the same as the one used on the Keil board?
thanks.dave,.i checked ,both are different. EA board using Micrel KSZ8001L. and KEIL is using National. do anybody have the EA 2468 port with Micrel KSZ8001L,if so plz help me.
The IAR LPC1768 demo uses hardware with a Micrel PHY. http://www.freertos.org/LPC1768_IAR.html - I think the MAC driver is compatible with the LPC24xx too. In fact the MAC driver for the LPC1768 demo has several improviements over the old LPC23xx demo driver.
i have modified the emac code (emac init,readphy,writephy,rxdescriptor,txdescriptor etc) and now the Ethernet LEDs are blinkng when i am giving the ping(this situation was not happening early).But now contro reach upto uiGetEMACRxData() and strucking here becouse MAC_RXPRODUCEINDEX adn MAC_RXCONSUMEINDEX value are 0.what could be tthe issue…i have given prints message in vEMAC_ISR_Handler but its not printing. your susgestion woudl be verymuch helpful. thanks in avance.
HI,now interrupt part is ok , MACRXPRODUCEINDEX adn MACRXCONSUMEINDEX are changing when i am pinging ,but uip_process() function failing becouse of the ip address match. shall i do any changes in macros related to ip address excepti uIP_task.c
thanks in avdvance
You must use compatible IP addresses otherwise nothing will work.
i set ipaddress 192.168.1.100 for device and 192.168.1.100 for host pc and use cross cable…i set this ipaddress in uIP_Task.c file. Is there any other changes i need to do for working the ping.
The IP addresses need to be different. Change one of them to 192.168.1.101.
sorry i writen 100 by mistake…i given 192.168.1. 102 for host.now when i do ping the interupt is generaing and getting the packet to 2468 controller and indentifiying as ARP paclket but its not returing the packet.i debugged the uip_arpc adn uip_Task.c.what could be teh problem. thanks itws very urgent.
> and getting the packet to 2468 controller and indentifiying as ARP paclket but its not returing the packet.i debugged the uiparpc adn uipTask.c
When you debug, what do you see. It gets identified as an ARP, then what?
After identifiying as ARP packet the adress checking condition is faling ( if(uip_ipaddr_cmp(BUF->dipaddr, uip_hostaddr)) ,uip_arp.c).What do you think, am i missing some address configuration somewhere? ur suggetions would be verymuch helpful…i am running out of time.
hi, yes i have given the netmask 255.255.255.0 i TCP/P propeties(PC) but in freeRTOS webdemo i set only IP address.where i need to set teh net mask in freertos webdemo.
resolved the packet sending issue,it was becouse of the CRC error and i had missed the CRC and PADig setting in the MAC2 register with the macrel phy changes.Thanks for your valuable suggestions.
Now its pinging but its stoping around 200 pings…any idea what could be the issue.
ARM7_LPC2368_Eclipse,contains 4 IP folders in ethernet folder,which one we have to use,uip or FreeRTOS-uip?
Thanks in advance