Bootloader for s32k144

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bootloader for s32k144

Jump to solution
1,099 Views
AnwarSheik
Contributor I

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 

Tags (1)
0 Kudos
1 Solution
1,089 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
2 Replies
1,090 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

0 Kudos
1,063 Views
AnwarSheik
Contributor I
Thanks @lukaszadrapa
the above solution is working
0 Kudos