2022-01-18 06:38 AM
Hi,
I tried to set the read protection to level 1 (the one where we should be able to wipe out everything) .
But after that i can't get no connection anymore with STM32IDE , ST-link or any tool. Connection is completely broke.
Before changing this level, i have programmed the chip a dozen times succesfully.
In these time of chip scarcity we don't have the option to replace the chip and find out why this is happening, so we hope that someone know what is happening?
I was thinking that maybe some debug port pins changed function, but why would this change with only setting a read protection bit?
2022-01-18 07:15 AM
> can't get no connection anymore
What does this mean? What specific error message do you get when you try to connect with STM32CubeProgrammer? Does it show target voltage?
2022-01-19 05:34 AM
Hi , i did not mention yet, because there is nothing changed at hardware or connections, the problem occured just after setting level 1 read protection.
to answer your questions
this is the error in IDE
Error in final launch sequence:
Failed to start GDB server
Failed to start GDB server
Error in initializing ST-LINK device.
Reason: (4) No device found on target.
With the programmer
2022-01-19 06:59 AM
Did you reassign SWD pins? Might try to connect under reset. Verify power rails and current draw is as expected. Seems like a hardware issue somewhere, check for loose connections, poor soldering.