2021-06-08 08:42 AM
Hello,
I have an unexpected behavior with a H753ZI board. After a very few steps, I ended up in a situation where PCROP seems to be enabled and RDP level is set to 0. For some reasons, this causes the board to freeze indefinitely, moreover after disconnecting it, it became unresponsive to any action using STM32CubeProgrammer or ST Link Utility.
The symptoms:
How I ended up here:
Since then, the behavior I described before happened and I could not find any way to recover the board in a programmable state. Did I unknowingly follow a sequence of manipulations that set the board in a dead state ? I am still a novice with STM32 products so I may very much have.
Any suggestions are welcome, I am completely out of ideas and desperate. I don't even know how I ended up in such a situation that easily.
Solved! Go to Solution.
2021-06-08 09:04 AM
Strap BOOT0 High and power cycle a few times, need to ensure none of your code is running. Then attempt recovery. If SWD/JTAG connectivity is blocked try USART.
2021-06-08 09:04 AM
Strap BOOT0 High and power cycle a few times, need to ensure none of your code is running. Then attempt recovery. If SWD/JTAG connectivity is blocked try USART.
2021-06-08 12:13 PM
Thanks a lot for your answer. Just to clarify, when you say "strap BOOT0 high", you mean connecting the pins 5 and 7 using a jumper on the CN11 side of the H753ZI board ?
2021-06-09 07:31 AM
yes.
2021-06-10 07:58 AM
Thank you! Strapping BOOT0 high did allow me to connect to the board in "normal" mode. I was then able to perform a full chip erase.
However, the board does not seem recovered yet. I can not introduce new code on it using STM32CubeIDE in debug mode. Moreover, as soon as I set BOOT0 back to 0, all the symptoms I described before come back.
Do you have any idea how I can completely recover the board?
EDIT: it may also help to know that with BOOT0 high, the LED3 of the board is on.
2021-06-11 03:16 AM
Thank you very much @Community member and @Pavel A. for the advice. After a bit more struggle with the option bytes, I finally recovered the board.
For the record, here are the steps I followed to finally disable the PCROP:
After all these steps, the board was ready to be used again.