S32K344 unified bootloader demo,Timer or watchdog causes reset

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

S32K344 unified bootloader demo,Timer or watchdog causes reset

265 次查看
SCoder41
Contributor I

Regarding the issue with the S32K344_maN_bootlloader-RTD2d0 routine,Timer causes reset, program keeps looping in BOOTLOADER-MAIN-INnit function.At first, I thought the program reset was caused by the watchdog, but I commented out the watchdog initialization program and it still reset. But after commenting out the timer initialization function, it will not reset and the program will enter a for loop.But why does the timer cause the program to reset before entering the for loop after completing the BOOTLOADER MAIN INnit function? Is this correct?

0 项奖励
回复
2 回复数

238 次查看
SCoder41
Contributor I

When I commented out the PIT initialization function, the program ran normally.I would like to reiterate that I am using the S32K344_CN_bootlloader-RTD2d0 routine

12.png

0 项奖励
回复

240 次查看
SCoder41
Contributor I

When I keep the initialization function of PIT, the program will encounter problems when running to the BOOTLOADER-MAIN-PrintVersion function.

13.png

11.png

10.png

0 项奖励
回复