M-S Cash Drawer A794 User Manual
Page 143
Chapter 6: Programming Information
A794 Owner’s Guide
December 1999
138
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, 0-255
Value of n (for number of data bytes)
Range of Address (aL aH)
Range of Count (cL cH)
((cH * 256) + cL)
0000-FFFF (hexadecimal)
0001-FFFF (hexadecimal)
Range:
Addresses run from 0 to 64K.
Contains a start address (aH x 256 + aL) and count (cH x 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.
Related Information
Available only in Download Mode.
Reset Firmware
ASCII
GS (SPACE)
Hexadecimal
1D FF
Decimal
29 255
Reboots the printer.