Chapter 5: Programming commands 127
A776-PG00001 D 07/13
A776 (B780) Programming Guide
Download to active flash sector
ASCII
GS DC1
aL aH cL cH d1… dn
Hexadecimal
1D 11
aL aH cL cH d1… dn
Decimal
29 17
aL aH cL cH d1… dn
Value of
aL:
low byte of the address
Value of
aH:
high byte of the address
Value of
cL:
low byte of the count
Value of
cH:
high byte of the count
Value of
d:
data bytes, 0–255
Value of
n
(for number of data bytes)
Range of address (
aL aH
)
Range of count (
cL cH
)
((
cH
* 256) +
cL
)
0000–FFFF (hexadecimal)
0001–FFFF (hexadecimal)
Range:
Addresses run from 0 to 64K.
Contains a start address (aH
×
256 + aL) and count (cH
×
256 + cL) of binary bytes to load into the selected sector,
followed by that many bytes. The start address is relative to the start of the sector. Addresses run from
0 to 64K. The count must always be 256.
The printer may return one of several responses. ACK means that the data was written correctly and the host should
transmit the next block. NAK means that, for some reason, the data was not written correctly. This could mean that
communications failed or that the write to flash failed. The alternatives seem to be to retry the block or halt loading
and assume a hardware failure.
Related information
Available only in download mode.
Reset firmware
ASCII
GS (SPACE)
Hexadecimal
1D FF
Decimal
29 255
Ends the load process and reboots the printer. Before executing this command, the printer should have firmware
loaded and external switches set to the runtime settings. Application software for downloading should prompt the
user to set the external switches and confirm before sending this command. If the downloading was started from a
diagnostic, the reboot will cause the printer to re-enter download state unless the external switches are changed.
Содержание A776 ColorPOS
Страница 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 160: ...Appendix B Resident Character Sets 148 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 737 Greek...
Страница 161: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 149 Code page 850 Multilingual...
Страница 162: ...Appendix B Resident Character Sets 150 A776 B780 Programming Guide A776 PG00001 D 07 13 Code Page 852 Slavic...
Страница 163: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 151 Code Page 857 Turkish...
Страница 164: ...Appendix B Resident Character Sets 152 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 858 with Eurosymbol...
Страница 165: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 153 Code page 860 Portugese...
Страница 166: ...Appendix B Resident Character Sets 154 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 862 Hebrew...
Страница 167: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 155 Code page 863 French Canadian...
Страница 168: ...Appendix B Resident Character Sets 156 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 865 Nordic...
Страница 169: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 157 Code page 866 Cyrillic...
Страница 170: ...Appendix B Resident Character Sets 158 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 1251 Cyrillic...
Страница 171: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 159 Code page 1252 Windows Latin 1...
Страница 172: ...Code page 1255 Hebrew...
Страница 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Страница 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 179: ......
Страница 180: ...A776 PG00001 Rev D 07 2013...