Quick Links
ARM Linker, Placing variables in memory, special cases
#1
Posted 20 April 2011 - 11:15 AM
I have a special requirement, that No variables should be placed at the last two bytes of every 256 Bytes block of RAM or Data area of Flash. Please help me how to achieve this with ARM linker\Compiler options.
#2
Posted 07 May 2011 - 08:37 AM
#3
Posted 12 May 2011 - 07:31 AM
<<why do you want to reserver that two bytes>>
I am writing some security applications, where i need to store the 2 Byte CRC of every RAM and Flash Data pages at the end of every Pages ( 1 Page = 256 Bytes). for that linker should not map any variable at the last two bytes of every 256 Byte block.
regards,
junaid
#4
Posted 12 May 2011 - 07:35 AM
Jerry Fan, on 07 May 2011 - 08:37 AM, said:
Hi Jerry Fan,
<<why do you want to reserver that two bytes>>
I am writing some security applications, where i need to store the 2 Byte CRC of every RAM and Flash Data pages at the end of every Pages ( 1 Page = 256 Bytes). for that linker should not map any variable at the last two bytes of every 256 Byte block.
regards,
junaid














