Skip to main content
Visitor II
October 8, 2026
Question

when i connect my nucleo-WL55JC1 to my pc to flash/debug my program via usb cable it gets in to a loop of connect - disconnect rapidly

Hellow everyone,

 

i am facing this issue that when  connect my nulceo-WL55JC1 with perfectly working cable to my PC it rapidly connects and disconnects again and again 

i tried to update its driver and mass erase but it connect and disconnects so fast i am not able to do it and i read its quick guide and all the jumpers are in its place 

once is tried to upload the code to it and in between it got connect the again disconnect some behavior every time.

 

 

This is the log when is was able to upload the code on it :

STMicroelectronics ST-LINK GDB server. Version 5.7.0
Copyright (c) 2020, 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

Waiting for debugger connection...
Debugger connected
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.6.0-RC3                  
      -------------------------------------------------------------------

ST-Link Server is running on port : 7184
ST-LINK SN  : 002F00253431511931343632
ST-LINK FW  : V3J7M3
Board       : NUCLEO-WL55JC
Voltage     : 3.27V
SWD freq    : 12000 KHz
Connect mode: Under Reset
Reset mode  : Hardware reset
Device ID   : 0x497
Revision ID : Rev Y
Device name : STM32WLxx
Flash size  : 256 KBytes
Device type : MCU
Device CPU  : Cortex-M4

 

Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_a15256.srec
  File          : ST-LINK_GDB_server_a15256.srec
  Size          : 46448 Bytes
  Address       : 0x08000000 


Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 22]
Download in Progress:


File download complete
Time elapsed during download operation: 00:00:01.265

 

Verifying ...

 


Download verified successfully 


Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Debugger connection lost.
Shutting down...

1 reply

ST Technical Moderator
October 15, 2026

Hello ​@soham ,

Verify all physical connections, such as: USB cables and connectors, and try using a different USB port or cable (Use data connections cable and NOT low-quality charger cable).

Please update and use the latest release of STM32CubeProgrammer v2.23 (instead of 2.6 version).

Make sure also to update the ST-LINK firmware.

Check and follow this article for such issues, that may help: 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks