User manual

Developing an Application
© 2008 Microchip Technology Inc. DS51725A-page 25
4.8 TROUBLESHOOTING
Debug Connection Problems
While using the starter kit as a debugger, you may get the error “Unable to Enter Debug
Mode” when programming the device. This can result from communication being lost
between the starter kit and MPLAB IDE. To resolve this:
1. Unplug the USB cable from the starter kit.
2. Plug the USB cable back into the starter kit.
MPLAB IDE should automatically reconnect to the starter kit. If this does not work, do
the following:
1. Check the USB connection between the PC and starter kit at both ends.
2. If using a USB hub, make sure it is powered.
3. Make sure the USB port is not in use by another device.
Programming Problems
If during the course of developing your own application you can no longer pro-
gram the device on the starter kit, you may have set device Configuration bits to
code-protect or some other state that prevents programming. To view the settings
of the Configuration bits, select Configure>Configuration Bits
.