jumping to application with watchdog timer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

jumping to application with watchdog timer

787 次查看
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 项奖励
回复
2 回复数

729 次查看
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 项奖励
回复

786 次查看
Prasad_330
Contributor III
Boot loader address - 0x400000
0 项奖励
回复