MPLAB ? ICE 4000 User’s Guide
6.8
COMPLEX TRIGGERING EXAMPLES
The following examples show some of the ways that complex triggers can be used to
help debug or characterize a problem.
?
?
?
?
?
6.8.1
Sequential Example – Program Memory
An application has several subroutines. A particular subroutine (RoutineA) functions
correctly to begin with, but after a time, it begins to function incorrectly. This subroutine
is called many times, so it would be nice to skip the executions where the subroutine
functions properly and breaks just before the subroutine starts to fail. It is observed that
the routine functions correctly until another after subroutine (RoutineB) is called.
This problem can be solved by a Sequential trigger with two events. The first event that
must occur is the execution of RoutineB , so the Event 3 tab is specified with the fetch
of program memory address RoutineB . The trigger should fire when RoutineA is
called, so the Trigger tab is specified with the fetch of program memory address
RoutineA . The Ignore FNOP Cycles is left checked so prefetches are ignored, and
Halt On Trigger is checked so the improperly executing subroutine can be stepped.
DS51490A-page 44
FIGURE 6-9:
SETTING THE FIRST OF TWO SEQUENTIAL EVENTS
? 2004 Microchip Technology Inc.
相关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