cancel
Showing results for 
Search instead for 
Did you mean: 

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

Andrew Larkin
Associate III

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?

2 REPLIES 2
Houda GHABRI
ST Employee

Hi @Andrew Larkin​ ,

Can you clarify please which MCU you are using?

Houda

Houda GHABRI
ST Employee

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