CodeWarrior 10.6 Erase Flash Config

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

CodeWarrior 10.6 Erase Flash Config

1,121 次查看
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

标签 (1)
0 项奖励
1 回复

804 次查看
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 项奖励