Quality RTOS & Embedded Software

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




Loading

SAM7X256, DP83848 PHY and lwIP TCP/IP demo

Posted by Nobody/Anonymous on May 13, 2007
I have board with SAM7X256 and DP83848 PHY. I'm trying to run lwIP TCP/IP FreeRTOS demo. LEDs and USB work fine, but I have trouble with web server. I changed PHY ID to DP83848 in file SAM7_EMAC.c and emacIPADDRx in SAM7_EMAC.h. When I debug code ID read from PHY is OK, but web does not show in browser. I tested MII and RMII interface. My cable and LAN is OK because I have running LPC2378 web examples and works fine. I will be grateful for any ideas.

Regards
David

uIP WEB Server on an LPC2368 GCC makefile

Posted by Nobody/Anonymous on May 13, 2007
I want compile uIP Embedded WEB Server Demo on an LPC2368 but I don't use CrossStudio.
I will be grateful for GCC makefile for this examples.

Regards
David

RE: SAM7X256, DP83848 PHY and lwIP TCP/IP demo

Posted by Nobody/Anonymous on May 13, 2007
Does the PHY indicate that a link has been established? Is there a link LED on?

RE: SAM7X256, DP83848 PHY and lwIP TCP/IP de

Posted by Nobody/Anonymous on May 13, 2007
PHY active and link diode blink correct.

Regards
David

RE: SAM7X256, DP83848 PHY and lwIP TCP/IP de

Posted by Nobody/Anonymous on May 13, 2007
Try placing a break point in the EMAC ISR. If it never gets hit then there is an interface problem. If it gets hit you will be able to follow the code through to see at what point it is failing. I should start experimentations with simple PING requests as it is then easier to follow the data path through the code without having to get into the TCP stuff.

RE: SAM7X256, DP83848 PHY and lwIP TCP/IP de

Posted by Electrolot on May 14, 2007
Thanks for help. It works now. I change optimisation level to O3 and all is OK.

Regards
David


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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