Hi again,To be a bit more precise, reservibg the first 16kB (first sector) and placing there only the vector table can be done by replacing th eline that says
. = ALIGN(4);at the end of the .isr_vector section by
. = ALIGN(0x4000);. Then add a 32kB section for your EEPROM emulation before the .text section or align to 64kB and use the last two 16kB sectors for your EEPROM emulation...