Complex and Internal Triggers
Suppose a project has the following source code:
RoutineA
<code for RoutineA>
RETLW 0
RoutineB
<code for RoutineB>
RETLW 0
When the RETLW statement of RoutineA is executed, a prefetch of the next
instruction in the address space (the first instruction in RoutineB ) is performed.
This prefetched instruction will not be executed, but the program memory address
does appear on the bus. If a trigger is set at program memory address RoutineB ,
the prefetch done during the execution of the RETLW in RoutineA will cause the
trigger to fire. To prevent this, check the Ignore FNOP Cycles check box. Two
points to consider when using this check box are:
Depending on the processor module, the trigger may skid two additional cycles.
? Clear All – Clears the current trigger information in all tabs.
? Load All – Opens the Load All Trigger Definitions dialog, allowing you to load a
*.trg file with trigger information for all tabs of the dialog.
? Save All – Opens the Save All Trigger Definitions dialog, allowing you to save as
a *.trg file trigger information for all tabs of the dialog.
For information on memory access selection, see Section 6.7 “Memory Selection” .
Additional memory information that you may enter is:
? Address (Optional) – A single Event may specify one or more addresses. This
can be either a Program Memory or Data Memory address.
? Opcode or Value (Optional) – The actual value of an opcode, the data for a table
read/write operation, or the value of a file register. Also select whether the
opcode/value is expressed as Symbolic, Binary or Hex(adecimal).
Other triggering information that you may enter is:
? Probes (Optional) – A value on the external logic probe inputs. Also select
whether the value is expressed as Binary or Hex(adecimal).
? Pass Counter or Captured Events – A Pass Counter counts the number of times
the event must occur before proceeding to the next event. Pass Counters are
available only with Sequential or Time Between Events triggers. A Captured Event
counts the number of times a captured event must occur before proceeding to the
next event. You may select an infinite number of events with a check box.
Captured Events are available only with the Filter Trace trigger.
? Clear Event – Clears the current trigger information in the active tab.
? Load Event – Opens the Load Current Trigger Level dialog, allowing you to load
a *.evt file with trigger information for the active tab of the dialog.
Note:
You may also load an MPLAB ICE 2000 file ( *.trl ), but you can only
save it as an MPLAB ICE 4000 file ( *.evt ).
? Save Event – Opens the Save Current Trigger Level dialog, allowing you to save
as a *.evt file trigger information for the active tab of the dialog.
There are several buttons on the Complex Trigger Settings tab with the following
functions.
?
?
?
?
OK – Accepts the current setting in the tab and closes the dialog.
Cancel – Closes the dialog without accepting the current settings.
Apply – Accepts the current setting in the tab without closing the dialog.
Help – Brings up the on-line help file to walk you through setting up a complex
trigger.
? 2004 Microchip Technology Inc.
DS51490A-page 35
相关PDF资料
PMF18WE0 PROCESSOR MODULE FOR ICE4000
PMT823004F GP THREE ELEMENTS S.A. 230V T/H
PPM3-MK2 PROGRAMMER PRODUCTION ISP
PPM3A1-UPG5M UPGRADE PPM3 RAC DEVELOPMENT
PQ-MDS-PCIEXP PCI EXPANDER ADAPTOR
PQF-44 PLUG QFP 44PIN (SOLDER DOWN)
PRG18BB471MS1RB THERMISTOR
PS1600 POWER SUPPLY HOTSWAP 90-245V
相关代理商/技术参数
PMF18WE0 功能描述:插座和适配器 Processor MOD RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WE0 制造商:Microchip Technology Inc 功能描述:Tools Emulator For Use With:P
PMF18WE1 功能描述:插座和适配器 PIC18F8680 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WF0 功能描述:插座和适配器 Processor Module RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WH0 功能描述:插座和适配器 PIC18F ICE4000 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WJ0 功能描述:插座和适配器 Processor MOD RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WJ1 功能描述:插座和适配器 Processor Module RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WK0 功能描述:插座和适配器 PIC18F RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x