SW500007 Microchip Technology, SW500007 Datasheet - Page 166

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
Hexmate
For example:
will program opcode 1234h in all unused addresses from program memory address 0 to 1FFFh (Note
the endianism). -FILL accepts whole bytes of hexadecimal data from 1 to 8 bytes in length.
will only perform ROM filling to records that actually contain data. This means that these records
will be padded out to the default data record length or the width specified in the -FORMAT option.
Records will also begin on addresses which are multiples of the data record length used. The default
data record length is 16 bytes. This facility is particularly useful or is a requirement for some
bootloaders that expect that all data records will be of a particular length and address alignment.
5.15.1.7 -FIND
This option is used to detect and log occurrences of an opcode or partial code sequence. The usage
of this option is:
where:
152
Adding the ,data flag to this option is not required. If the data flag has been specified, hexmate
Start and End specify the address range that this fill will apply to.
-FILL=3412@0-1FFF,data
-FIND=Findcode[mMask]@Start-End[/Align][w][t”Title”]
Findcode is the hexadecimal code sequence to search for and is entered in little endian byte
order.
Mask is optional. It allows a bit mask over the Findcode value and is entered in little endian
byte order.
Selector
-4
-3
-2
-1
1
2
3
4
Table 5.10: Hexmate Checksum Algorithm Selection
Algorithm description
Subtraction of 32 bit values from initial value
Subtraction of 24 bit values from initial value
Subtraction of 16 bit values from initial value
Subtraction of 8 bit values from initial value
Addition of 8 bit values from initial value
Addition of 16 bit values from initial value
Addition of 24 bit values from initial value
Addition of 32 bit values from initial value
Linker and Utilities

Related parts for SW500007