2023-10-11 01:02 AM
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:
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~
2024-01-25 12:36 AM
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.
2024-01-25 01:01 AM
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