FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [May 2009 Threads] AT91SAM7S512 portingPosted 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 portingPosted 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 portingPosted 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...
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|