SW500007 Microchip Technology, SW500007 Datasheet - Page 174

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
Library Functions
__checksum_failed
Synopsis
void __checksum_failed(void)
Description
This routine will be called during the execution of compiler-generated startup code if it has been
requested that a built-in checksum and verification routine be included, and the result of the veri-
fication does not match the expected result. The default implementation of this function contains
a busy loop which serves no purpose other than to prevent the program from proceeding to main.
It is implement a customised response to a checksum validation failure according to your system’s
ability. Some of the possible actions that could be included in a customised routine could be to blink
an error LED, re-flash the program image or call for help. If this routine is allowed to return, it will
resume execution of the compiler-generated startup code and proceed to main. If action was taken
to correct the problem, it may be preferred to call for a system reset rather than proceeding through
to main as this will cause the checksum to be verified again prior to entering main.
Notes
Be aware that this routine will have been entered prior to execution of startup code that would
normally clear and initialize data memory. If your customised routine uses variables, their initial
states should be assigned by your routine prior to their use.
See also
ram_test_failed()
160

Related parts for SW500007