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/TMS320F28335: Is it possible to completely wipe a locked processor?

Part Number: TMS320F28335

Tool/software: Code Composer Studio

Hi,

I am developing software on TMS320F28335 and its flash got locked, not completely sure how did it get locked. And I am not able to unlock it. So I am unable to flash code into controller.

My question is, is it possible to completely wipe flash, because that seems like the easiest solution (because I am developing software). Or is there an easy way to unlock it?

  • Darko,
    Unfortunately once a device is locked with a CSM password it cannot be erased unless it is unlocked by providing that password back to the key registers.

    One thing I would check is inside of CCS if you right click the .ccxml for your target it will bring up a dialog box. You could check under flash settings if there are non FFFF keys programmed from a previous run(just in case someone else did program the CSM).

    Otherwise there may have been a power fault or code interruptions during previous flash programming that could have corrupted the CSM contents, in which case your only alternative would be to get a fresh MCU and replace the existing once.

    Best,
    Matthew