Select Flash Memory Sector To Download; Get Firmware Crc - NCR 7158 Owner's Manual

Thermal receipt and impact printer
Table of Contents

Advertisement

Select Flash Memory Sector to Download

ASCII:
Hexadecimal:
Decimal:
Value of n:
Range of n:
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.
Exceptions:
Available only in Download Mode.

Get Firmware CRC

ASCII:
Hexadecimal:
Decimal:
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.
GS STX n
1D 02 n
29 2 n
the Flash sector to which the next download
operation applies
0 – 7 (512K)
0 – 15 (1 mB)
0 – 31 (2 mB)
GS ACK
1D 06
29 6
Chapter 7: Programming Guide 7-153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents