2024-09-06 07:47 AM
My V2 is having communication link issues with my STVP. It was running fine and then boom I get hit with a notification that
"Cannot communicate with the device!
Check the SWD cable connection and check all the needed pin connections on the SWD connector.
Reboot the ST-Link with USB cable.
If the device has been programmed with Protection Level 2, no more communication is possible."
What can I do to fix the issue? I am not sure how to reboot the ST-Link with the usb cable nor understand why all of a sudden there would be a protection level on the device. I am sorry I am not very tech savy I have been thrown onto this project.
I did have to install the driver once I noticed the connection issue on the device manager.
Please help.
Solved! Go to Solution.
2024-09-06 09:13 AM
The RDP option byte is set to 0xCC:
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-09-06 08:40 AM
Hello @LostSauceMeatBall and welcome to the ST Community 😊.
If a device is in Protection Level 2, it is not possible to recover the MCU. You should have a new one.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-09-06 08:55 AM
How does a device get a Protection Level 2?
2024-09-06 09:13 AM
The RDP option byte is set to 0xCC:
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-09-06 09:22 AM
Is it something on my PC that causes this or is the chip that I am connecting to that is causing the brick? I have hundreds of units to reprogram, I am now worried I will have to get more of these MCU to finish the job.
2024-09-06 09:33 AM
Typically there needs to be code or action to cause this to occur.
Connectivity loss can result from low power modes being entered, code reconfigures the GPIO pins/banks, interfering with PA13/PA14 or others.
Connected to other circuits, damage could occur rendering the device or supplies unusable.