CodeWarrior 10.6 Erase Flash Config

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

CodeWarrior 10.6 Erase Flash Config

1,093 Views
jinjingyang
NXP Employee
NXP Employee

Dear Sir,

 

Customer is using CW10.6 to develop MPC5606B software.

By default, when we launch the debugger, it will erase all flash and program the elf into MCU.

Can we modify some configurations to make it erase only the specified area of flash and program elf file?

(For example, customer want to keep the bootloader area from 0x00000000~0x00010000 unchanged, and erase/program the flash area after 0x00010000.)

 

Regards,

Jason Yang

Labels (1)
0 Kudos
1 Reply

776 Views
martin_kovar
NXP Employee
NXP Employee

Hello Jason,

yes, there is a feature, which allows to keep some content of flash memory.

Open Debug configuration of your project (flash target) and click Edit

pastedImage_1.png

Choose Advanced Programming Options

pastedImage_2.png

Choose the memory range you do not want to erase during programming.

pastedImage_3.png

Hope it helps.

Regards,

Martin

0 Kudos