PMF18WD1 Microchip Technology, PMF18WD1 Datasheet - Page 53
![PROCESSOR MODULE FOR ICE4000](/photos/26/90/269011/processormodule-ice4000_general_sml.jpg)
PMF18WD1
Manufacturer Part Number
PMF18WD1
Description
PROCESSOR MODULE FOR ICE4000
Manufacturer
Microchip Technology
Datasheet
1.ICE4000.pdf
(98 pages)
Specifications of PMF18WD1
Module/board Type
Processor Module
Product
Microcontroller Modules
Core Processor
PIC18F1310 and PIC18F1320
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
ICE4000
For Use With
ICE4000 - EMULATOR MPLAB-ICE 4000 POD
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 53 of 98
- Download datasheet (2Mb)
2004 Microchip Technology Inc.
6.8.4
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:
6.8.5
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
2. The number of times the R/W occurred, providing you with a count of the
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
test1
your code that affect a particular variable or SFR.
collected cycles.
movlw 0xFF
movwf LSDigit
decfsz LSDigit
andwf LSDigit; generate extra read/w to LSDigit
goto test1
Filter Trace Example – Program Memory
Filter Trace Example – Data Memory
FILTER TRACE
Complex and Internal Triggers
DS51490A-page 47
Related parts for PMF18WD1
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: