DM300004-1 Microchip Technology, DM300004-1 Datasheet - Page 31

BOARD DEMO DSPICDEM.NET 1

DM300004-1

Manufacturer Part Number
DM300004-1
Description
BOARD DEMO DSPICDEM.NET 1
Manufacturer
Microchip Technology
Series
dsPIC™r
Type
Microcontrollerr
Datasheets

Specifications of DM300004-1

Contents
*
Mcu Supported Families
DsPIC30F
Supported Devices
DsPIC30F6014
For Use With
PIC30F5013
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
FCC/JATE PSTN, Ethernet NIC
Lead Free Status / RoHS Status
na, Lead free / RoHS Compliant
Other names
DM300004-1R
DM300004-1R
2.7
 2004 Microchip Technology Inc.
DEBUGGING THE CODE
The MPLAB ICD 2 debugger/programmer can be used to run, halt, and step the code.
You can set a breakpoint so that program execution halts after the code has executed
the instruction at the breakpoint. A green arrow points to the next line to be executed.
The contents of the RAM and registers can be viewed when the processor has been
halted.
MPLAB ICD 2 uses the following function keys to access the main debugging functions:
There are more functions available by right clicking on a line of source code. The most
important of these are Set Breakpoint and Run to Cursor.
2.7.1
1. From the View menu, select Program Memory. The Program Memory window
2. Select the Symbolic tab at the bottom of the window.
3. Press <F5> to halt the processor. The program stops and the green arrow points
FIGURE 2-19:
4. Press <F6> to reset the program. The green arrow moves to address 00000, the
FIGURE 2-20:
displays.
to the next instruction, as shown in Figure 2-19.
goto _reset instruction, as shown in Figure 2-20. The linker inserted this
instruction to make the program branch to the start of the code.
<F5>
<F6>
<F7>
<F9>
Display the Code
PROGRAM HALTED
PROGRAM RESET
Halt
Reset
Single Step
Run
DS51471A-page 27
Tutorial

Related parts for DM300004-1