Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

ARM Cortex-M: Locked/secured device

01-Jun-2023

Possible solution

1. Select Debug / Prepare to Attach.

2. If using Hot Attach, follow the Hot Attach procedure to safely attach to the Target. 

3. Select Hardware / Scripts / Unsecure (can also be Chip Erase or similar).

This operation needs JTAG/SWD debug port to be accessible. Devices, where debug port, is deactivated when secured, cannot be recovered this way. Only available in winIDEA on selected devices: EFM32, Kinetis, Atmel, S32K, LPC546xx, nRF52.

This is a special command for Cortex-M that uses available low-level debug functionality in the target CPU to remove the protection programmed into internal FLASH. This operation erases internal memory and therefore prevents protected code to be read by a third party. Unsecure enables you to regain use of the chip which might get secured unintentionally during application development.

Was this answer helpful?

Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.

Similar topics

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No similar topics found!

Other topics in the same category

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!