Skip to main content
Andrew Larkin
Associate III
December 7, 2020
Question

From STM32_Programmer_CLI, how can we cause a Start after programming RDP value to 0xBB?

We use several operations with the CLI tool to configure and program our device. The final operation sets the RDP for code protection.

Following this, we see:

Warning: The core is locked up

This is confirmed by the code not executing (non responsive).

On the dev board, hitting a reset button doesn't seem to clear the problem.

In the product itself, the unit is sealed with battery permanently connected, so power cycle isn't possible.

Have tried adding -s option without success.

Everything works prior to the final step of setting RDP:

STM32_Programmer_CLI -c port=SWD reset=Hwrst freq=8000 -s -ob RDP=187

(187 is 0xBB)

Suggestions?

This topic has been closed for replies.

2 replies

Houda GHABRI
ST Employee
December 25, 2020

Hi @Andrew Larkin​ ,

Can you clarify please which MCU you are using?

Houda

Houda GHABRI
ST Employee
January 15, 2021

Hi @Andrew Larkin​ ,

Can you confirm please if you are still having the same problem?

If so, can you give me the MCU reference?

Houda