User manual

APOS Premium Printer Series User Manual Page 112 /136 Reference: FDE 3107312 Issue A
E
RASE 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.
R
ETURN 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
E
RASE 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-15 = 1M bytes Flash
Exceptions
Available only in download mode.