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




Loading

at91sam7a3 port

Posted by chrigus on July 23, 2009
hello
i try to port the freertos to my at91sam7a3 ek. i took the at91sam7s64 IAR example, changed the device general option to sam7a3, the linker script to at91SAM7A3_FLASH.icf:
ROM: 0x100000 - 0x13FFFF
RAM: 0x200000 - 0x207FFF
CSTACK: 0x1000
SVC_STACK: 0x100
IRQ_STACK: 0x60
FIQ_STACK: 0x40
UND_STACK: 0x40
ABT_STACK: 0x40
HEAP: 0x2000

debug macro to at91sam7a3-ek-flash.mac
flash loader options:
Range: 0x100000 - 0xFFFFFFFF
Offset: 0
extra paramters: --flash
i'm using de same Cstartup.x and Cstartup_Sam7.c files.
The LEDs are configured to the correct port and are blinking with a test routine.

But by acitivating the task
vStartLEDFlashTasks( mainFLASH_PRIORITY );
and the Scheduler
vTaskStartScheduler();
the programm runs to main() and i can start it. but
the programm doesn't do anything.

while flashing i get the following error:
Flash download warning: 64 out of 64 bytes from data record CODE:[0x00000000,0x0000003F] will not be flashed

who can help me?
Thanks
Chris



RE: at91sam7a3 port

Posted by Dave on July 23, 2009
I suggest ignoring any debugging until you have got the part flashing without errors. There is no point debugging if you know the code in the processor is wrong.

RE: at91sam7a3 port

Posted by chrigus on July 23, 2009
but where is the flashing error from? wrong flash config? wrong linker config? my own software and the atmel example programs all work fine.

RE: at91sam7a3 port

Posted by chrigus on July 24, 2009
Is there nonbody who has experiences ?

RE: at91sam7a3 port

Posted by chrigus on July 27, 2009
I'm still looking for help with porting freertos to a sam7a3.

RE: at91sam7a3 port

Posted by Richard on July 27, 2009
I have some SAM7A3 IAR projects that were sent to me by a third party, but these are very old and probably based on IAR V4.x. If you want a copy then write to me directly at r dot barry [at] freertos.org.

Regards.


[ 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