Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

MPLAB
®
XC16 C Compiler Users Guide
DS50002071C-page 72 2012-2013 Microchip Technology Inc.
FIGURE 3: OUTPUT WINDOW - BUILD TAB
4.6.4 Build Errors
If the build did not complete successfully, check these items:
1. Review the previous steps in this example. Make sure you have set up the lan-
guage tools correctly and have all the correct project files and build options.
2. If you modified the sample source code, examine the Build tab of the Output win-
dow for syntax errors in the source code. If you find any, double-click on the error
to go to the source code line that contains that error. Correct the error, and then
try to build again.
4.6.5 Output Files
View the project output files by opening the files in MPLAB IDE.
1. Select File>Open
. In the Open dialog, find the project directory.
2. Under Files of type select All files (*.*) to see all project files.
3. Select Example.map. Click Open to view the linker map file in an MPLAB IDE
editor window. For more on the map file, see Map File in the linker documen-
tation.
4. Repeat steps 1 and 2. Notice that there is only one hex file, Example.hex. This
is the primary output file, used by various debug tools. You do not view this file
for debugging; use instead View>Program Memory
or View>Disassembly List-
ing.
4.6.6 Further Development
Usually, your application code will not build without errors. Therefore, you will need a
debug tool to help you develop your code. Using the output files previously discussed,
several debug tools exist that work with MPLAB IDE to help you do this. You may
choose from simulators, in-circuit emulators or in-circuit debuggers, either manufac-
tured by Microchip Technology or third-party developers. Please see the documenta-
tion for these tools to see how they can help you.
Once you have developed your code, you will want to program it into a device. Again,
there are several programmers that work with MPLAB IDE to help you do this. Please
see the documentation for these tools to see how they can help you.
For more information on using MPLAB IDE, consult the on-line help that comes with
this application or download printable documents from our website.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh