Hi,
I am noobie trying to write a bootloader for s32k144 using can communication.
I successfully relocated the vector table from 0x00000000 to 0x00008000 of the application code
The problem is i dont know how to write the bootloader code without erasing the application code
i am using s32kds for arm ide, when ever i tried to flash the bootloader code it is erasing the entire flash including my application code placed at 0x00008000.
i want to place the bootloader 0x00000000 and application at 0x00008000 please guide me how to do this
@JozefKozon @jann_ @guoweisun @TomasVaverka
已解决! 转到解答。
Hi Anwar,
if you need to keep some memory content during the programming by S32DS, there's a nice article from Erich Styger:
https://mcuoneclipse.com/2014/07/13/preserving-memory-ranges-with-eclipse-and-pe-gdb-server/
In short, you need to go to Debug Configurations, here select PEmicro Debugger tab and then click on Advanced Options. In that window you can set Preserve areas.
Regards
Lukas
Hi Anwar,
if you need to keep some memory content during the programming by S32DS, there's a nice article from Erich Styger:
https://mcuoneclipse.com/2014/07/13/preserving-memory-ranges-with-eclipse-and-pe-gdb-server/
In short, you need to go to Debug Configurations, here select PEmicro Debugger tab and then click on Advanced Options. In that window you can set Preserve areas.
Regards
Lukas