Quality RTOS & Embedded Software

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




Loading

Different SAM7x hardware

Posted by Nobody/Anonymous on December 7, 2006
I'm trying to use your FreeRTOS DEMO on my special SAM7X
board, and I have a question about it, so I hope you will able to
answer and help me.
Now I'm using your lwIP Rowley demo with gcc toolchain, I can build the
full project and then download the binary file my board, with Atmel ISP.
But my ethernet connection don't works. Earlier I used your uIP
FreeRTOS demo in Embedded Workbench, and it worked properly. I
saw that the EMAC Init function is same in the two demo. My board is a
little different from the Atmel's SAM7X board, so I have to modifie the
EMAC Init function, but I did it before, and it worked with the uIP demo.
So my question is: are there any differences in the demos hardware
layer what I didn't notice?
Thank you for your reply; and of course sorry for my English:D

RE: Different SAM7x hardware

Posted by Richard on December 7, 2006
The two demos (IAR and Rowley/GCC) were performed on the same hardware, so there are no differences.

lwIP uses a lot more RAM than uIP, also GCC can (depending on the configuration) use more than IAR. The most likely problem would be a RAM/Stack/Buffer issue. Do you have access to a debugger?

Regards.

RE: Different SAM7x hardware

Posted by Nobody/Anonymous on December 10, 2006
Hello,

Thank you for reply.
Sorry I couldn't answer before. Yes, I have an OCD, but I didn't use it. I used the demo LED test ability. I toggle different LEDs, different point in the code. I can call the xEMACInit function, but it returns NULL. When I checked it, I saw that the problem is in the xGetLinkSpeed function, because it returns pdFAIL - no link. In uip demo it is not return pdFAIL. So that's why I thought, in the two demos are two different ways to hardware handling. If there are not different hardware handling, it is weird...


[ 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