2024-12-26 12:51 AM
I downloaded FP-SNS-ALLMEMS2 to test sensors with STEVAL-STLKT01 and I installed STM32CubeIDE for the first time. I'm trying to test this project on STM32CubeIDE(Version: 1.17.0). But when I build and run, I get the message "No ST-LINK detected! Please connect ST-LINK and restart the debug session."
I tested both ST-LINK (OpenOCD) and ST-LINK (ST-LINK GDB server) in Debug Configuration, but they don't work. I don't know if it's a server problem or what's missing.
ST-LINK(V2, F/W: V2J42S7) is connected well in STM32CubeProgrammer.
I need your help.
Thank you in advance.
2024-12-26 01:09 AM
Hello @Joowan ,
Ensure that the ST-LINK firmware is up to date.
Check USB cables, try using a different USB port or data cable (not a charging cable).
2024-12-26 01:27 AM
Thanks for your reply. I have confirmed that ST-LINK is connected well with STM32CubeProgrammer by doing what you said. However, it is not connected with STM32CubeIDE.
2024-12-26 02:16 AM
So show, what you setup in debug in IDE....
2024-12-26 03:14 AM
I've attached the setup below.
I tested both ST-LINK (OpenOCD) and ST-LINK (ST-LINK GDB server) in Debug Configuration, but they don't work.
2024-12-27 12:31 AM
I couldn't log in, because STM server not responding....so now seems working again.
Try with debug option for selecting a certain st-link/SN , try: scan , to see what he can find.
You should see your st-link SN and fix it to use this.