参数资料
型号: PMF18WE1
厂商: Microchip Technology
文件页数: 53/98页
文件大小: 0K
描述: PROCESSOR MODULE FOR ICE4000
标准包装: 1
模块/板类型: 处理器模块
适用于相关产品: ICE4000
Complex and Internal Triggers
6.8.4
Filter Trace Example – Program Memory
A program has a large delay loop. How can program execution be traced without
wading though thousands of delay loop cycles?
For this, use a Filter Trace. Specify the traced addresses to be everything except the
program memory range where the delay loop is located. Uncheck Ignore FNOP Cycles.
Check Infinite Events and use either a software breakpoint or a user halt to stop emu-
lation or uncheck Infinite Events and enter a value for Captured Events. When viewing
the trace memory window, all instances of the delay code should be gone.
FIGURE 6-14:
FILTER TRACE
6.8.5
Filter Trace Example – Data Memory
How do I filter on data memory?
Filtering on PICmicro file register reads and writes will result in the collection of the
cycles immediately following the R/W. While this is not exactly the information you are
looking for, it does provide two data points:
1. The program memory after the R/W occurred, so you can track down places in
your code that affect a particular variable or SFR.
2. The number of times the R/W occurred, providing you with a count of the
collected cycles.
There are two ways to capture the actual data values with a filter. The first is to filter on
the routine that does the R/W. This will generate some extra cycles, but will collect the
proper information. The second is to make code that will generate two R/W cycles to
the same location, one of which does not affect the actual data. For instance, the
register can be ANDed with a value of 0xFF to generate the extra cycle like this:
test
movlw 0xFF
movwf LSDigit
test1
decfsz LSDigit
andwf LSDigit; generate extra read/w to LSDigit
goto test1
? 2004 Microchip Technology Inc.
DS51490A-page 47
相关PDF资料
PDF描述
ECM18DRTN-S13 CONN EDGECARD 36POS .156 EXTEND
0210490266 CABLE JUMPER 1.25MM .152M 20POS
HW-V5-ML510-G BOARD EVAL FOR VIRTEX-5 ML510
SDR-T SCOTCH CODE REFILL T
RCM12DTKT CONN EDGECARD 24POS DIP .156 SLD
相关代理商/技术参数
参数描述
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