cancel
Showing results for 
Search instead for 
Did you mean: 

''active write protected STM32 device detected''

Merav Stassberg
Associate
Posted on February 14, 2017 at 14:07

Hi, I am working on ST STM32L151VB-A, I burned a loader which already worked for me, and since then I get ''active write protected STM32 device detected'' also on other application that worked fine.

 when I try to connect via J-Link commander I get ''cannot connect to target''.

 as I understand from:

https://community.st.com/external-link.jspa?url=https%3A%2F%2Fwiki.segger.com%2Findex.php%3Ftitle%3DJ-Link_can%2527t_connect_to_the_CPU%3A

''This can have different reasons as for example the application does disable the debug interface, re-configures the debug pins, enters some kind of low-power-mode or the security of the device is activated. In order to prevent such situations during the development process''

is this reversible at all? What can be done?

Thank you!

0690X00000605tIQAQ.png0690X00000606ItQAI.png0690X00000606E4QAI.png
1 ACCEPTED SOLUTION

Accepted Solutions
danilo239955
Associate II
Posted on February 15, 2017 at 11:45

Hi,

If pin BOOT0 is not directly connected to GND you can connect it to VCC in order to  change the boot mode (see reference manual).

BR.

Danilo

View solution in original post

3 REPLIES 3
danilo239955
Associate II
Posted on February 15, 2017 at 11:45

Hi,

If pin BOOT0 is not directly connected to GND you can connect it to VCC in order to  change the boot mode (see reference manual).

BR.

Danilo

Posted on February 15, 2017 at 14:34

Hi,

It worked!!! thank you so much!

chill.11
Associate

I meet same question when using STM32F401RET6, using this way and can programming, but this Application don't run. please help it. thanks.