Data Sheet
Proteus VSM
201
Hardware Breakpoints
So far, we have looked at how to break into the simulation based on software conditions
(watchpoints and breakpoints). It is also possible to use hardware breakpoint objects in order to
check the code when a hardware condition occurs. As an example, if we wanted to catch the
beginning of activity on the I2C bus we could set up a hardware breakpoint on the I2C line as
follows.
Switch to the schematic tab and then select the voltage probe icon from the mode selector on
the left hand side. Next, click on the editing window to begin placement, move the mouse over
the SDA line on the bus and left click again to drop the probe on the wire.
Now right click on the probe and select edit properties from the resulting context menu.
Select digital breakpoint and we want to trigger on active low so enter 0 as the trigger value.