SW500010 Microchip Technology, SW500010 Datasheet - Page 52

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
PICC Driver Option Descriptions
2.6.22 --CHIPINFO: Display List of Supported Processors
The --CHIPINFO option simply displays a list of processors the compiler supports. The names
listed are those chips defined in the chipinfo file and which may be used with the --CHIP option.
2.6.23 --CODEOFFSET: Offset Program Code to Address
In some circumstances, such as bootloaders, it is necessary to shift the program image to an alter-
native address. This option is used to specify a base address for the program code image. With this
option, all code psects (including interrupt vectors and constant data) that the linker would ordinarily
control the location of, will be adjusted.
2.6.24 --CR=file: Generate Cross Reference Listing
The --CR option will produce a cross reference listing. If the file argument is omitted, the “raw”
cross reference information will be left in a temporary file, leaving the user to run the CREF utility.
If a filename is supplied, for example --CR=test.crf, PICC will invoke CREF to process the
cross reference information into the listing file, in this case test.crf. If multiple source files are
to be included in the cross reference listing, all must be compiled and linked with the one PICC
command. For example, to generate a cross reference listing which includes the source modules
main.c, module1.c and nvram.c, compile and link using the command:
Thus this option can not be used when using any compilation process that compiles each source file
separately using the -C or --PASS1 options. Such is the case for most IDEs, including HI-TIDE,
and makefiles.
2.6.25 --DEBUGGER=type: Select Debugger Type
This option is intended for use for compatibility with debuggers. PICCsupports the Microchip ICD2
debugger and using this option will configure the compiler to conform to the requirements of the
ICD2 (reserving memory addresses, etc.). For example:
52
The possible selections for this option are defined in Table 2.7.
PICC --CHIP=16F877A --CR=main.crf main.c module1.c nvram.c
PICC --CHIP=16F877A --DEBUGGER=icd2 main.c
PICC Command-line Driver

Related parts for SW500010