jumping to application with watchdog timer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

jumping to application with watchdog timer

394 Views
Prasad_330
Contributor III

 I am using S32k324

I have bootloader address - 0x4000

I have application address  - 0x50400

I am using the watchdog timer in my application,  which generates the interrupt when the window time period is expired. Now when the window time period is expired i wanted the program to be executed from the address 0x50400 is it possible ??

I tried it but i am getting hard fault once i jump back 0x50400.

Plz let me know wat are the other parameter that has to taken care.

 

0 Kudos
Reply
2 Replies

336 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Prasad_330,

I understand you don't have any problems jumping to the application for the first time, but you can't jump there once the watchdog expires.

Do you jump there from the ISR() or main()?

Jumping from the handler mode can cause problems.

 

Regards,

Daniel

0 Kudos
Reply

393 Views
Prasad_330
Contributor III
Boot loader address - 0x400000
0 Kudos
Reply