cancel
Showing results for 
Search instead for 
Did you mean: 

Can st-link be configured in STN32CubeIDE?

OGonz.2
Associate

My target is STM32F103C8T6. My project works when I generate a .bin file and upload it using the stand-alone st-link utility configured as "connect under reset". I cannot upload directly from the IDE, I get the errors:

-----------------------------------------

Target no device found

Error in initializing ST-LINK device.

Reason: No device found on target.

--------------------------------------------------

Any tutorials on how to configure st-link in STM32CubeIDE?

Thank you!

3 REPLIES 3
VGANE
Associate

I am also looking for an answer on this topic. Were you able to successfully perform Debug using ST-LINK GDB SERVER?

I'm also getting the above error. Please let me know you are able to program the target through STM32CUBEIDE?

MikeDB
Lead

I never found a way so have been using an external utility.

Steve
Associate

I have a sample problem.

I'm using NUCLEO-F103RB with STM32CubeIDE V1.0.1

STMicroelectronics ST-LINK GDB server. Version 5.2.3

Copyright (c) 2019, STMicroelectronics. All rights reserved.

Starting server with the following options:

    Persistent Mode      : Disabled

    Logging Level       : 1

    Listen Port Number     : 61234

    Status Refresh Delay    : 15s

    Verbose Mode        : Disabled

    SWD Debug         : Enabled

Target no device found

Error in initializing ST-LINK device.

Reason: No device found on target.