S32K344 uds bootloader fail check

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

S32K344 uds bootloader fail check

210 Views
dsantxez
Contributor III

Hi there,

I have been playing with the UDS bootloader demo application and I am able to upload my programs through UDS CAN perfectly.

Now I want to add a failsafe case in the bootloader in case the upload process went wrong or bin file is corrupted or something.

I have seen that the Bootloader checks the reset reason. Is there a possibility to set a watchdog at bootloader level before jumping so that the application has to feed or disable it in order to continue working correctly and in the case it doesn't to go back to bootloader and stay there?

As far as I have seen, there is only 1 watchdog at s32K344 level at it is used to reset the main app to go to bootloader.

I have seen the HSE option but I don't need the A/B swap option (my app is too big), however, I don't know if there is something similar that can achieve the same effect.

 

0 Replies