Watchdog Timer not resetting uC after a jump from bootloader to application

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

Watchdog Timer not resetting uC after a jump from bootloader to application

405 次查看
himonkoch
Contributor III

I have built a bootloader that sits in the address 0x00400000. It is responsible to jump to the application code in case present, or wait for a download of said application. The application sits in memory address 0x00500000.

I have employed a watchdog timer in the bootloader that will start right before the jump to address 0x00500000 and will be reset continuously in the application code. The idea is that in case of a faulty jump that results in the uC getting stuck the watchdog timer must go off and reset the uC back to bootloader.

To test this feature I generated a dummy application bin file consisting of 0xFF throughout so it should not run and hence not reset the watchdog timer. So upon flashing this binary file the watchdog timer must timeout and take me back to the bootloader. However it is not working and I am stuck at address 0x00500000.

What could be done to resolve this?

 

#S32K312

标记 (3)
0 项奖励
回复
0 回复数