2024-12-19 11:24 PM
I get a stm32l562e-dk board, when I use the following figure setting to connect to the board and modify nSWBOOT0 bit to 0(TZEN=1). I found that I can not connect to the board using "Hot plug" or "Normal" mode.
whether I FOREVER lost the device? In addition, I also make a "mass erase" operation using stm32cubeprogammer when TZEN=0.
If no lost the device, how to restore connection to the board and adjust the setting in option byte?
BTW, I get the following connection prompt when connecting to PC usb port.
2024-12-20 09:56 AM
Hello @ynliu,
I checked with an empty board. Setting these 2 option bytes does not prevent any connection to the target.
You may have other option bytes also set that lead to this behaviour, like RDP for instance.
If you have RDP level 1 set, with TrustZone enabled, you can only connect if firmware is jumping to non secure.
Best regards
Jocelyn