Bootloader for s32k144

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bootloader for s32k144

ソリューションへジャンプ
1,178件の閲覧回数
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,168件の閲覧回数
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,169件の閲覧回数
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,142件の閲覧回数
AnwarSheik
Contributor I
Thanks @lukaszadrapa
the above solution is working
0 件の賞賛