A794 Owner’s GuideChapter 6: Programming Information

Return Microprocessor CRC

ASCII

GS BEL

Hexadecimal

1D 07

Decimal

29 7

Returns the CRC calculated over the boot sector code space.

Formulas

ACK <low byte> <high byte>

Erase All Flash Contents Except Boot Sector

ASCII

GS SO

Hexadecimal

1D 0E

Decimal

29 14

Causes the entire Flash Memory to be erased.

The printer returns ACK if the command is successful; NAK if it is unsuccessful.

Exceptions

Available only in Download Mode.

Return Main Program Flash CRC

ASCII

GS SI

Hexadecimal

1D 0F

Decimal

29 15

Returns the CRC calculated over the Flash firmware code space. The format of the response is ACK <low byte> <high byte>.

Erase Selected Flash Sector

ASCII

GS DLE n

Hexadecimal

1D 10 n

Decimal

29 16 n

Value and Range of n: 0-7 =

512k bytes Flash

0-15 =

1M bytes Flash

0-31 =

2M bytes Flash

Erases the previously selected sector. The printer transmits ACK when the sector has been erased. If the previous sector is not successfully erased, or if no sector was selected, the printer transmits NAK.

Exceptions

Available only in Download Mode.

December 1999

137

Page 142
Image 142
M-S Cash Drawer A794 Return Microprocessor CRC, Erase All Flash Contents Except Boot Sector, Return Main Program Flash CRC