MPC5744P CAN Bootloader ,How to jump to application ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5744P CAN Bootloader ,How to jump to application ?

1,128 次查看
ChenBowen
Contributor II

 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?  

0 项奖励
回复
1 回复

1,117 次查看
PetrS
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复