DM300019 Microchip Technology, DM300019 Datasheet - Page 26

BOARD DEMO DSPICDEM 80L STARTER

DM300019

Manufacturer Part Number
DM300019
Description
BOARD DEMO DSPICDEM 80L STARTER
Manufacturer
Microchip Technology
Type
MCUr
Datasheets

Specifications of DM300019

Contents
Board, CD, Sample Part
Processor To Be Evaluated
dsPIC30F and dsPIC33F
Interface Type
RS-232
Silicon Manufacturer
Microchip
Silicon Core Number
DsPIC30F6014A, DsPIC33FJ256GP710
Silicon Family Name
DsPIC30F And DsPIC33F
Kit Contents
Development Board And Docs On CD
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
dsPIC30F, dsPIC33F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM300019
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM300019
Manufacturer:
MICROCHIP
Quantity:
12 000
dsPICDEM™ 80-Pin Starter Development Board User’s Guide
2.7
DS51584B-page 22
DEBUGGING THE CODE
The MPLAB ICD 2 In-Circuit Debugger is used to run, halt and step the code. A
breakpoint can be set so that the program halts once the code has executed the
instruction at the breakpoint. The contents of the RAM and registers can be viewed
whenever the processor has been halted.
The MPLAB ICD 2 In-Circuit Debugger uses the following function keys to access the
main debugging functions:
In addition, 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 the Program Memory menu.
2. On the Program Memory window, select the Symbolic tab, as shown in
FIGURE 2-14:
3. Press <F5> to halt the processor and press <F6> to reset. The program memory
EXAMPLE 2-1:
<F5>
<F6>
<F7>
<F9>
.global __reset
..text
Figure 2-14.
now shows a green arrow pointing to the line of code at address 00000, the reset
location.
The instruction at this location is goto _reset. This code is added by the linker
to make the program branch to the start of the code in the Eg1_BlinkLed.s file.
The code uses the _reset label at the start of the executable code and declares
the label as global to have visibility outside the source file. See Example 2-1.
The linker also provides values for the __SP_init and __SPLIM_init
constants to initialize the Stack Pointer (W15) since the linker determines what
RAM is available for the stack.
__reset:
Display the Code
Halt
Reset
Single Step
Run
PROGRAM MEMORY WINDOW
CODE START-UP
mov
mov
mov
#__SP_init, W15 Pointer
#__SPLIM_init, W0
W0, SPLIM
© 2006 Microchip Technology Inc.

Related parts for DM300019