参数资料
型号: AC244006
厂商: Microchip Technology
文件页数: 33/72页
文件大小: 0K
描述: KIT MPLAB REAL ICE TRACE
标准包装: 1
附件类型: 接口板
适用于相关产品: PIC32
产品目录页面: 658 (CN2011-ZH PDF)
相关产品: PIC32MX440F512H-80I/PT-ND - IC PIC MCU FLASH 512K 64-TQFP
PIC32MX440F128H-80I/PT-ND - IC PIC MCU FLASH 128K 64-TQFP
PIC32MX420F032H-40I/PT-ND - IC PIC MCU FLASH 32K 64-TQFP
PIC32MX340F512H-80I/PT-ND - IC PIC MCU FLASH 512K 64-TQFP
PIC32MX340F128L-80I/PT-ND - IC PIC MCU FLASH 128K 100-TQFP
PIC32MX340F128H-80I/PT-ND - IC PIC MCU FLASH 128K 64-TQFP
PIC32MX360F256L-80I/PT-ND - IC PIC MCU FLASH 256K 100-TQFP
PIC32MX320F128L-80I/PT-ND - IC PIC MCU FLASH 128K 100-TQFP
PIC32MX340F256H-80I/PT-ND - IC PIC MCU FLASH 256K 64-TQFP
PIC32MX320F128H-80I/PT-ND - IC PIC MCU FLASH 128K 64-TQFP
更多...
Using the Emulator as a Debugger
5.5.5
Setting Up Trace in MPLAB IDE
The trace buffer can hold up to 256K bytes of information and can be set to a value up
to that maximum (see Section 4.8.3 “Instrumented Trace Tab” ). The trace buffer is
circular, so data will wrap if the maximum is exceeded.
? To record a PC location, click on or highlight a line of code and then right click to
select “Insert Line Trace” from the pop-up menu. This causes the following line to
be inserted above to the selected line:
__TRACE(id);
where id is a line trace number auto-generated during the build.
Note:
Inserting a macro into code may modify the logic flow of the program.
Please be sure that braces are present where necessary.
? The recording of a variable value is performed much in the same way. First high-
light the variable name or expression and then right click to select “Log Selected
Value” from the pop-up menu. This causes the following line to be inserted above
the line containing the variable:
__LOG(id ,selected variable );
where id is a log number auto-generated during build and selected variable
is the highlighted variable.
? To remove a trace point, simply highlight and then delete the Trace/Log macro.
5.5.6
Running Trace
1. Rebuild the project ( Project>Build All ).
Note:
On the Project Manager toolbar, select “Debug” from the drop-down
list.
2. After rebuilding, if there are trace macros in code, a Warning dialog will ask, “File
has been modified. Do you want to reload?”. Click Yes . When you examine your
code, you will find that all id s have been replaced with unique numbers.
Note:
To disable this warning and automatically reload, select
Configure>Settings , Other tab, and check “Automatically reload files
that were modified outside of the IDE”. Then click OK .
3. Reprogram the device ( Debugger>Program ).
4. Run the program and then halt, or set a breakpoint to halt.
5. Select View>Trace to view the trace data ( Section 5.7.10 “Trace Window” ) or
right click and in the Trace window and select “Reload”.
Repeat these steps each time you change a trace point.
? 2006 Microchip Technology Inc.
DS51616A-page 29
相关PDF资料
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
相关代理商/技术参数
参数描述
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