‎2021-04-13 01:43 AM
I want to attch stlink to my raspberry pi platform which runs in aarch64 platform, so that I can debug with STM32CubeIDE. But I cannot find suitable stlink-server which can be worked in aarch64. (Only x64 platform are provided.) Could you compile it for that ? Many thanks. :grinning_face:
Solved! Go to Solution.
‎2021-04-13 09:14 AM
The error: "no support Non-stop mode" could be due to that the feature "Live expressions" is enabled in your debug/launch configuration.
Could you try to disable it and test again?
The live expressions rely on non-stop mode. I don't think we will force the non-stop mode if you un-check that option... Let us know your findings.
The St-link server allows you to connect multiple ST-LINK to one computer. Or to have multiple PC application connect simultaneously to the same ST-LINK (like CubeIDE + CubeMonitor). I dont think this is what you are looking for?
You are simply looking to debug one STM32 usnig one ST-LINK connected to the RPI. And you only expect to be able to connect with CubeIDE (or other IDE/debug front-end) at the time?
If so, you don't need st-link server. Only ST-LINK gdb-server or OpenOCD... Sounds like you already have some progress with this, but stuck on non-stop mode?
‎2021-04-13 05:56 AM
Hi @CChih.1​,
Could you elaborate?
Please describe your use case a bit further :)
‎2021-04-13 06:29 AM
Many thanks.:>
‎2021-04-13 06:38 AM
I have a raspberry running on Centos8 (64bit, aarch64), and an art-pi (STM32H750 MCU) with stlink onboard running with CMSIS RTOS.
Different hosts need to communicate with that art-pi (STM32H750 MCU).
So, I try this way --- a remote stlink-server and different local STM32CubeIDE clients.
‎2021-04-13 09:10 AM
There are a lot of gdb servers that you can compile from source. Bl*ckm*g*c (firmware) runs the gdb server on the dongle and exposes the server as CDC-ACM device.
‎2021-04-13 09:14 AM
The error: "no support Non-stop mode" could be due to that the feature "Live expressions" is enabled in your debug/launch configuration.
Could you try to disable it and test again?
The live expressions rely on non-stop mode. I don't think we will force the non-stop mode if you un-check that option... Let us know your findings.
The St-link server allows you to connect multiple ST-LINK to one computer. Or to have multiple PC application connect simultaneously to the same ST-LINK (like CubeIDE + CubeMonitor). I dont think this is what you are looking for?
You are simply looking to debug one STM32 usnig one ST-LINK connected to the RPI. And you only expect to be able to connect with CubeIDE (or other IDE/debug front-end) at the time?
If so, you don't need st-link server. Only ST-LINK gdb-server or OpenOCD... Sounds like you already have some progress with this, but stuck on non-stop mode?
‎2021-04-13 10:18 PM
Lots of thanks.
I uncheck "live expressions" and make works. (With openocd)
There are 2 problems I tested before.
It works, it works.
Thanks for your answer.
I can debug my art-pi (STM32H750) via Internet now, not only locally.
‎2021-04-13 10:20 PM
By the way, how to close this topic ? :sad_but_relieved_face:
‎2021-04-13 10:29 PM
But I still want to ask ST to compile stlink-server which can be ran on platform aarch64. Thanks.
‎2021-04-13 10:50 PM
There is no per say "close button", but you used the "Select as Best" which is the the closes thing to such button :)