User`s guide

MPLAB Starter Kit for dsPIC
®
DSCs User’s Guide
DS51700A-page 20 © 2008 Microchip Technology Inc.
3.5 PROGRAMMING THE DEBUGGED APPLICATION
When the program is successfully debugged and running, the next step is to program
the device for stand-alone operation in the finished design. When doing this, the
resources reserved for debug are released for use by the application. To program the
application, use the following steps:
1. Disable Starter Kits as a debug tool by selecting Debugger>Select Tool>None
.
2. Select Starter Kits as the programmer in the Programmer>Select Programmer
menu.
3. Select Programmer>Program
.
Now the starter kit will run independently.
3.6 CREATING OTHER dsPIC DSC APPLICATIONS
This starter kit is just one way to use Microchip dsPIC DSCs in an application. Other
tools and resources exist to support these devices.
dsPIC DSC Demo Boards – Many boards are available for developing applica-
tions. See our website (http://www.microchip.com/) under Design>Development
Tools>Demo Boards>dsPIC DSC.
MPLAB C30 C Compiler, Full Version – More optimization options than the stu-
dent version for full-scale development. See http://www.microchip.com/c30.
Application Notes – Example applications with code for using dsPIC DSC fea-
tures. See our website (http://www.microchip.com/) under Design>App Notes &
Source Code>16-bit PIC MCUs & dsPIC DSCs.
3.7 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 register displays represent 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.