We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
When using the IAP routines built in to the Cortex-M3, the routines use specific regions of RAM which should not be used by my application. How can I configure the compiler/linker to avoid using specific regions in RAM? Also, how can I do the same thing with specific regions of ROM?
Thanks
--Amr
I am not sure about the IAP part, but as far as specifying specific ROM/RAM regions to files or group of files....
1. Define RAM and ROM regions in "Options for Target-->Target" 2. Later for every file or a file group open the Memory Assignment Dialog ( mostly by right clicking ) and then specify the regions define above for Code/Const, ZI and other.
Useful links...
1. http://www.keil.com/support/man/docs/uv4/uv4_ca_tool_options.htm 2. http://www.keil.com/support/man/docs/uv4/uv4_ca_filegrp_att.htm 3. www.keil.com/.../uv4_ca_file_group_optns.htm
Hi Phani,
Thanks for your reply. I'm not really sure that the links you provided can solve my problem. How can this allow me to reserve various blocks of ROM/RAM? The "Target" tab only allows you to declare two blocks of internal RAM/ROM. I'm guessing that I can use that to declare two, separate blocks of RAM and ROM and the gap between them would be reserved. But that doesn't allow me to reserve several, non-consecutive blocks from RAM/ROM. How can I do that?