2025-03-06 12:01 AM
I bought an arm64 based PC a few months ago and I have been unable to connect to or detect stlink even after installing driver, is there a work around? has anyone successfully been able to use the snapdragon processor with stlink? is there another kind of debugger that works with arm based pc's? your help will be highly appreciated, thanks
2025-03-06 12:27 AM
What OS are you running on this PC ?
@PChat.4 wrote:I have been unable to connect to or detect stlink
You mean it doesn't even show up in Device Manager (or equivalent) ?
Have you seen this:
Also:
2025-03-06 12:35 AM
OpenOCD is available for Linux, and supports the ST-Link.
I'm pretty sure ARM/ARM64 repositories of most distros provide packages.
As far as Windows for ARM is concerned, you will probably depend on ST to release appropriate drivers.
2025-03-06 4:14 PM
Yeah it doesn't even show up but when I use my old version of PC with an AMD processor it detects the stlink is seconds, is it because arm based pc's are not designed to work with stlink?
2025-03-06 4:15 PM
Totally true I guess my arm pc is useless for debugging hardware
2025-03-07 12:44 AM
>... is it because arm based pc's are not designed to work with stlink?
USB is just USB, a serial protocol.
You can try lsusb, and check that your ARM64 device at least lists it.
OpenOCD should come with drivers, and should be available as installable package.
Using Debian/Ubuntu, that would be via apt-get. Other distros user other package management tools.
At least worth a try.
2025-03-07 5:44 AM
@Ozone wrote:USB is just USB, a serial protocol.
But USB hardware differs.
In particular, there are known problems with more recent PC hardware:
(so that would still be nothing to do with CPU architecture)
2025-03-10 1:26 AM
> But USB hardware differs.
But that is usually of no concern to the system on the "other side" of the bus.
On the other hand, that there exist faulty USB drivers for certain devices and OSes is nothing new.
In fact, USB drivers are the most common souce of blue-screens under Windows lately.
And I might remind everybody of the ST-Link V1 device and Windows driver ...
2025-03-10 1:50 AM
@Ozone wrote:But that is usually of no concern to the system on the "other side" of the bus.
But there are documented issues on the PC side - again, see:
FAQ: Possible communication failure between STLINK-V3 and some recent computers
"While the STLINK-V3 is compliant with USB 2.0 and exhibits reliable USB performance across various platforms since several years, the USB communication may fail between an STLINK-V3 and some recent computers"
There have also been various issues noted with some USB Docking Stations - hence these suggestions:
@PChat.4 - have you been through all of these ?
2025-03-10 4:34 AM
> But there are documented issues on the PC side - again, see: ...
Yes, correct. Unfortunately. Especially notebooks with their quick model changes rarely receive driver bugfixes and updates.
> Try other USB ports.
Very much corroborated.
Different USB ports, especially those not "side by side", are often connected to different host controllers and thus different drivers or driver instances.
I very well remember times when one had to install the Microchip PICkit driver firmware for every host controller ...