# at91sam7a3 port

**URL:** <https://forums.freertos.org/t/at91sam7a3-port/3256>\
**Category:** Kernel\
**Created:** [July 23, 2009, 8:15am UTC](https://forums.freertos.org/t/at91sam7a3-port/3256 "2009-07-23T08:15:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [July 23, 2009, 8:15am UTC](https://forums.freertos.org/t/at91sam7a3-port/3256/1 "2009-07-23T08:15:03Z")

</div>

**[chrigus](https://sourceforge.net/u/chrigus/)** wrote on [Thursday, July 23, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/91041a52/#cf06):

hello  
i try to port the freertos to my at91sam7a3 ek. i took the at91sam7s64&nbsp; 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&nbsp; CODE:[0x00000000,0x0000003F] will not be flashed

who can help me?  
Thanks  
Chris

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [July 23, 2009, 8:25am UTC](https://forums.freertos.org/t/at91sam7a3-port/3256/2 "2009-07-23T08:25:20Z")

</div>

**[davedoors](https://sourceforge.net/u/davedoors/)** wrote on [Thursday, July 23, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/91041a52/#cf06/da3e):

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.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [July 23, 2009, 9:20am UTC](https://forums.freertos.org/t/at91sam7a3-port/3256/3 "2009-07-23T09:20:09Z")

</div>

**[chrigus](https://sourceforge.net/u/chrigus/)** wrote on [Thursday, July 23, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/91041a52/#cf06/da3e/80cb):

but where is the flashing error from? wrong flash config? wrong linker config? my own software and the atmel example programs all work fine.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [July 24, 2009, 6:46am UTC](https://forums.freertos.org/t/at91sam7a3-port/3256/4 "2009-07-24T06:46:02Z")

</div>

**[chrigus](https://sourceforge.net/u/chrigus/)** wrote on [Friday, July 24, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/91041a52/#cf06/061e):

Is there nonbody who has experiences ?

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [July 27, 2009, 9:33am UTC](https://forums.freertos.org/t/at91sam7a3-port/3256/5 "2009-07-27T09:33:13Z")

</div>

**[chrigus](https://sourceforge.net/u/chrigus/)** wrote on [Monday, July 27, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/91041a52/#cf06/485b):

I’m still looking for help with porting freertos to a sam7a3.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [July 27, 2009, 10:37am UTC](https://forums.freertos.org/t/at91sam7a3-port/3256/6 "2009-07-27T10:37:50Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Monday, July 27, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/91041a52/#cf06/485b/1882):

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.&nbsp; If you want a copy then write to me directly at r dot barry [at] [freertos.org](http://freertos.org).

Regards.
