jumping to application with watchdog timer

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

jumping to application with watchdog timer

784件の閲覧回数
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 返答(返信)

726件の閲覧回数
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 件の賞賛
返信

783件の閲覧回数
Prasad_330
Contributor III
Boot loader address - 0x400000
0 件の賞賛
返信