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.

Can MSP430Flasher erase info memory only?

I am trying to use MSP430Flasher to program info memory on a cc430 design. I can write to the info memory, but If I try to erase and re-write the info memory (using -e ERASE_SEGMENT), I get a verify error. And it looks like the info memory has not been erased. Are Main, All Unprotected, and ( by unlocking info A and/or BSL) All + Protected the only options I have for erasing memory on a CC430? Or is there some parameter for -e ERASE_SEGMENT that I am missing?

  • Are you able to get an IDE like Code Composer Studio and/or IAR Embedded Workbench to operate correctly?

  • Code composer works fine but there is no option in the debug properties to only erase Info memory. The only selections in CCS are to erase main, main and information , or erase main, information and protected information memory. What I am trying to do is find an application that will only erase and program the information memory. I want to use the info memory for product specific information that is not common, like serial number and calibration data. That is why I was looking at MSP430 Flasher.

  • Timothy Barr said:
    The only selections in CCS are to erase main, main and information , or erase main, information and protected information memory.

    This is because main only or main and info memory are the only hardware options for a mass erase. (protected info memory will be erased or not, based on the additional LOCKA bit)

    If you want to only erase info memory, this requires individual segment erase actions for each info memory segment (or any otehr main memory segment) and this is a completely different thing, slower, different code, and apparently not supported by the IDE.

    YOu can downlaod the free Elprotronic Lite FET-Pro430 software. It has a manual erase function and you can widely configure what to erase and what not, including mass erase of main memory but only part of info memory etc.

  • Hi Timothy,

    I'd like to add to what Jens-Michael said and let you know that if you are hoping to do this in a production environment, you may want to look into the MSP-GANG programmer. In the MSP-GANG software select the "Memory Option" button, and choose "User defined" which will allow you to select specific segments of info memory to erase (without erasing main if you'd like), and you can do this on up to 8 devices at a time.

    Regards,

    Katie

  • Thanks Jens, Elprotronics Lite FET-Pro430 does what I need for the short term.

**Attention** This is a public forum