CognitiveTPG A760 User Manual

Page 128

Advertising
background image

A760 User Guide: Programming Supplement
Chapter 4: Programming commands

128

Revision F January 2010

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.

Advertising