Bootloader for s32k144

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Bootloader for s32k144

跳至解决方案
1,633 次查看
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 

标记 (1)
0 项奖励
回复
1 解答
1,623 次查看
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 项奖励
回复
2 回复数
1,624 次查看
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 项奖励
回复
1,597 次查看
AnwarSheik
Contributor I
Thanks @lukaszadrapa
the above solution is working
0 项奖励
回复