Quality RTOS & Embedded Software

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


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?


RE: Different SAM7x hardware

Posted by Nobody/Anonymous on December 10, 2006

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) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists