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.

MSP432P401R: Debug Erase Options - By Address Range

Part Number: MSP432P401R

Is the option to erase by address range not actually supported on the MSP432? When I open the target configuration, the option itself is available but there are no fields to actually enter an address range. I found a couple of threads asking the same question, but there was never a direct answer and only workarounds were proposed.

We are storing a number of product parameters within the main flash memory section (we are intentionally not using the information memory section) and it would help us greatly to be able to update the firmware without wiping out those parameters.

  • Hi Derrick,

    I see what you mean. In the following thread, David Lara confirmed that this feature was not available in Code Composer Studio (CCS) version. I see that hasn't changed in the latest version of CCS. I'm assuming that the "By Address Range" option for the USB1 debugger option (MSP-FET) was just overlooked when the address fields were originally removed from the original MSP430 settings in CCS (assumed). For now, you could try to use the "Erase and download necessary segments only" option.

    CCS/MSP432P401R: Erase memory when downloading with CCS

    I can't think of another tool that would allow you to erase a specific address range on MSP432. Unfortunately, UniFlash doesn't support this and there's not a MSP432 alternative for MSP430-FLASHER.

    Perhaps the product parameters can be included inside your code as constants and/or you could add another psuedo-INFO memory section in the linker file. CCS should reference the linker file to know where Main memory is defined and only erase that region (assuming the boundaries don't cross sectors). Personally, I have not done this before but it seems possible.

    MSP432P401M: stored variables in msp432 flash memory