Getting Started
2009 Microchip Technology Inc.
DS70605A-page 25
2.4.6
Determining Device Support and Reserved Resources
Due to the built-in in-circuit debugging capability of ICD devices and the ICSP function
offered by the debugger, the Starter Kit uses some on-chip resources when debugging.
It also uses program memory and file register locations in the target device during
debugging. These locations are not available for use by user code. In the MPLAB IDE,
registers marked with an “R” in the register display represents reserved registers.
For information on device resources that are needed for in-circuit debugging, please
refer to the MPLAB ICD 2 Help, found in MPLAB IDE under
Help>Topics
. The device
reserved resource information found under “Resources Used By MPLAB ICD 2” is the
same for the Starter Kit.
2.4.7
Troubleshooting
2.4.7.1
DEBUG CONNECTION PROBLEMS
While using the Starter Kit as a debugger, you may receive the error “Starter Kit not
connected to this computer” 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.
2.4.7.2
PROGRAMMING PROBLEMS
If during the course of developing your own application you can no longer program 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
.
2.4.8
Settings Dialog and Info Tab
When you select
Debugger>Settings
or
Programmer Settings
, you will open the Starter
Kit Settings dialog.
Currently, there is only one tab (
Info
) on this dialog, which provides the following
information:
• Firmware Version: The version of firmware on the Starter Kit board.
• Debug Exec Version: The version of the debug executive that is loaded into the
dsPIC33F device program memory to enable debug operation.