AnsweredAssumed Answered

SPC5634M CNA online debugging programming demo code or application programming method

Question asked by JACK li on Dec 4, 2016
Latest reply on Dec 5, 2016 by Lukas Zadrapa

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

CAN upgrade message, then jump into the user program;To upgrade the CAN message if received, erasing the user program, and will receive the new program written to the user
Application area, after the completion of the upgrade to jump to the new user and run the program.Bootloader via a serial port to the corresponding area in factory, the user can be in the factory or site
To upgrade online.


Because the two layers of structure need different interrupt to scale, we don't know how to define, so the program always crash when to jump.
Now hope to get your help, can offer some Suggestions in view of the present scheme, or to provide your company's reference.
Thank you very much.