SW500007 Microchip Technology, SW500007 Datasheet - Page 28

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
PICC18 Compiler Options
will not be performed if the --FILL option is also used to allow a different code to be used for
prefilling.
2.4.22 --CHIP=processor: Define Processor
This option defines the processor which is being used. To see a list of supported processors that can
be used with this option, use the --CHIPINFO option.
2.4.23 --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 or refer
to Appendix
2.4.24 --CODEOFFSET: Offset Program Code to Address
In some circumstances, such as bootloaders, it is necessary to shift the program image to an alternate
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.4.25 --CP=size: Set the Size of Pointers to Code Space
Pointers to code/functions, pointers to const, pointers to far and pointers to void can be set to either
16 bits wide or 24 bits wide. If this option is not specified the default setting is 16 bits. It is
sufficient to use --CP=16 for chips that have less than 64K of program memory, or if only the first
64K of program memory will be dereferenced with a pointer. If a particular program uses pointers
to program space beyond the 64K boundary that it is necessary to enable 24 bit code pointers. This
is also applicable to projects and PIC18 devices which utilize the external memory interface, as it is
more than likely that the additional memory will be mapped beyond the 64K boundary.
It will also be necessary to enable 24 bit pointers to reference an object in code space which is located
at an address that would also be valid in the general-purpose data space. For more information on
14
Specification
algorithm
offset
width
C
of this manual.
Select a checksum algorithm
Add a value to result
Byte width of result
Table 2.3: Additional --checksum specifications
Purpose
Possible values
See table
0 - 0xFFFFFFFF
1 to 4. (Little-endian: -1 to -4)
5.10
PICC-18 Command-line Driver
Default
1
0
-2

Related parts for SW500007