how to prevent mass erase with inDART-one in debug mode ?

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

how to prevent mass erase with inDART-one in debug mode ?

1,514件の閲覧回数
daviid00
Contributor I

Hi,

 

I am programming a MC9S12DT128 under CodeWarrior 4.7, IDE 5.9.0. I have a Softec inDART-one debugger. I have noticed that prior to loading the new program, a mass erase is performed. Is it possible to prevent that ? I want to keep my bootloader located at 0xC000.

 

I have seen in the inDART user manual that IPL_GetDefaultProgrammingSteps() and IPL_SetProgrammingSteps() can change the programming steps. Problem is I don't know how to interface this with CodeWarrior. I guess the Softec_HCS12_Preload.cmd needs to be edited but there is no documentation availbale.

 

Any help on that would be appreciate.

ラベル(1)
0 件の賞賛
返信
1 返信

742件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello daviid00,

 

you can try to backup the content of specified section of memory each time you run the

debugger (mass erase occurs) and reprogram the section after mass erase using debugger scripts.

See e.g.

 

http://forums.freescale.com/freescale/board/message?board.id=CW816COMM&thread.id=1098&view=by_date_a...

 

Stanish

0 件の賞賛
返信