Deer Team :
I am working on 5744P CAN Bootloader, I used Function Pointer to jump, but the app's clock is interfered with the bootloader' clock . Are there any other ways to jump? Do l need to modify the Startup.s file?
Hi,
what do words (app's clock is interfered with the bootloader' clock) mean in fact. Your application code do new clock init and it hangs on some mode transition or similar? Did you check MC_ME status registers to know there is anything indicating an issue?
If some peripheral was running in bootloader's code, try to disable module and gate off its clock before a jump to application code.
BTW, there is below application note:
https://www.nxp.com/docs/en/application-note/AN5319.pdf
https://www.nxp.com/docs/en/application-note-software/AN5319SW.zip
It's serial bootloader for MPC5748G microcontroller but you can refer to it to see how bootloader/application hangover can be done too.
BR, Petr