User manual
Getting Started with PIC32
DS61146B-page 32 © 2008 Microchip Technology Inc.
5.11 BUILDING THE PROJECT
From the Project menu, we can compile and link the current files.
To build the project, select either:
-
Project>Build All
- Right click on the project name in the project window and select Build All
- Click the Build All icon on the Project toolbar. Hover the mouse over icons to
see pop-up text of what they represent.
The Output window shows the result of the build process. There should be no errors
on any step.
FIGURE 5-12: MPLAB IDE PROJECT BUILD
5.12 TESTING THE CODE
First download the hex image of the program we just built by selecting Debugger->Pro-
gram from the Debugger menu or directly program from the “Debug Toolbar”. The
programming operation should occur with no errors.
In order to test our example application, we need to set-up the PC part too.
Connect a serial cable between the board RS-232 connector and one of the PC’s COM
ports and open a Hyper Terminal application on the PC (Programs->Accesso-
ries->Communications->Hyper Terminal).
Select a proper name for this connection, click OK and then, in the “Connect To” screen
select the COM port that’s connected to the development board.