Debug mode cannot be invoked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-09-14 7:11 AM
Since I flashed the Nucleo-F439ZI board with a firmware, I can neither flash another firmware nor go into debug mode. No error message appears in the console.
What could this be?
Solved! Go to Solution.
- Labels:
-
DEBUG
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-09-14 9:40 PM
I feel like you’re missing some output in a console somewhere. Surely there should be a response of some kind from hitting debug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-09-14 7:57 AM
Perhaps you reassigned the SWD pins. Perhaps you are going into low power modes.
> I can neither flash another firmware nor go into debug mode.
Why not? What happens? Show error messages, screenshots, and/or describe the problem you encounter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-09-14 9:37 PM
Thank you for your answer.
Unfortunately, there is no error message in the console.
The debug window does not open and the microcontroller is still configured with the old firmware.
Is there any way to delete the firmware and set the microcontroller to factory state?
Here you can see my console Output after I pressed the debug button:
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-09-14 9:40 PM
I feel like you’re missing some output in a console somewhere. Surely there should be a response of some kind from hitting debug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-09-14 11:12 PM
Thank you for the hint with the STM32CubeProgrammer.
After completely erasing the chip, I was able to flash a new firmware and switch to debug mode.
Thank you very much for your quick reply.
