Epson A794-D100 Select Flash Memory Sector to Download, Get Firmware CRC, Return Boot Sector CRC

Models: A794-D100

1 140
Download 140 pages 28.11 Kb
Page 130
Image 130

Chapter 6: Programming Information

A794 Owner’s Guide

Select Flash Memory Sector to Download

Selects the flash sector (nn) for which the next download operation applies. The values of the possible sector are restricted, depending upon the flash part type. The printer transmits an ACK if the sector number is acceptable or an NAK if the sector number is not acceptable. Sector numbers start at 0

ASCII

GS STX nn

Hexadecimal

1D 02 nn

Decimal

29 2 nn

Value of n

the flash sector to which the next download operation applies

Range of n

0

Exceptions

Available only in download mode.

Get Firmware CRC

Causes the printer to calculate the CRC for the currently selected sector and transmits the result. This is performed normally after downloading a sector to verify that the downloaded firmware is correct. The printer also calculates the CRC for each sector during power up and halts the program if any sector is erroneous.

The printer transmits ACK if the calculated CRC is correct for the selected sector; NAK if the CRC is incorrect or if no sector is selected.

ASCII

GS ACK

Hexadecimal

1D 06

Decimal

29 6

Return Boot Sector CRC

Returns the CRC calculated over the boot sector code space.

ASCII

GS BEL

Hexadecimal

1D 07

Decimal

29 7

Formulas

ACK <low byte> <high byte>

124

March 1999

Page 130
Image 130
Epson A794-D100 Select Flash Memory Sector to Download, Get Firmware CRC, Return Boot Sector CRC, Range of n Exceptions