Launch a function automatically when program stops at a breakpoint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-13 3:28 AM - last edited on ‎2025-01-28 2:10 AM by Andrew Neil
Hi, I would like to launch a function automatically when my program stops after a breakpoint.
I work on motor control application and it is recommanded to disable PWM channel before a breakpoint.
How I do configure cubeide ? thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-22 1:11 AM
Yes, you're right. I overlooked RM0090 and only looked at RM0390 which describes STM32F446xx devices. Sorry. Indeed, I do not see any easy rule to determine whether the feature is present on a given MCU.
Fred.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-22 2:27 AM
Should be possible, see https://sourceware.org/gdb/current/onlinedocs/gdb.html/Break-Commands.html#Break-Commands.
hth
KnarfB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-22 4:58 AM
I see. Thanks Fred.
Jan
@Fred V.​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-22 5:17 AM
@KnarfB​ ,
nice, thanks!
Jan

- « Previous
-
- 1
- 2
- Next »