TH320/TH420
Programmers Guide
105
Return segment number status of flash memory
ASCII
GS SOH
Hexadecimal 1D 01
Decimal
29 1
Returns the size of the flash used. There may be 16 (1 Meg) or 32 (2 Meg) sectors in flash memory. This
command assures that the firmware to be downloaded is the appropriate size for flash memory. The value
returned is the maximum sector number that can be accepted by the select sector to download (1D 02 nn)
command.
Exceptions
Available only in download mode.
Select flash memory sector to download
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
Selects the flash sector (n) 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
GS ACK
Hexadecimal 1D 06
Decimal
29 6
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.
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>
Содержание TH320
Страница 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Страница 75: ...TH320 TH420 Programmers Guide 67 ...
Страница 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Страница 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Страница 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Страница 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Страница 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Страница 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Страница 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Страница 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Страница 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Страница 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Страница 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Страница 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Страница 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Страница 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Страница 156: ......
Страница 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...