write flash in debug mode

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

write flash in debug mode

426 Views
IlConte
Contributor IV

I use MC9S08PT60 and CW 10.3.

During debug mode with USM multilink, I need to program a flash sector with data value in a S19 file.

My application is at address 0x1040 and i want program the flash from 0x3200 to 0x4000 with Debug active

Using "Flash file to target" is also erased the flash, but i want to wrtite only a flash sector fron 0x3200 to 0x4000 withot delete the other sector in debug mode.

How can i do this ?

 

Thanks

 

Stefano


15168_15168.pngpastedImage_2.png

Labels (1)
0 Kudos
1 Reply

279 Views
BlackNight
NXP Employee
NXP Employee

In your connection configuration you can preserve memory areas.

This article shows how to do this with P&E and CodeWarrior:

http://mcuoneclipse.com/2012/04/27/programming-part-of-flash/

Erich

PS: With KDS and GDB things are different: Preserving Memory Ranges with Eclipse and P&E GDB Server | MCU on Eclipse

0 Kudos