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.

LAUNCHXL-F28069M: C28xx: Flash Programmer: Device is locked or not connected. Operation cancelled.

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: TMS320F28069, UNIFLASH

Tool/software:

Hi all,

I'm using Code Composer Studio (CCS) 20.1.1 and working with the proj_lab01 example. My target device is a TMS320F28069, and I'm using the default F28069M.cmd linker command file.

However, when I try to program the device to Flash, I consistently receive the following error:


```

C28xx: Flash Programmer: Device is locked or not connected. Operation cancelled.
C28xx: File Loader: Memory write failed: Unknown error

```
Additionally, any attempt to erase flash sectors in UniFlash results in the same error message.


If I launch a project-less debug session, I can connect to the target, but the memory view shows only ?? in every address.

While trying to read the momory using UniFlash, I can se the following:



If the device is actually locked, how can I confirm this? in that case Is there a way to unlock the device?