Hardware and Software Debug
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?
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?
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.