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.

CC2541DK-MINI:

Part Number: CC2541DK-MINI
Other Parts Discussed in Thread: CC2541, CC-DEBUGGER, UNIFLASH

I am using the CC2541 with a CC-Debugger and IAR embedded workbench to write firmware. On one of the devices, the code flashes correctly. One of my other devices, I get the error "This device has been locked for debugging. To enable debugging and continue with download, the device need to be erase." When I click OK to continue, it does not erase. Is there a way to erase the flash?