S32K344 unified bootloader demo,Timer or watchdog causes reset

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

S32K344 unified bootloader demo,Timer or watchdog causes reset

417 Views
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 Kudos
Reply
2 Replies

390 Views
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 Kudos
Reply

392 Views
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 Kudos
Reply