Using dsPIC33F and PIC24H/24F Devices
©
2006 Microchip Technology Inc.
DS70099D-page 49
4.5
BUILDING THE CODE
In this project, building the code consists of compiling the
Tutorial.c
file to create
an object file,
Tutorial.o
, and then linking the object file to create the
MyProject.hex
and
MyProject.cof
output files. The
.hex
file contains the data
necessary to program the device and the
.cof
file contains additional information that
lets you debug at the source code level.
Before building, there are settings required to tell MPLAB IDE to reserve space for the
extra debug code when the MPLAB ICD 2 is used.
4.5.1
Link for ICD 2
1.
Select Build Options>Project from the Project menu.
2.
Select the MPLAB LINK30 tab to view the linker settings (see Figure 4-7).
3.
Check Link for ICD 2.
4.
Click Apply, then click OK. The text box closes while the linker reserves space
for the debug code used by the MPLAB ICD 2.
5.
Click OK again to save these changes. The project is now ready to build.
FIGURE 4-7:
MPLAB
®
LINK30 BUILD OPTIONS
Check Link for ICD2
Содержание dsPICDEM 1.1 Plus
Страница 1: ...2006 Microchip Technology Inc DS70099D dsPICDEM 1 1 Plus Development Board User s Guide...
Страница 12: ...dsPICDEM 1 1 Plus Development Board User s Guide DS70099D page 8 2006 Microchip Technology Inc NOTES...
Страница 64: ...dsPICDEM 1 1 Plus Development Board User s Guide DS70099D page 60 2006 Microchip Technology Inc NOTES...
Страница 78: ...dsPICDEM 1 1 Plus Development Board User s Guide DS70099D page 74 2006 Microchip Technology Inc NOTES...
Страница 88: ...dsPICDEM 1 1 Plus Development Board User s Guide DS70099D page 84 2006 Microchip Technology Inc NOTES...
Страница 91: ...Index 2006 Microchip Technology Inc DS70099D page 87 NOTES...