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

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
PICDEM.net™ 1 and dsPICDEM.net 2 Connectivity Dev Board User’s Guide
DS51471A-page 28
2.7.2
1. Press <F7> to single step the code. The green arrow moves to line 129, _reset
FIGURE 2-21:
2. Open the dsPICDEMnet Tutorial.c source file. Double click on the file name
3. Select and right click line TMR1 = 0;, then choose Run to Cursor., as shown
FIGURE 2-22:
Right-click TMR1 = 0
and select
Run to Cursor
mov.w #0x850,w15, as shown in Figure 2-21.
This code comes from a library (archive) file, libpic30.a, which is
automatically linked into C30 compiler projects. This code line initializes the stack
pointer and is part of the initialization code that the C30 compiler uses to set up
the stack and initialize data. Notice line 135, call main. This instruction calls
the main() routine from the dsPICDEMnet Tutorial.c source file.
in the Project Window if the file is not already open.
in Figure 2-22.
The code runs briefly until it reaches the specified line. It then halts with the green
arrow pointing to the next line, as shown in Figure 2-23.
Step the Program
PROGRAM SINGLE STEPPED
RUN TO CURSOR COMMAND
 2004 Microchip Technology Inc.

Related parts for DM300004-1