This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Placing Constant data in Internal flash by specifying explicit address

Hi Group,

I am developing firmware for LPC1756 ARM Cortex-M3 processor, where I want to place my constant data into the internal flash(code memory) by specifying the address explicitly.

For example,

#define MyValue (*(volatile unsigned char *)(0x00001000))
MyValue = 10;

Here 0x00001000 is Internal Flash address, is it possible to access the Code memory directly by the C code or is there any commands available for it in ARM Compilers. Please suggest/advise me with your experience to satisfy the above requirement.

Regards,
Vijay

0