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
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
Choose Advanced Programming Options
Choose the memory range you do not want to erase during programming.
Hope it helps.
Regards,
Martin