assign value to flash memory

Hi Guys

How am i able to assign values to a variable i have stored in flash so that it is included in the hex file?

For example: i have declared a variable
volatile unsigned char code err_msgs[10][20] _at_ FLASHSTART;

but cannot assign an initial value to it and have to write it's value to flash when my program starts.

Xarion

Parents Reply Children
No data
More questions in this forum