kinetis KV4x return of interrupt lost with a flash based bootloader

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

kinetis KV4x return of interrupt lost with a flash based bootloader

835件の閲覧回数
merigotbertrand
Contributor III

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 ?

1 返信

746件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

Hello Merigot,

I don't think the change of the value is due to the bootloader since the routine to enter the application looks good, for example, if you're debugging the application the variable that you're changing in the interruption has the same memory allocation? 

Let me know your findings.

Best Regards,

Alexis Andalon