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

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

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

1,017 Views
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.

Labels (1)
0 Kudos
1 Reply

245 Views
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 Kudos