cancel
Showing results for 
Search instead for 
Did you mean: 

after change the RDP of FLASH from lv0 to lv1, the target could not be detected on NUCLEO-C031C6

bvd
Associate II

hello:

as mentions on title,

my target board is NUCLEO-C031C6. and I change the read protection level of flash from 0 to 1(0xAA to 0xBB) by STM32CubeProgrammer.

after that, the target board can not be connect any more.(keil c/ cubeMX/ cubeProgrammer/ ST-Link Utility...)

the error message is as below:

bvd_0-1697010612153.png

 

I have read related issues on forums and tried some methods from forum, ...like change [reset mode], [mode], or hold reset button and release followed by click [connect]...!

however that doesn't seem to be helpful for my situation.

any other advice will be very appreciate,

thanks~

 

11 REPLIES 11
FArdi.1
Associate III

This means my boards are unrecoverable because I never prepare to access DBG_SWEN register in my application.

I'm expecting this information to be mentioned near the BOOT_LOCK .

 

My understanding of "debug capability disable" was unable to debug during runtime, but should always be able to connect under reset. But that's not the case.

 

 

 

Jocelyn RICARD
ST Employee

Hello @FArdi.1 ,

I'm sorry that you bricked your board. I agree the RM should add a warning about this. I will ask for it.

This BOOT_LOCK mechanism is an improvement of the security achieved while staying in RDP Level1.

Best regards

Jocelyn