This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS On-chip flash Programmer: Do not erase/program/verify a certain flash section?

Hi all,

I would like to put a bootloader into FLASHA section that should not be programmed on a normal programming operation.

In the flash programmer plugin, there is the possibility to select what sections are erased. Unfortunately they are still programmed and verified.

Is there a way to avoid erase, program and verify for a section although code for this section is in the outfile?

  • There is no way to tell the plug-in not to do this.  As you have observed it wants to program and verify everything in the .out file.   But if the data/code in sector A has not changed then reprogramming and verifying it will have no ill effects. 

    One thought I have is to have two linker files - one with these sections in sector A as marked noload.  You can then create two build configurations - one that uses the linker file with the section and one that has the linker file with the section marked as noload.

    -Lori

  • Thanks, Lori, the "noload" idea (in combination with not erasing sector A) works for me.