Interface: Software: Error codes
Checksum error
- Error code
- !cs
- Meaning
- The hex file's checksum data did not pass the checksum test, indicating corrupted information.
- Cause
- A faulty serial communication link between the host computer and the programmer, or a damaged hex file.
- Explanation
- The hex file format includes a checksum for each line to protect data integrity. As the programmer receives each line of the hex file, it computes the valid checksum value and compares the computed value against the checksum received. If the two do not match, a checksum error occurs.
Invalid command
- Error code
- !ic
- Meaning
- An invalid command was issued.
- Cause
- Operator error, or a faulty serial communication link between the host computer and the programmer.
- Explanation
- At a command prompt, a character that is not used for a command was entered.
Previous error
- Error code
- !!
- Meaning
- An operation involving communication with the target PIC was attempted after an error occurred and was not acknowledged.
- Cause
- Failure to acknowledge an error before issuing a command that involves communication with the target PIC, such as a write command.
- Explanation
- After an error, the programmer will refuse to communicate with the target PIC until the error is acknowledged.
Verify error
- Error code
- !vr
- Meaning
- An error occurred while verifying data on the target PIC. The code is followed by the address of the error as a four digit hexadecimal number.
- Cause
- When writing a program to the target PIC, faulty flash ROM in the target PIC, or a poor electrical connection between the programmer and target PICs. When verifying against a program already on the target PIC, it means the program sent by the host computer does not match the program stored on the target PIC, or a poor electrical connection exists between the programmer and target PICs.
- Explanation
- The programmer verifies the data on the target PIC with data sent during verification operationa and during write operations. All write operations are immediately verified.