2015-02-04 03:17 AM
Hi
I want to Write My Own BootLoader on SPC560 but for going to boot mode i have Some Probelms : 1.for going to boot mode in this document (32-bit MCU family built on the embedded Power Architecture) said we should use the FAB and ABS Pin but i want to get a can coomand for downloding like downloading on diagnostic layer . 2.in this document wrote about an internal bootloader but i do not want to use an internal boot please help about this problem if any document exist a bout this issue , please send a link or mail it to me thanks with best regards vanima2015-02-07 12:28 AM
You can create your own bootloader as a normal SPC5Srudio application, give it the option ''Copy in RAM'' that you can see in the platform component.
This way the bootloader is copied from flash in RAM and then it is executed. Executing from RAM allows you to write another application in flash into an higher address, for example 0x10000, and then jump to it. Giovanni2015-02-08 10:18 PM
Hi Giovanni Di Sirio
Thanks so much for your fast response I see this section it's ok but when my bootloader program get the application from serial port how can i wrote these bytes to Flash Section ? I read the documents but i did not find any thing . I don't know why SPC Studio have not any document for progrmming like other compilers .2015-02-09 02:10 AM
Hi,
Flash programming is described in the SPC5xx Reference Manual usually. Giovanni