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.

Erase Flash

Other Parts Discussed in Thread: UNIFLASH

Hello,

  How do I erase the Flaah an a MSP430 using Code Composer Studio v5.5?  I don't want to program the flash with the image, I want to erase the entire flash of the MSP430.

Thanks,

Mark

  • Hi Mark,

    Why not use CCS Uniflash for this purpose? It's very simple to erase with it.

    Regards,

    Gautam

  • Gautam,

      Thanks for the response.  I was hoping to do this within CCS and not have to install another 300 meg package just to erase the Flash.  There has to be a better way, no?

    Regards,

    Mark

  • Hi Mark,

    There's no "Erase Only" option in the CCS Debug perspective.

    Regards,

    Gautam

  • Hi Mark,

    I would use uniflash or the free flash programmer from elprotronic:

    www.elprotronic.com

    Gautam is correct the erase option would be followed by loading of your program in ccs.

    Best Regards,

    Lisa

  • Mark,

    Mark Hicks said:

    Gautam,

      Thanks for the response.  I was hoping to do this within CCS and not have to install another 300 meg package just to erase the Flash.  There has to be a better way, no?

    Note that the UniFlash scripting interface comes with CCS by default

    http://processors.wiki.ti.com/index.php/UniFlash_Quick_Start_Guide#Scripting

    You can use that unless you want to do everything via a UniFlash GUI.

    Thanks

    ki

  • All,

    I wanted to clarify that we don't currently support standalone mass erase operations on MSP430, either in CCS or in UniFlash. Mass erase is supported on other device in CCS and UniFlash (for example, C28x).

    We do have a ClearQuest request to add support for this on MSP430 (SDSCM00049211), which we are currently assessing. Once implemented, the ability to perform a mass erase on Flash memory on MSP430 should be available on both CCS and UniFlash.

    Thanks.

    Ricky

  • Ricky,

      When this feature is implemented, please add an easy means of perform this feat.  I don't want to search through some scripting interface.  I really want a menu item so I can do this.

    Thanks,

    Mark

  • Mark,

    Thanks for the feedback.

    The standard way to implement Flash erase (or any standalone Flash operation) in CCS and UniFlash is by clicking an erase button, available in the On-Chip Flash view after launching a debug session. I'm not sure if we are going to support doing this using a menu item, but do note that having a dedicated On-Chip Flash view allows us to display additional options for the users (for example, erase main only/info memory only, etc.).

    The erase operation will also be available via script (DSS) or command line. Scripting might be a little complicated for your needs, but command line might be useful, since it allows you to erase your MSP device quickly by running a command, without starting CCS GUI at all.

    Thanks,

    Ricky

  • Ricky,

      Okay, that sounds great.  The method of clicking on the erase button (on the On-Chip Flash view) is perfect.  I just did not want it hidden somewhere, but this makes perfect sense.  I know you will not be able to answer this, probably, but any time line when the MSP430 will be supported?  I am sure the MSP430s have been around for a while now.  If there is a ClearQuest request, I am not there are many people who would love to see this feature.

    Thanks,

    Mark

  • Mark,

    I don't have exact timing, but I'm thinking it will probably not make it for the next version of CCS (v6.0), so it will probably be included in the CCS version after v6.0.


    Thanks,

    Ricky

  • Hi Ricky,

    It's now 2017. Was this feature ever added?

    I don't see this button in CCS 7.1.0.00016, but I might be looking in the wrong place.


    Thanks,

    Matt

  • Matt,


    Yes, the feature was added for MSP430. You can find the Erase options/buttons under 'Tools -> Debugger Options -> MSP43x Debugger Options'.

    Let me know if you have additional questions.

    Thanks,

    Ricky