Hardware and Software Debug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 1:04 PM
Can somebody explain what is the hardware and software breakpoint ?
When I add a breakpoint in STM32CubeIDE, what is the type of this breakpoint ?
What is the difference between these two?
Solved! Go to Solution.
- Labels:
-
ST boards
-
ST-Link
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 1:18 PM
Hardware is where the FPB/DWT are trapping based on address access within the memory space.
Software would be where you're physically placing a BKPT instruction into the execution path.
Typically you're using the former, as it doesn't change your code.
https://developer.arm.com/documentation/100166/0001/Debug/Flash-Patch-and-Breakpoint-Unit--FPB-
https://stackoverflow.com/questions/11345371/how-do-i-set-a-software-breakpoint-on-an-arm-processor
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 1:18 PM
Hardware is where the FPB/DWT are trapping based on address access within the memory space.
Software would be where you're physically placing a BKPT instruction into the execution path.
Typically you're using the former, as it doesn't change your code.
https://developer.arm.com/documentation/100166/0001/Debug/Flash-Patch-and-Breakpoint-Unit--FPB-
https://stackoverflow.com/questions/11345371/how-do-i-set-a-software-breakpoint-on-an-arm-processor
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 1:21 PM
Thank you Tesla DeLorean I will check the links that you shared.
