LPC2468-Embeded Artist+Eclipse Webserver port

chacks wrote on Wednesday, September 09, 2009:

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

davedoors wrote on Wednesday, September 09, 2009:

Is the PHY on the EA board the same as the one used on the Keil board?

chacks wrote on Thursday, September 10, 2009:

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

rtel wrote on Thursday, September 10, 2009:

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.

chacks wrote on Friday, September 11, 2009:

thanks richard,i shall check that…

chacks wrote on Wednesday, September 16, 2009:

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.

chacks wrote on Wednesday, September 16, 2009:

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

edwards3 wrote on Wednesday, September 16, 2009:

You must use compatible IP addresses otherwise nothing will work.

chacks wrote on Thursday, September 17, 2009:

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

rtel wrote on Thursday, September 17, 2009:

The IP addresses need to be different.  Change one of them to 192.168.1.101.

Regards.

chacks wrote on Thursday, September 17, 2009:

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.

edwards3 wrote on Thursday, September 17, 2009:

> 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?

chacks wrote on Friday, September 18, 2009:

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.

woops_ wrote on Friday, September 18, 2009:

Do you have the net mask set correctly 255.255.255.0

chacks wrote on Monday, September 21, 2009:

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

chacks wrote on Thursday, September 24, 2009:

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