Epson A794-D100 manual Erase All Flash Contents Except Boot Sector, Return Main Program Flash CRC

Models: A794-D100

1 140
Download 140 pages 28.11 Kb
Page 131
Image 131

A794 Owner’s Guide

Chapter 6: Programming Information

Erase All Flash Contents Except Boot Sector

Causes the entire flash memory to be erased.

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

ASCII

GS SO

Hexadecimal

1D 0E

Decimal

29 14

Exceptions

Available only in download mode.

Return Main Program Flash CRC

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

ASCII

GS SI

Hexadecimal

1D 0F

Decimal

29 15

Erase Selected Flash Sector

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.

ASCII

GS DLE n

Hexadecimal

1D 10 n

Decimal

29 16 n

Value and Range of n 0-2 =

256k bytes Flash

0-14 =

1M bytes Flash

0-30 =

2M bytes Flash

Exceptions

Available only in download mode.

March 1999

125

Page 131
Image 131
Epson A794-D100 Erase All Flash Contents Except Boot Sector, Return Main Program Flash CRC, Erase Selected Flash Sector