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.

Failed to erase flash with CC2540

Other Parts Discussed in Thread: CC2540, FLASH-PROGRAMMER, CC2541

Hi,

I am using the CC2540 USB dongle.

I am trying to download my code into the device but I get a "failed to erase flash" message.

I have been working with this device for a long time now, with no problem.

The problem started after single stepping a code that writes to the flash (that worked ok), but the IAR crashed while I did it.

What can I do to solve this problem?

thanks,

Nir.