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

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

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

1,511 次查看
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 回复

739 次查看
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 项奖励
回复