cancel
Showing results for 
Search instead for 
Did you mean: 

Arm64 with Snapdragon X plus process unable to detect st link

PChat.4
Associate II

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

17 REPLIES 17

Do you have ST-Link v2 or v3 ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

The OS is windows 11

I don't use Linux, I use windows the USB doesn't even show up, but if I connect a flash drive or any other usb they show up

> ... I use windows the USB doesn't even show up, ...

Could you clarify that ?
I suppose the ARM  Windows version has the same "device manager" as the x86 version.
There should appear an "unknown" USB device.

And, there are 'wmic' & 'pnputil' available on the commandline, and 'Get-PnpDevice' on the powershell.

For the rest - which is drivers - you depend on M$ and/or ST.

>...but if I connect a flash drive or any other usb they show up

A ST-Link doesn't "show up" on a x86 Windows PC either until you install ST's driver.

PChat.4
Associate II

To my surprise I connected the stlink to my arm64 snapdragon processor it worked like a champ, I don't know how but it works now after struggling for 3 months hahahahahahaha

Had Windows done an update?

As previously noted, other connected devices can affect this - so maybe it just happened that you hit the "right" combination ...

But, if it's fixed now, you can mark the solution:

https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
PChat.4
Associate II

After a few tries my arm64 PC can detect and connect to stlink, but sometimes while debugging using stm32cubeide the software just suddenly freezes, what could be causing this?

PChat4_0-1741942903445.png

 

sometimes while debugging using stm32cubeide the software just suddenly freezes, what could be causing this?

Imagine that someone else asked you this question.

* Do you have enough information to answer?

* What would you tell that person?