2016-04-26 02:30 AM
hi st,
I want to program spc560p40 through flexcan, and on every start-up the program can be upgraded.I plan to store the boot code into falsh sector 0, and application code into other sectors. However I am not clear how should I configure?So, is there some example or descrition?Thanks. #bootloader2016-04-27 08:03 PM
Hi,
anyone can help me? thanks.2016-04-28 01:19 AM
Hello Michael ,
you can use Chapter 33 in the RM046you have to use Serial Boot (SBL) configuration by FlexCAN.(Chapter 33.6) Best regards Erwan2016-04-28 03:51 AM
Hi Erwan,
FAB and ABS pins have to be configured when using BAM, so I do not use BAM.What I want to do is like this: in flash sector0, bootloader code is stored. when power on, bootloader code is executed to check if upgrade is needed, if yes, bootloader receives data from PC and store them in flash sector1, if no, bootloadr jumps to sector1 to execute the application code.Now the bootloader project and application project are verified separately. But when I progam the app code into flash sector1 through bootloader,the app can not operate.Do you have similar example or anything advice?thanks.