Sharp XE-A202 Service Manual - Page 15

CPU internal RAM test, CPU internal ROM test, AD conversion port, RS232C test, Sleep mode test - error codes

Page 15 highlights

4 End of testing The program ends after printing. When the test ends normally. 120 When the test ends abnormally. Ex- ~ - 120 ***** x = 1: Data error x = 2: Address error When an error occurs, the printer outputs the error message and then the address where the error has occurred in the area ****. 10) CPU internal RAM test 1 Key operation 121 RCPT/PO 2 Test procedure The test program checks internal RAM of the CPU. The contents of the memory are lost after this test. RAM (00400H - 053FFH area) is tested in the following procedure. a) Data in the test area is stored. b) Write "00H" c) Read and compare "00H" and then write "55H" d) Read and compare "55H" and then read "AAH" e) Read and compare "AAH" f) Stored data is restored. If an error occurs at a step, the error is printed. If an error does not occur, the following addresses are checked. Addresses to be checked: 01000H , 01001H , 01002H , 01004H , 01008H 01010H , 01020H , 01040H , 01080H , 01100H , 01200H , 01400H , 01800H , 02000H , 04000H Display 1 2 1 3 Check: The completion print. 4 End of testing. The test program ends after printing. When the test ends normally. 121 When the test ends abnormally. Ex- ~ - 121 ***** x = 1: Data error x = 2: Address error If an error occurs, the printer outputs the error message and then the address where the error has occurred in the area ****. 11) CPU internal ROM test 1 Key operation 140 RCPT/PO 2 Test procedure The test program checks that the checksum of the CPU internal flash ROM (C0000H - FFFFFH) is correct. The lower two digits of the checksum should be 10H.(pending) Display 1 4 0 3 Check: The completion print. 4 End of testing The test will automatically be terminated and the printer prints as follows: When the test ends normally. ROM When the test ends abnormally. E- ~ ROM 140 ******** (CPU CODE) ******** (Version) 140 ******** (CPU CODE) ******** (Version) 12) AD conversion port 1 Key operation 160 RCPT/PO 2 Test procedure The test program displays the voltage of each AD port. 1. Head temperature 1 6 0 1 X X X 2. Head voltage 1 6 0 2 XXX 3. Battery voltage 1 6 0 3 XXXX 3 End of testing You can exit the test mode by pressing any key. The printer prints the follwing. 160 13) RS232C test Install the RS232C loopback connector. (UKOG-6705RCZZ) 1 Key operation 500 RCPT/PO 2 Test procedure Control signal check OUT PUT /ER /RS OFF OFF OFF ON /DR OFF OFF IN PUT /CI /CD OFF OFF OFF ON /CS OFF ON ON OFF ON ON ON ON ON OFF OFF ON ON ON Data communication check A loopback test of 256-byte data between SD-RD is performed. DATA: $00 - $FF BAUD RATE: 9600 BPS 7-segment display: 5 0 0 3 Check: The completion print. 4 End of testing Completion print RS TEST OK Error print RS TEST **NG**ERxx xx Contents of the error 01 ER DR error 02 ER CI error 03 RS CD error 04 RS CD error 05 SD RD error DATA data 06 SD RD error DATA error/framing error 14) Sleep mode test 1 Key operation 550 RCPT/PO 2 Test procedure The test program checks the system in SLEEP MODE (The display goes off and the Decimal point comes on) and then waits for any status change (KEY input or RS PORT change). 3 Check that: A) The display goes off (excluding Decimal point) B) The system turns active when any key is pressed. 4 End of testing The test program will automatically be terminated and the printer prints the following. 550 XE-A202U TEST FUNCTION - 14 -

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27

XE-A202U
TEST FUNCTION
– 14 –
4
End of testing
The program ends after printing.
When the test ends normally.
120
When the test ends abnormally. Ex- ~ -
120
*****
x = 1: Data error
x = 2: Address error
When an error occurs, the printer outputs the error message and
then the address where the error has occurred in the area ****.
10) CPU internal RAM test
1
Key operation
2
Test procedure
The test program checks internal RAM of the CPU.
The contents of the memory are lost after this test.
RAM (00400H - 053FFH area) is tested in the following procedure.
a)
Data in the test area is stored.
b)
Write “00H”
c)
Read and compare “00H” and then write “55H”
d)
Read and compare “55H” and then read “AAH”
e)
Read and compare “AAH”
f)
Stored data is restored.
If an error occurs at a step, the error is printed.
If an error does not occur, the following addresses are checked.
Addresses to be checked:
01000H , 01001H , 01002H , 01004H , 01008H
01010H , 01020H , 01040H , 01080H ,
01100H , 01200H , 01400H , 01800H ,
02000H , 04000H
3
Check:
The completion print.
4
End of testing.
The test program ends after printing.
When the test ends normally.
121
When the test ends abnormally. Ex- ~ -
121
*****
x = 1: Data error
x = 2: Address error
If an error occurs, the printer outputs the error message and then
the address where the error has occurred in the area ****.
11) CPU internal ROM test
1
Key operation
2
Test procedure
The test program checks that the checksum of the CPU internal
flash ROM (C0000H - FFFFFH) is correct.
The lower two digits of the checksum should be 10H.(pending)
3
Check:
The completion print.
4
End of testing
The test will automatically be terminated and the printer prints as fol-
lows:
When the test ends normally.
140
ROM
******** (CPU CODE)
******** (Version)
When the test ends abnormally. E- ~ -
140
ROM
******** (CPU CODE)
******** (Version)
12) AD conversion port
1
Key operation
2
Test procedure
The test program displays the voltage of each AD port.
3
End of testing
You can exit the test mode by pressing any key.
The printer prints the follwing.
160
13) RS232C test
Install the RS232C loopback connector. (UKOG-6705RCZZ)
1
Key operation
2
Test procedure
Control signal check
Data communication check
A loopback test of 256-byte data between SD-RD is performed.
DATA: $00 - $FF
BAUD RATE: 9600 BPS
3
Check:
The completion print.
4
End of testing
Completion print
RS TEST
OK
Error print
RS TEST
**NG**ERxx
xx
Contents of the error
01
ER DR error
02
ER CI error
03
RS CD error
04
RS CD error
05
SD RD error
DATA data
06
SD RD error
DATA error/framing error
14) Sleep mode test
1
Key operation
2
Test procedure
The test program checks the system in SLEEP MODE (The display
goes off and the Decimal point comes on) and then waits for any
status change (KEY input or RS PORT change).
3
Check that:
A) The display goes off (excluding Decimal point)
B) The system turns active when any key is pressed.
4
End of testing
The test program will automatically be terminated and the printer
prints the following.
550
RCPT/PO
121
Display
1
2
1
RCPT/PO
140
Display
1
4
0
OUT PUT
IN PUT
/ER
/RS
/DR
/CI
/CD
/CS
OFF
OFF
OFF
OFF
OFF
OFF
OFF
ON
OFF
OFF
ON
ON
ON
OFF
ON
ON
OFF
OFF
ON
ON
ON
ON
ON
ON
RCPT/PO
160
1
6
0
1
1
6
0
2
1
6
0
3
XXX
XXX
XXXX
1.
Head temperature
2.
Head voltage
3.
Battery voltage
RCPT/PO
500
7-segment display:
5
0
0
RCPT/PO
550