Change "Reset the chip and restart debug session" from Software-Reset to Pin-Reset
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-22 8:14 AM
The "Reset the chip and restart debug session" button in debug mode of the CubeIDE is very useful, but it seems to inject a software restart command.
Is it possible to change that so that a button click toggels low the Reset pin of the ST-Link to trigger a pin reset?
Solved! Go to Solution.
- Labels:
-
DEBUG
-
RESET
-
ST-Link
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-03 6:47 AM
Hi,
Can you try with Openocd debugger and see if it is better ?
Rgds,
Laurent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-03 5:16 AM
Is this something, that maybe a ST employee could answer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-03 6:47 AM
Hi,
Can you try with Openocd debugger and see if it is better ?
Rgds,
Laurent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-08 3:42 AM
//Sry, double post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-08 3:42 AM
Oh nice, that actually did the trick. Very cool, that it helpful.
Is this some general behaviour? Can I write to my mental notes "GDB restarts with software reset" and "OpenOCD restarts with pin reset"?
Or is this depend on some parameters the CubeIDE is parsing to the debugger? Or is it specific to the ST-Link?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-17 1:48 AM
You are correct. The ST-LINK GDB Server performs a system reset by writing to the AIRCR register while OpenOCD toggles the reset pin. Future versions of CubeIDE will add this support for the ST-LINK GDB server as well!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-17 4:32 AM
Great news, thanks for the heads up!
