2024-07-08 10:45 PM
I have completed implementing the Bootloader code in the SPC582B60E1 microcontroller.
But for test cases, when the first code is succesfully uploaded via CAN and when I upload the second code, and if there is any connection error, and the communication breaks, the previous code is completely erased. What need to be done to retain the previous code for in the controller memory as for a backup plan?
Please guide.
2024-07-10 02:32 AM
Hello
i recommend to the RM0403 based on your device
According the chapter 8.3.13
BAF Bootloader
The BAF code includes a way to upload via CAN or UART some code into the system RAM
and execute it. The possibility to execute the Bootloader is conditioned by the Life Cycle
status, which regulates what can or cannot be done according to the stage of the microcontroller
Do not hesitate to check the application
SPC582Bxx_RLA Bootloader Test Application for Discovery
Best Regards
Erwan