M-S Cash Drawer A794 Benutzerhandbuch

Seite von 147
A794 Owner’s Guide
Chapter 6: Programming Information
December 1999
135
Flash Download Commands
These commands are used to load firmware into the printer.
The commands are listed in numerical order according to their hexadecimal codes. Each
command is described and the hexadecimal, decimal, and ASCII codes are listed.
There are three ways to enter the Download Mode.
1.
 
Powering the printer up with DIP Switch 1 down.
2.
 
While the printer is running normally, send the command, “Switch to Flash
Download Mode (1B 5B 7D)” to leave normal operation and enter the Download
Mode.
3.
 
If the Flash if found corrupted during Level 0 diagnostics the Download Mode is
automatically entered after the printer has reset.
The printer never goes directly from the Download Mode to normal printer operation.
To return to normal printer operation either the operator must turn the power off and
then on to reboot or the application must send a command to cancel Download Mode
and reboot. DIP Switch 1 must in UP position during reboot to return to normal
printer operation.
When each Flash download command is received, the printer returns either ACK or
NAK to the host computer when each command is received:
 
ACK (hexadecimal 06)
Sent when the printer has received a host transmission and has completed the
request successfully.
 
NAK (hexadecimal 15)
Sent when a request is unsuccessful.
Communicates to the printer information downloaded from applications. Data is
downloaded to Flash memory to query the state of the firmware, calculate the firmware
CRC and other functions.
Switch to Flash Download Mode
ASCII
ESC [ }
Hexadecimal
1B 5B 7D
Decimal
27 91 125
Puts the printer in Flash Download Mode in preparation to receive commands
controlling the downloading of objects into Flash Memory. When this command is
received, the printer leaves normal operation and can no longer print transactions until
the Reboot the Printer command (1D FF) is received or the printer is rebooted.
This command does not affect the current communication parameters. Once the printer
is in Flash Download Mode, this command is no longer available.
Related Information
See Entering Flash Download Mode elsewhere in this book to put the printer in Flash
Download Mode using the Configuration Menu.