STM32 Nucleo L476RG: Debugger Connection Lost
I try uploading a blank project and receive a message saying the debugger connection is lost. I tried 5 different USB Mini Cables and uploaded successfully to a completely different Nucleo Board (H745ZI-Q).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-15 12:51 AM
This is the message I receive when debugging for the STM32 Nucleo L476RG Board:
STMicroelectronics ST-LINK GDB server. Version 5.8.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
Debugger connection lost.
Shutting down...
What are the next steps in the debug process? I have updated the firmware as it asked and am also using the latest software for the IDE (1.6.1).
Firmware:
Version: V2J37M27
Build: Oct 22 2020 11:30:39
Software:
STM32CubeIDE 1.6.1
So I believe I am using the most up to date software. Thanks in advance!
- Labels:
-
DEBUG
-
STM32CubeIDE
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-21 2:11 AM
Hello there!
This issue seems very similar to another thread that is currently being investigated. I would suggest that you follow that thread and try out the suggestions provided by Mattias to see if you can get some additional information.
You can find that link here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-03 11:48 PM
Download STM32CubeProgrammer, select "Erasing & Programming" on the left, then do a "Full chip erase", problem solved for my case.
