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.
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