I just got my bootloader for a xmega128a1 device running but there is one thing that is not working. Like in another bootloader for a mega1280 I'd like to have the option to trigger the bootloader from within the code. So in my mega1280 project I set my flag in eeprom which activates the bootloader and then just jump to the bootloader section with this :
void (*boot)(void)=0xF000; boot();
with the xmega (and address 0x10000) this doesn't work. I also tried to set the EIND = 0 but no difference. Did I miss something there in the datasheet, or can anyone explain what's wrong ?
Thanks a lot,