Toshiba H1 Series User Manual
Page 57

TMP92CZ26A
92CZ26A-54
b) Error codes
The boot program uses the error codes shown in Table 3.4.12 to notify the
PC of its processing status.
Table 3.4.12 Error Codes
Error Code
Meaning
62H
Unsupported baud rate
64H
Invalid operation command
A1H
Framing error in received data
A3H
Overrun error in received data
Note 1: If a receive error occurs while a user program is being received, no error code will be sent to the PC.
Note 2: After sending an error code, the boot program stops operation.
c) SUM
calculation
1. Calculation
method
SUM is calculated by adding data in bytes and is returned in words, as
explained below.
Example:
A1H
B2H
C3H
D4H
If the data to be calculated consists of the 4 bytes
shown to the left, SUM is calculated as follows:
A1H
+ B2H + C3H + D4H = 02EAH
SUM (HIGH)
= 02H
SUM (LOW)
= EAH
2. Data to be calculated
SUM is calculated from the data at the first received address through the last
received address.
Even if received addresses are not continuous, unwritten addresses are also
included in SUM calculation. The user program should not contain unwritten
gaps.