SW006010 Microchip Technology, SW006010 Datasheet - Page 31

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
3.4
 2002 Microchip Technology Inc.
USING MPLAB C17 WITH MPLAB IDE
Precompiled object files are often device and/or memory model dependent. For more
information on available precompiled object files, see the MPLAB C17 C Compiler
Libraries (DS51296).
Some library files are available with the compiler. Others may be built outside the
project using the librarian tool (MPLIB librarian). See the MPASM User’s Guide with
MPLINK and MPLIB (DS33014) for more information on using the librarian. For more
information on available libraries, see the MPLAB C17 C Compiler Libraries
(DS51296).
The object files, along with library files and a linker script file (
generate the project output files via the linker (MPLINK linker). See the MPASM™
User's Guide with MPLINK™ and MPLIB™ (DS33014) for more information on linker
script files and using the linker.
The main output file generated by MPLINK linker is the HEX file (
simulators (MPLAB SIM), emulators (MPLAB ICE and PICMASTER emulator) and
programmers (PRO MATE II and PICSTART Plus). The other output files are:
• COFF file (.out). Intermediate file used by MPLINK linker to generate Code file,
• Code file (.cod). Debug file used by MPLAB IDE.
• Listing file (.lst). Original source code, side-by-side with final binary code.
• Map file (.map). Shows the memory layout after linking. Indicates used and
The tools shown here are all Microchip development tools. However, many third party
tools are available to work with MPLAB Projects. Please refer to the Third Party Guide
(DS00104) for more information.
This section will guide you, step by step, in using MPLAB IDE and MPLAB Projects
with MPLAB C17.
In this tutorial, you will learn how to:
• Create the source file
• Set the MPLAB IDE development mode
• Create a new project with Project > New Project
• Set project Node Properties to MPLINK linker
• Add the source file, setting the language tool to MPLAB C17
• Add precompiled nodes (object files)
• Add a linker script node
• Build the project
3.4.1
Figure 3-2 gives a graphical overview of the MPLAB Project using MPLAB C17. The
source file
file
according to directions in the linker script file (
output file,
HEX file, and Listing file.
unused memory regions.
ex1.o
. This file and other precompiled object files are linked via MPLINK linker
Overview
ex1.c
ex1.hex
Using MPLAB C17 with MPLAB IDE
is associated with the compiler (MPLAB C17) to produce the object
.
p17c756s.lkr
device.lkr
) to produce the main
prog.hex
apRNOVM^-page 25
) are used to
), used by
Part
Part
Part
Part
1
2
3
4

Related parts for SW006010