|ARM Technical Support Knowledge Articles|
Applies to: C166 C Compiler
Information in this article applies to:
I use off-chip non-volatile RAM on the C164 microcontroller to save calibration parameters. I need to keep those values safe in memory even in case of software modification.
How can I store a few variables at a fixed memory location? The location must remain at the same place even when I change my software, so that several software revisions use the same configuration data.
The C166 Compiler offers several directives that are required for this:
An example that is almost identical to your requirement is in the Getting Started User's Guide, under Creating Applications, Tips and Tricks, Locate Sections to Absolute Memory Locations.
Article last edited on: 2005-07-15 10:00:26
Did you find this article helpful? Yes No
How can we improve this article?