Genovation, Inc.
48
MiniTermPro
^M – 0Dh – Get and Clear Status Word
Issuing this command will prompt the MiniTerm to respond with 6 ASCII bytes
representing the operating status, and then clear the operating status. The
operating status is a set of 16 bits that indicate internal run-time conditions and in
some cases errors. Not all bits are defined at this time. The first two ASCII bytes
are always “0x”.
Example: Get and clear the status word.
Prefix Command Type
ASCII:
@
^M
Dec:
64
13
Hex:
40h
0Dh
The status word bit field:
b7
b6
b5
b4
b3
b2
b1
b0
UART1
UART0
LCD
ROM1
ROM0
NV
Clear
I2C
I2C
A one in this bit position indicates an error with the I2C subsystem.
Clear
A one indicates that the user cleared the NV on boot.
NV
A one indicates NV un-programmed (no CKD file present).
ROM0
A one indicates the user has not downloaded a ROM file.
ROM1
Same as above.
LCD
A one indicates a bad LCD.
UART0
The host UART parameters are invalid.
UART1
The card reader UART parameters are invalid.
b15
b14
b13
b12
b11
b10
b9
b8
0
0
0
0
0
0
Flash
Host
Host
Unsupported host type requested.
Flash
Error encountered during flash downloading.
A typical response to a request for the status word would generate:
0
x
Response
Response
Response
Response
ASCII:
0
x
0
0
1
C
Dec:
48
120
48
48
49
67
Hex:
30h
78h
30h
30h
31h
43h
This indicates that the device User and ROM areas have not been customized
(the status word is then zeroed internally).
Содержание MiniTerm 905
Страница 1: ...GENOVATION MiniTermPro User Guide Release 7 80 Fall 2017...
Страница 2: ...Genovation Inc 2 MiniTermPro...