Hey, I made a new Section for loading configuration.
When the section is:
-Wl,--section-start=.configSec=0xa000
and the loading code is:
#define CONFIG_SECTION_ADDRESS 0xa000 memcpy_P(&config_block,(void *) CONFIG_SECTION_ADDRESS, sizeof(struct cnf_blk));
everything works good.
but if I change the address of the .configSec over 0xffff, it doesn't work, why?
I have a Xmega256a3u device, how can I set it to (0x00019000) in the flash memory?