Could you please help me to understand the usage of EEMEM in GCC compiler ?
I try to understand why when I compile the above project and program uC without touch EEPROM , the code seems to NOT write initial key sequence as mentioned inside code:
unsigned char EEMEM code1 = 1; unsigned char EEMEM code2 = 2; unsigned char EEMEM code3 = 3; unsigned char EEMEM code4 = 4;
The code is here: (http://jumptuck.com/2010/08/01/g...).
Some colleges help me a lot but it is still not clear for me ... (https://www.avrfreaks.net/forum/...)
In other words I would like for the code to write itself the initial code sequence in EEPROM when it starts.