Microchip Technology AC164133 Data Sheet
Getting Started
© 2008 Microchip Technology Inc.
DS70336A-page 35
3.3.1
Building the Code
To specify the Project Build Options:
1.
Select Build Options>Project from the Project menu. The Build Options For
Project “Buck 1 Voltage Mode.mcp” dialog appears, as shown in Figure 3-9.
Project “Buck 1 Voltage Mode.mcp” dialog appears, as shown in Figure 3-9.
FIGURE 3-9:
BUILD OPTIONS
2.
Select Assemble/Compile/Link in the project directory, and then click OK. This
completes the code build process.
completes the code build process.
3.3.2
Linking the ICD 2 for Debugging
Select the Debug option from the drop-down menu of MPLAB IDE, as shown in
Figure 3-10, so the linker will build the code for debugging. This sets aside the RAM for
the MPLAB ICD 2 for use during debugging. If this is not performed, the MPLAB ICD 2
will not function properly in Debug mode.
Figure 3-10, so the linker will build the code for debugging. This sets aside the RAM for
the MPLAB ICD 2 for use during debugging. If this is not performed, the MPLAB ICD 2
will not function properly in Debug mode.