Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Difference between Hardware and Software Breakpoitns

Status
Not open for further replies.

ivar4ever

Full Member level 3
Joined
Jun 12, 2006
Messages
189
Helped
25
Reputation
52
Reaction score
5
Trophy points
1,298
Location
India
Activity points
2,437
Hi Guys,

What is the difference between a Hardware breakpoin, and a software breakpoint
 

Hardware Break points are the address values that you program to debug Unit when the configured value is matched with PC value or the address of the variable then it stops execution.
This has a limitation that we can have only few Break points (Depends on the number of registers available).

Software Breakpoints enables to place the Break point in the virtual memory locations also (if the code is not available in physical memory location)

Limitation here is :
Software break points can be placed over the instruction that are located in RW Memory.

*) Code execution is stopped, and the core functions are taken over by the debugger that uses the JTAG interface for communication.
*) Developer points to the instruction that should become breakpoint and instructs the debugger to convert it to the software breakpoint (e.g. pressing F11 while the desired instruction is being highlighted).
*)debugger replaces teh content of the highlighted program memory location with a special instruction that on attempt of execution causes the processor core to stop, This is detected by the debugger and signaled on the debugger window.

Hope I clear your doubt.
 
exactly what i was looking for , thanks ...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top