some problems on the bootloader with the RTOS on the platform of S32K146

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

some problems on the bootloader with the RTOS on the platform of S32K146

1,004 Views
walter_zhang
Contributor I

Hello NXP team, I use RTOS in the bootloader of s32k146 ,but in the test when the bootloader jumps into the app, the app receives the upgrade information through the serial port and resets into the bootloader. If the serial port interrupt is triggered again in the bootloader, the program will run away , and power on reset can not solve this problem and will trigger other interrupts. Could you please help me analysis this problem? Thank you very much.

0 Kudos
Reply
1 Reply

957 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Walter,

I will re-use my recommendation posted here:

https://community.nxp.com/thread/537315#comment-1341598 

Based on your description, it looks like you jump from bootloader to app (or maybe also in opposite direction) with no complete de-init or not via reset, so it may cause a lot of troubles. This should be the start point.

I'm not really sure about the mentioned power on reset. This would require some extensive debugging and much more details.

Regards,

Lukas

0 Kudos
Reply