Skip to main content
OGonz.2
Associate
June 2, 2019
Question

Can st-link be configured in STN32CubeIDE?

  • June 2, 2019
  • 3 replies
  • 1044 views

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!

This topic has been closed for replies.

3 replies

VGANE
Visitor II
June 8, 2019

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
Senior II
June 10, 2019

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

Steve
Visitor II
June 24, 2019

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.