I have chosen a Flash-based Bootloader on a kinetis KV46F256
my bootloader is postionned from 0x0000_0000 to 0x0000 _A000 and I use uart1
The bootloader works well.
the is_boot_pin_asserted() works well
the downloading works well
and the jump to the bootloaded application works well.
When the application downloaded goes in interrupt it goes well also (Timer / I2C etc...)
the VTOR is well positionned.
But when I come bak from interrupt, The program doesn't test the right variable value.
It looks like the instruction are not testing the right variable : The program is coming back on the good address but the variable are not the right tested.
Pb of linker ?
Any Idea ?