Using the Emulator as a Debugger
5.7.5
Sequenced Breakpoints Dialog
Set up a sequential occurrence of breakpoints. Sequence execution of breakpoints is
bottom-up; the last breakpoint in the sequence occurs first.
To add a breakpoint to a sequence:
? Select a breakpoint from the list of “Available Breakpoints”. Available
breakpoints/triggers are those previously added to the breakpoint dialog.
? Select a sequence for the list of “Sequences”.
? Click Add .
To change the order of breakpoints in a sequence, drag-and-drop the breakpoint in the
“Sequences list”.
To remove a breakpoint from a sequence:
? Select the breakpoint in the “Sequences” list.
? Click Remove .
5.7.6
AND Dialog
Set up an ANDED condition for breaking, i.e., breakpoint 1 AND breakpoint 2 must
occur at the same time before a program halt. This can only be accomplished if a data
breakpoint and a program memory breakpoint occur at the same time.
To add a breakpoint to the AND condition:
? Select a breakpoint from the list of “Available Breakpoints”. Available
breakpoints/triggers are those previously added to the breakpoint dialog.
? Click Add .
To remove a breakpoint from a sequence:
? Select the breakpoint in the “ANDed Breakpoints” list.
? Click Remove .
5.7.7
Triggers Dialog
Set up triggers in this dialog. Click on Add Data Capture to open the Data Capture
Properties Dialog to set up a real-time data capture. Click on Add External Triggers
to open the Add External Trigger Dialog to set up hardware triggers.
When complete, trigger information will appear in this dialog. Each trigger may be
enabled/disabled individually.
5.7.8
Data Capture Properties Dialog
Use this dialog to set up real-time data capture for a data address. Real-time data
capture provides updating of variables in the Watch, File Register and Special Function
Register window in real time instead of on halt.
? Enter the hex address of the data address for capture.
? Specify if the capture happens on read or write from the X bus.
Data capture can only be performed on register-sized variables. For dsPIC DSC/PIC24
devices, only 16-bit variables can be captured, such as shorts and ints, but not floats
and longs.
Triggers use the same resources as breakpoints, so the maximum available number of
breakpoints applies to the maximum number of available triggers and breakpoints. As
an example, if 4 breakpoints are available, and two breakpoints are set, up to two
triggers may be set also.
If Capture trace is used, then real-time data capture triggers cannot be used because
of hardware constraints. However, breakpoints are still available.
? 2006 Microchip Technology Inc.
DS51616A-page 35
相关PDF资料
AC2626M6 PROBE TEMP 6" GENERAL PURP
AC300024 MOTOR STEPPER 2PHASE 8WIRE
AC300030 KIT ACOUSTIC ACCESSORY
ACM-16 CABLE MODULE FR3 16BIT 40-DIP
ACM-2X8 ACTIVE CABLE MODULE DUAL 8 BIT
ACM-8 CABLE MODULE FR3 8BIT 28/32-DIP
ACS9510EVB EVALUATION BOARD FOR ACS9510
ACS9550EVB EVALUATION BOARD FOR ACS9550
相关代理商/技术参数
AC244007 制造商:Microchip Technology Inc 功能描述:MPLAB REAL ICE JTAG ADAPTER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:ADAPTER MPLAB REAL ICE JTA 制造商:Microchip Technology Inc 功能描述:ADAPTER, MPLAB, REAL, ICE, JTAG 制造商:Microchip Technology Inc 功能描述:ADAPTER, MPLAB, REAL, ICE, JTAG; Accessory Type:JTAG adaptor Board; For Use With:Microchip PIC32MX devices; SVHC:No SVHC (19-Dec-2012) ;RoHS Compliant: Yes
AC244008 功能描述:处理器配件 MPLAB REAL ICE Power Monitor RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
AC244022 功能描述:插座和适配器 Procs Extnsn Pak for PIC24FJ128GA010-ICE RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244022 制造商:Microchip Technology Inc 功能描述:Processor Extension Pak for PI
AC244023 功能描述:插座和适配器 PROCESSOR EXTNSN PAK FOR PIC18F1xK50 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244024 功能描述:插座和适配器 Processor Ext Pak for PIC18LF14K50 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244026 功能描述:插座和适配器 Processor Ext Pak (PIC16F727-ICE) 200K RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244027 功能描述:插座和适配器 Processor Ext Pak (PIC16LF727-ICE)200K RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x