Instruction manual

A758 Owner’s Guide Chapter 7: Programming Guide
September 1999 205
Download to Active Flash Sector
ASCII
:GS DC1
al ah cl ch d1…dn
Hexadecimal
: 1D 11
al ah cl ch d1…dn
Decimal:
29 17
al ah cl ch d1…dn
Value of
al
= low byte of the address
Value of
ah
= high byte of the address
Value of
cl
= low byte of the count
Value of
ch
= high byte of the count
Value of
d
= data bytes, from 1 to
n
Contains a start address (ah * 256 + al) and count (ch * 256 + cl) of binary bytes to
load into the selected sector, followed by that many bytes. The start address is
relative to the start of the sector. Addresses run from 0 to 64K.
The printer may return one of several responses. ACK means that the data was
written correctly and the host should transmit the next block. NAK means that,
for some reason, the data was not written correctly. This could mean that
communications failed or that the write to Flash failed. The alternatives seem to
be to retry the block or halt loading and assume a hardware failure.
Value of
n
(for number of data
bytes)
Range of Address (
a
l
a
h) Range of Count (
c
l
c
h)
((ch * 256) + cl) 2000-FFFF (hexadecimal) 0001-0400 (hexadecimal)
Range:
Addresses run from 0 to 64K.
Related Information:
Available only in Download Mode.
Reboot the Printer
ASCII
:GS (SPACE)
Hexadecimal
:1D FF
Decimal:
29 255
Ends the load process and reboots the printer. Before executing this command,
the printer should have firmware loaded and external switches set to the runtime
settings. Application software for downloading should prompt the user to set the
external switches and confirm before sending this command. If the downloading
was started from a diagnostic, the reboot will cause the printer to reenter
download state unless the external switches are changed.