参数资料
型号: DV164120
厂商: Microchip Technology
文件页数: 38/86页
文件大小: 0K
描述: KIT STARTER PICKIT 2
产品培训模块: Asynchronous Stimulus
标准包装: 1
系列: PICkit™ 2
类型: 微控制器
适用于相关产品: PIC Micro? MCU
所含物品: 板,PICkit? 2 编程器,线缆,CD
产品目录页面: 658 (CN2011-ZH PDF)
PICkit? 2 User’s Guide
4.4.4
Configuration Bits and Debug Express
PIC microcontroller devices that do not require an ICD Header and may be debugged
directly contain a DEBUG bit in the Configuration Word(s) that enables and disables
the debug mode on the PIC microcontroller.
This bit is automatically set appropriately by the MPLAB IDE when using PICkit 2
Debug Express and should not be specified in source code configuration settings.
CAUTION
The DEBUG configuration bit value should not be specified in source code Configura-
tion settings under normal conditions. Doing so may cause the bit to be asserted when
programming a device outside the debugger. This will cause the device to function
improperly or not all at in the application circuit.
Many 16-bit PIC microcontroller devices such as PIC24 and dsPIC33 families have
multiple ICSP programming and debugging port pins labeled PGC1/EMUC1 and
PGD1/EMUD1, PGC2/EMUC2 and PGD2/EMUD2, etc. While any ICSP port may be
used for programming, only one port is active at a time for debugging. The active EMU
port is set in the device Configuration bits. If the active port setting does not match the
EMU port to which the PICkit 2 is connected, the device will be unable to enter debug
mode. In the MPLAB IDE Configuration Bits dialog, these bits are usually referred to as
the “Comm Channel Select” bits.
4.4.5
Debug Express Breakpoints
The number of active breakpoints supported by PICkit 2 Debug Express depends on
the target device. Most Baseline and Mid-Range devices support 1 breakpoint, with
more breakpoints supported in some PIC18 and 16-bit devices.
The number of active breakpoints available for the current device in MPLAB IDE can
be seen by selecting Debugger>Breakpoints… . This will open a dialog (Figure 4-3)
showing any currently set breakpoints in Program Memory. The “Active Breakpoint
Limit:” text box shows how many total breakpoints are available for the current device.
The “Available Breakpoints:” text box shows how many breakpoints are currently
unused.
FIGURE 4-3:
BREAKPOINTS DIALOG FOR PIC16F887
Some PIC18 and 16-bit devices also support advanced breakpoints. Advanced break-
points allow breakpoints to be set in File Register memory, and will halt execution when
a specific File Register is read from or written to. This breakpoint may also be set so it
will only halt when a specific value is read from or written to a register. Additionally, a
DS51553E-page 34
? 2008 Microchip Technology Inc.
相关PDF资料
PDF描述
DV164121 KIT PICKIT 2 DEBUG EXPRESS
DV164122 ANALYZER SRL PICKIT W/DEMO BOARD
DV164131 KIT STARTER PICKIT 3
DV164132 KIT EVAL F1 FOR PIC12F1/PIC16F1
DV243003 KIT STARTER FOR SRL MEM PRODUCTS
相关代理商/技术参数
参数描述
DV164121 功能描述:电路内置调试器 PICkit 2 Debug Express RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC MCUs, dsPIC DSCs 用于:07-00024, AC164113 核心:dsPIC, PIC 接口类型:USB 工作电源电压:3 V to 5 V
DV164121 制造商:Microchip Technology Inc 功能描述:ICPICKIT2 PROGRAMMER/DEBUGGER ((NW))
DV164121+TEFLCST3 制造商:Microchip Technology Inc 功能描述:KIT PICKIT2+FLOWCODE-HOME BUNDLE 制造商:Microchip Technology Inc 功能描述:ICD, PICKIT 2, FLOW CODE, PIC, DSPIC 制造商:Microchip Technology Inc 功能描述:ICD, PICKIT 2, DEBUG EXP, FLOW CODE, PIC, DSPIC; Silicon Family Name:PIC12F6xx, PIC16F5xx; Core Architecture:PIC; Core Sub-Architecture:PIC12, PIC18, PIC24; IC Product Type:Debugger / Programmer; Series:PICkit 2 ;RoHS Compliant: Yes
DV164122 功能描述:界面开发工具 PICkit Ser Analyzer RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
DV164126 功能描述:开发板和工具包 - PIC / DSPIC USB Kit w/ PICkit LowPinCount RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压: