We adopt proide MPC5634M chips and MPC5643L, before the upgrade way too trival, want to change for IAP upgrade through CAN bus. (In Application Programming)
The current plan is: the underlying bootloader + upper user program + PC computer, electricity run bootloader that waiting for 500 ms, if not received
Hi,
you can take a look at this draft of application note written for MPC5634M:
https://community.nxp.com/servlet/JiveServlet/download/427962-1-279359/bootloader.zip
It describes basic principles how to write bootloader and user application.
This is updated version for MPC5748G:
http://www.nxp.com/files/microcontrollers/doc/app_note/AN5319.pdf
http://www.nxp.com/files/microcontrollers/doc/app_note/AN5319SW.zip
If you jump from bootloader to user application and the interrupts are already initialized/enabled, it is important to disable them before jump. I have described it here:
https://community.nxp.com/message/807376?commentID=807376#comment-807376
or here:
https://community.nxp.com/message/605376?commentID=605376#comment-605376
Regards,
Lukas