cancel
Showing results for 
Search instead for 
Did you mean: 

ST-Link works on one computer but not the other, why

CEmrk.1
Associate

I use Jtag with ST-Link on my computer and tries to erase chip on my PCB. However, it says "read out protect enabled". Now, the thing is, this wasn't enabled before I pressed on "erase chip" within ST-Link, but once I pressed it, it activated it. If I take out my device and run STlink again (without pressing on erase chip), it is set to disabled/level 0 again.

Now, if I try this at my friends computer with the same Jtag, it works without problem to erase my device. So the problem must be within my computer I assume? The question is, what can make this occur on ones computer? So that I can erase my device again.

Same versions of ST-Link is used.

3 REPLIES 3

Drivers, cables, docks or hubs?​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Semer CHERNI
ST Employee

Hello @CEmrk.1​ 

Maybe the issue is with the STLink driver try to reinstall it.

Also I advise you to try using the STM32CubeProgrammer.

Kind Regards,

Semer.

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.

Pavel A.
Evangelist III

Try a powered USB 2.0 hub (not USB 3.x)