User Data Storage; Flash Download - CognitiveTPG A798 Programming Manual

Thermal receipt printer
Hide thumbs Also See for A798:
Table of Contents

Advertisement

Revision D 10/13

User data storage

Code (hexadecimal)
Command
1B 27 m a0 a1 a2 d1...dm
Write to user data storage
1B 34 m a0 a1 a2
Read from user data storage
1B 6A k
Read from non-volatile memory (NVRAM)
1B 73 n1 n2 k
Write to non-volatile memory (NVRAM)
1D 22 n
Select memory type (SRAM/flash) where to save logos or user-defined fonts
1D 22 55 n1 n2
Flash memory user sectors allocation
1D 22 80
Expanded flash memory allocation
1D 22 81 n
Select flash area for storing logos and fonts
1D 40 n
Erase user flash sector

Flash download

Code (hexadecimal)
Command
1B 5B 7D
Switch to flash download mode
1D 00
Return boot sector firmware part number
1D 01
Return segment number status of flash memory
1D 02 nn
Select flash memory sector to download
1D 06
Get firmware CRC
1D 07
Return microprocessor CRC
1D 0E
Erase all flash contents except boot sector
1D 0F
Return main program flash CRC
1D 10 n
Erase selected flash sector
1D 11 aL aH cL cH d1...dn
Download to active flash sector
1D FF
Reset firmware
Chapter 4: Programming Commands
A798-PG00001D
33
Page
94
94
94
94
95
95
96
96
97
Page
98
98
99
99
99
99
99
100
100
100
100

Advertisement

Table of Contents
loading

Table of Contents