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.

CC2540 Locking the Debug Flash Pages

Other Parts Discussed in Thread: CC2540, CC2541

Hello Team,

I have a customer who is trying to figure out how to properly lock the flash pages using the debug flash bit on the CC2540. They have tried writing 0x7FFFFFFF to different addresses with no success. I believe they are either writing to the wrong address or not properly restarting the device.

What's the correct address they need to write to?

Also, how should they reset the board? So far they did a watchdog reset, should they fully restart the board?

Any sample code will be useful as well.

Regards,

Dorian