SW500010 Microchip Technology, SW500010 Datasheet - Page 274

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
Library Functions
RAM_TEST_FAILED
Synopsis
void ram_test_failed (unsigned char errcode)
Description
The ram_test_failed() function is not intended to be called from within the general execution of
the program. This routine is called during execution of the generated runtime startup code if the
program is using a compiler generated RAM integrity test and the integrity test detects a bad cell.
Upon entry to this function, the working register contains an error code, the address that failed
can be determined from the FSR register and IRP bit. The failed value will still be accessable through
the INDF register. The default operation of this routine will halt program execution if a bad cell is
detected, however the user is free to enhance this functionality if required.
See Also
__ram_cell_test
Note
This routine is intended to be replaced by an equivalent routine to suit the user’s implementation.
Possible enhancements include logging the location of the dead cell and continuing to test if there
are any more more dead cells, or alerting the outside world that the device has a memory problem.
274

Related parts for SW500010