mikroICD Advanced Breakpoints

mikroICD provides the possibility to use the Advanced Breakpoints. To enable Advanced Breakpoints set the Advanced Breakpoints checkbox inside Watch window :

Enable Advanced Breakpoints

To configure Advanced Breakpoints, start mikroICD [F9] and select View › Debug Windows › Advanced Breakpoints option from the drop-down menu or use [Ctrl+Shift+A] shortcut.

  Note :

The options on the Advanced Breakpoint Dialog are dependent on your selected device :

dsPIC30F Devices Advanced Breakpoints

The Advanced Breakpoints Dialog for dsPIC30F devices has the following options :

Advanced Breakpoints for dsPIC30F devices window

Breakpoint Settings

Breakpoint # - Select a breakpoint to set up, either 0 or 1.
Breakpoint Type - Select the type of breakpoint. Options below will change depending on the selection made here.

There are three possible types of breakpoint, Program Memory, Data Memory - Byte or Word and Data Memory breakpoints :

Program Memory
Breakpoint Type Program Memory Execution
TBLWT Program Memory
TBLRD Program Memory
PSV Read
Program Memory Address. Enter the Program Memory Address of the breakpoint.
Pass Count Type Enter the pass count type, if desired.
Pass counting disabled - default.
Event must occur pass count times.
Break occurs pass count instructions after event.
Pass Count Type Enter a pass count value, a number between 0 and 255.

Data Memory - Byte or Word
Breakpoint Type X Bus Write Specific Byte
X Bus Read Specific Byte
Y Bus Read Specific Word
X Bus Write Specific Word
X Bus Read Specific Word
Data Memory Address Enter the Data Memory Address of the breakpoint.
Data Value Specify a value that the Byte or Word must be equal to before breaking.
Pass Count Type Enter the pass count type, if desired.
Pass counting disabled - default.
Event must occur pass count times.
Break occurs pass count instructions after event.
Pass Count Type Enter a pass count value, a number between 0 and 255.

Data Memory
Breakpoint Type Y Bus Read
X Bus Write
X Bus Read
Data Memory Address Enter the Data Memory Address of the breakpoint.
Pass Count Type Enter the pass count type, if desired.
Pass counting disabled - default.
Event must occur pass count times.
Break occurs pass count instructions after event.
Pass Count Type Enter a pass count value, a number between 0 and 255.

Breakpoint Combinations

This section is grayed out unless there are two breakpoints. The options are :

dsPIC33F/PIC24 Devices Advanced Breakpoints

The Advanced Breakpoints Dialog for dsPIC33F and PIC24 devices has the following options :

Advanced Breakpoints for dsPIC33F and PIC24 devices window

Breakpoint Settings

Breakpoint # - Select a breakpoint to set up, either 0 or 1.
Breakpoint Type - Select the type of breakpoint. Options below will change depending on the selection made here.

There are three possible types of breakpoint, Program Memory, Data Memory - Byte or Word and Data Memory breakpoints :

Program Memory
Breakpoint Type Program Memory Execution
TBLWT Program Memory
TBLRD Program Memory
PSV Read
Program Memory Address. Enter the Program Memory Address of the breakpoint.
Pass Count Type Enter the pass count type, if desired.
Pass counting disabled - default.
Event must occur pass count times.
Break occurs pass count instructions after event.
Pass Count Type Enter a pass count value, a number between 0 and 255.

Data Memory - Byte or Word
Breakpoint Type X Bus Write Specific Byte
X Bus Read Specific Byte
Y Bus Read Specific Word
X Bus Write Specific Word
X Bus Read Specific Word
Data Memory Address Enter the Data Memory Address of the breakpoint.
Data Value Specify a value that the Byte or Word must be equal to before breaking.
Pass Count Type Enter the pass count type, if desired.
Pass counting disabled - default.
Event must occur pass count times.
Break occurs pass count instructions after event.
Pass Count Type Enter a pass count value, a number between 0 and 255.

Data Memory
Breakpoint Type Y Bus Read
X Bus Write
X Bus Read
Data Memory Address Enter the Data Memory Address of the breakpoint.
Pass Count Type Enter the pass count type, if desired.
Pass counting disabled - default.
Event must occur pass count times.
Break occurs pass count instructions after event.
Pass Count Type Enter a pass count value, a number between 0 and 255.

Breakpoint Sequencing

Select a breakpoint sequence :

Stopwatch

Use to coordinate breakpoints with Stopwatch operation.

Event Breakpoints

ANDED Breakpoints

Check the checkbox next to each breakpoint to AND together.

Copyright (c) 2002-2012 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
Want more examples and libraries? 
Find them on LibStock - A place for the code