SW500009 Microchip Technology, SW500009 Datasheet - Page 165

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
Linker and Utilities
A typical example of the use of the checksum option is:
This will calculate a checksum over the range 0-1FFFh and program the checksum result at address
2FFEh, checksum value will apply an initial offset of 2100h. The result will be two bytes wide.
5.16.1.6 -FILL
The -FILL option is used for filling unused memory locations with a known value. The usage of this
option is:
where:
For example:
Algorithm is an integer to select which hexmate algorithm to use to calculate the checksum
result. A list of selectable algorithms are given in Table 5.10. If unspecified, the default
checksum algorithm used is 8 bit addition.
-CK=0-1FFF@2FFE+2100w2
-FILL=Code@Start-End[,data]
Code is the opcode that will be programmed to unused locations in memory. Multi-byte codes
should be entered in little endian order.
Start and End specify the address range that this fill will apply to.
-FILL=3412@0-1FFF,data
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
Hexmate
151

Related parts for SW500009