LPC2468-Embeded Artist+Eclipse Webserver port
HI,
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
chacks
LPC2468-Embeded Artist+Eclipse Webserver port
Is the PHY on the EA board the same as the one used on the Keil board?
LPC2468-Embeded Artist+Eclipse Webserver port
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.
thanks
chacks
LPC2468-Embeded Artist+Eclipse Webserver port
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.
Regards.
LPC2468-Embeded Artist+Eclipse Webserver port
thanks richard,i shall check that…
LPC2468-Embeded Artist+Eclipse Webserver port
HI richard,
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.
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.
LPC2468-Embeded Artist+Eclipse Webserver port
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
thanks in avdvance
LPC2468-Embeded Artist+Eclipse Webserver port
You must use compatible IP addresses otherwise nothing will work.
LPC2468-Embeded Artist+Eclipse Webserver port
hi,
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.
thanks
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.
thanks
LPC2468-Embeded Artist+Eclipse Webserver port
The IP addresses need to be different. Change one of them to 192.168.1.101.
Regards.
LPC2468-Embeded Artist+Eclipse Webserver port
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.
LPC2468-Embeded Artist+Eclipse Webserver port
> 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
> Blockquote When you debug, what do you see. It gets identified as an ARP, then what?
> Blockquote When you debug, what do you see. It gets identified as an ARP, then what?
LPC2468-Embeded Artist+Eclipse Webserver port
HI,
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.
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.
LPC2468-Embeded Artist+Eclipse Webserver port
Do you have the net mask set correctly 255.255.255.0
LPC2468-Embeded Artist+Eclipse Webserver port
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.
thanks
thanks
LPC2468-Embeded Artist+Eclipse Webserver port
hi,
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
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