Error Messages
Top Reasons Why You Can’t Debug
1. The oscillator is not working. Check your Configuration bits setting for the
oscillator.
2. The target board is not powered. Check the power cable connection.
3. The MPLAB REAL ICE in-circuit emulator has somehow become physically dis-
connected from the PC. Check the USB communication cable connection.
4. The emulator has somehow become physically disconnected from the target
board. Check the communications cable connection.
5. The device is code-protected. Check your Configuration bits setting for code pro-
tection.
6. You are trying to rebuild the project while in Release mode. Select Debug in the
Build Configuration drop-down list on the project toolbar, then rebuild the project.
7. The emulator is selected as a programmer, and not as a debugger, in MPLAB
IDE.
8. Emulator to PC communications has somehow been interrupted. Reconnect to
the emulator in MPLAB IDE.
9. The target application has somehow become corrupted or contains errors. For
example, the regular linker script was used in the project instead of the emulator
version of the linker script (e.g., 18F8722.lkr was used instead of 18F8722i.lkr).
Try rebuilding and reprogramming the target application. Then initiate a
power-on-reset of the target.
10. Other configuration settings are interfering with debugging. Any configuration
setting that would prevent the target from executing code will also prevent the
emulator from putting the code into debug mode.
11. The emulator cannot always perform the action requested. For example, the
emulator cannot set a breakpoint if the target application is currently running.
Other Things to Consider
1. It is possible the error was a one-time glitch. Try the operation again.
2. There may be a problem programming in general. As a test, switch to program-
mer mode and program the target with the simplest application possible (e.g., a
program to blink an LED.) If the program will not run, then you know that
something is wrong with the target setup.
3. It is possible that the target device has been damaged in some way (e.g., over
current.) Development environments are notoriously hostile to components.
Consider trying another target device.
4. Microchip Technology Inc. offers myriad demonstration boards to support most
of its microcontrollers. Consider using one of these applications, which are
known to work, to verify correct MPLAB REAL ICE in-circuit emulator
functionality. Or, use the Loop-Back Test board to verify the emulator itself
5. Review emulator debug operation to ensure proper application setup ( Chapter
6. If the problem persists contact Microchip.
? 2008 Microchip Technology Inc.
DS51616B-page 95
相关PDF资料
AC244006 KIT MPLAB REAL ICE TRACE
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
ACM-8 CABLE MODULE FR3 8BIT 28/32-DIP
ACS9510EVB EVALUATION BOARD FOR ACS9510
相关代理商/技术参数
AC244005-2 功能描述:处理器配件 MPLAB REAL ICE w/ Performace Pak RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
AC244006 功能描述:仿真器/模拟器 MPLAB REAL ICE TRACE INTERFACE Brd KIT RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
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
AC244024 功能描述:插座和适配器 Processor Ext Pak for PIC18LF14K50 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x