Skip to main content
SS.29
Associate II
September 15, 2022
Question

stm32 not detected

  • September 15, 2022
  • 14 replies
  • 5396 views

STMicroelectronics ST-LINK GDB server. Version 7.0.0

Copyright (c) 2022, 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

    InitWhile         : Enabled

Target no device found

Error in initializing ST-LINK device.

Reason: No device found on target.

This topic has been closed for replies.

14 replies

ST Technical Moderator
September 15, 2022

Hello @Community member​ 

Could you please provide more details about the issue you are facing (used product, toolchain, example, board ...)?

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
SS.29
SS.29Author
Associate II
September 15, 2022

i am using nucleo board stm32f401re today i interfaced obstacle avoidance sensor with this nucleo board after few seconds the board not responding it showing as not detected i tried to to update the firmware the folder contains fail text file with SWD error some youtube channels mentioned it can be resolved by using stm32 utility by flashing ROM but it was not connecting at all its popping error as

Can not connect to target!

         If you're trying to connect to an STM32W1xx device, please select Normal or HotPlug mode from Target->Settings menu.

17:23:17 : Internal command error

SS.29
SS.29Author
Associate II
September 15, 2022

.

Tesla DeLorean
Guru
September 15, 2022

You wired what up, how?

Perhaps you have damaged the chips or power supply.​

Can you check voltages on the board?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
SS.29
SS.29Author
Associate II
September 15, 2022

How to recover the corrupted stlink