SW500010 Microchip Technology, SW500010 Datasheet - Page 187

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
Linker and Utilities
The possible types that are supported by this option are listed in Table 5.11. Note that INHX032 is
not an actual INHX format. Selection of this type generates an INHX32 file but will also initialize
the upper address information to zero. This is a requirement of some device programmers.
5.15.1.11 -HELP
Using -HELP will list all hexmate options. By entering another hexmate option as a parameter of
-HELP will show a detailed help message for the given option. For example:
will show additional help for the -STRING hexmate option.
INHX8M
INHX32
INHX032
Length is optional and sets the maximum number of bytes per data record. A valid length is
between 1 and 16, with 16 being the default.
T
Consider this case. A bootloader trying to download an INHX32 file fails succeed
because it cannot process the extended address records which are part of the INHX32
standard. You know that this bootloader can only program data addressed within the
range 0 to 64k, and that any data in the hex file outside of this range can be safely
disregarded. In this case, by generating the hex file in INHX8M format the operation
might succeed. The hexmate option to do this would be -FORMAT=INHX8M.
Now consider this. What if the same bootloader also required every data record to
contain eight bytes of data, no more, no less? This is possible by combining -FORMAT
with -FILL. Appropriate use of -FILL can ensure that there are no gaps in the data
for the address range being programmed. This will satisfy the minimum data length
requirement. To set the maximum length of data records to eight bytes, just modify the
previous option to become -FORMAT=INHX8M,8.
-HELP=string
UT RIAL
Type
Cannot program addresses beyond 64K.
Can program addresses beyond 64K with extended linear address records.
INHX32 with initialization of upper address to zero.
Table 5.11: INHX types used in -FORMAT option
Description
Hexmate
187

Related parts for SW500010