Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

LPC2468-Embeded Artist+Eclipse Webserver port

Posted by chacks on September 9, 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

RE: LPC2468-Embeded Artist+Eclipse Webserver

Posted by Dave on September 9, 2009
Is the PHY on the EA board the same as the one used on the Keil board?

RE: LPC2468-Embeded Artist+Eclipse Webserver

Posted by chacks on 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

RE: LPC2468-Embeded Artist+Eclipse Webserver

Posted by Richard on 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.

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by chacks on September 11, 2009
thanks richard,i shall check that...

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by chacks on 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.

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by chacks on 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

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by MEdwards on September 16, 2009
You must use compatible IP addresses otherwise nothing will work.

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by chacks on 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

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by Richard on September 17, 2009
The IP addresses need to be different. Change one of them to 192.168.1.101.

Regards.

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by chacks on 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.

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by MEdwards on 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?

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by chacks on 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.

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by woops_ on September 18, 2009
Do you have the net mask set correctly 255.255.255.0

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by chacks on 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

RE: LPC2468-Embeded Artist+Eclipse Webserver port

Posted by chacks on 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


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner