Download Print this page

Toshiba TLCS-900/H1 Series Manual page 455

Original cmos 32-bit microcontroller
Hide thumbs Also See for TLCS-900/H1 Series:

Advertisement

b)
Error code
The boot program sends the processing status to the PC using various codes.
The error codes are listed in the table below.
Table 3.21.13 Error Codes
Error Code
62H
Baud rate modification error occurred.
64H
Operation command error occurred.
A1H
Framing error in received data occurred.
A3H
Overrun error in received data occurred
Note 1: When a receive error occurs when receiving the user program, the device does
not send the error code to the PC.
Note 2: After sending the error code, the device goes to an IDLE state.
c)
Notes on SUM
1.
Calculation method
SUM consists of byte + byte... + byte, the sum of which is returned in words
as the result. Namely, data is read out in bytes, the sum of which is calculated,
with the result returned in words.
Example:
A1H
B2H
C3H
D4H
2.
Calculation data
The data from which SUM is calculated is the RAM data from the first
address received to the last address received.
The received RAM write data is not the only data to be calculated for SUM.
Even when the received addresses are noncontiguous and there are some
unwritten areas, data in the entire memory area is calculated. The user
program should not contain unwritten gaps.
Meaning of Error Code
If the data to be calculated consists of the 4 bytes
shown to the left, SUM of the data is:
A1H + B2H + C3H + D4H = 02EAH
SUM (HIGH) = 02H
SUM (LOW) = EAH
92CH21-453
TMP92CH21
2009-06-19

Advertisement

loading

This manual is also suitable for:

Tmp92ch21fgJtmp92ch21