por hemasc » 01 Mar 2012 11:09
quando clico na mensagem, aparece
ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information.
Description: MPLAB ICD 2 was unable to establish communications with the debug software on the target. This will prevent all debug operations (run, step, halt, breakpoint, etc.)
General Debug Failure Actions
The MPLAB ICD 2 was unable to perform a debugging operation. There are numerous reasons why this might occur.
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. Verify whether or not the device requires a header. For the project device, check the Header Specification (DS51292) or Header online help file to see if a header is required.
4. The MPLAB ICD 2 has somehow become physically disconnected from the PC. Check the USB communication cable connection.
5. The MPLAB ICD 2 has somehow become physically disconnected from the target board. Check the communications cable connection.
6. The device is code-protected. Check your configuration bits setting for code protection.
7. You are trying to rebuild the while in Release mode. Select Debug in the Build Configuration drop-down list on the Project menu, then rebuild the project.
8. MPLAB ICD 2 is selected as a programmer, and not as a debugger, in MPLAB IDE.
9. MPLAB ICD 2 to PC communications has somehow been interrupted. Reconnect to the ICD in MPLAB IDE.
10. The target application has somehow become corrupted or contains errors. For example, the regular linker script was used in the project instead of the MPLAB ICD 2 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.
11. Other configuration settings are interfering with debugging. Any configuration setting that would prevent the target from executing code will also prevent the ICD from putting the code into debug mode.
12. MPLAB ICD 2 cannot always perform the action requested. For example, the ICD cannot set a breakpoint if the target application is currently running.
13. Brown-out Detect voltage is greater than the operating voltage Vdd. This means the device is in Reset and cannot be debugged.
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 programmer 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 ICD 2 functionality.
5. Review the operational theory of ICD operation to ensure proper application setup. (MPLAB ICD 2 Overview)
6. If the problem persists contact Microchip.
ontem atualizei meu MPLAB de 8.80 para 8.84 e continua com o mesmo problema.
algo que notei... sempre que eu tentava entrar no DEBUG com o CODE PROTECT acionado, o MPLAB me dava uma mensagem impedindo, agora nem mensagem ele dá mais