Quality RTOS & Embedded Software

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




Loading

AT91SAM7S512 porting

Posted by avi asaf on May 26, 2009
hi all,

i am trying to port my free-rtos to AT91SAM7S512,

but i have still got problem while i am defining the the linker options, mapping the RAM and ROM regions.

below is the mapping i have tried:

/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x00000100;
define symbol __ICFEDIT_region_ROM_end__ = 0x0007FFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x00200000;
define symbol __ICFEDIT_region_RAM_end__ = 0x0020FFFF;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x400;
define symbol __ICFEDIT_size_svcstack__ = 0x100;
define symbol __ICFEDIT_size_irqstack__ = 0x100;
define symbol __ICFEDIT_size_fiqstack__ = 0x40;
define symbol __ICFEDIT_size_undstack__ = 0x40;
define symbol __ICFEDIT_size_abtstack__ = 0x40;
define symbol __ICFEDIT_size_heap__ = 0x400;
/**** End of ICF editor section. ###ICF###*/

also,
i defined const buff of 300K in order to check my mapping definitions

and I saw (in the debugger )that this buffer start from address 0x100 and go on,
but some of its content (from addresss 0x100 to 0x2500) has destroyed the deafualt value of 0xcd.

did any one deal before with this kind of problem?


RE: AT91SAM7S512 porting

Posted by Dave on May 26, 2009
Which compiler is this? Which demo are you using as a base?

Moving to a larger SAM7 device should (ha ha) just be a case of increasing the length of the flash and ram in the linker file and leaving everything else the same.

RE: AT91SAM7S512 porting

Posted by avi asaf on May 26, 2009
hi,

i am using IAR workbench 5.3

the demo that i use is based on the demo that i have download for a at91sams64

well,

i have already tried to increase to memory regions but it is not working...


[ 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