CognitiveTPG A798 Instruction Manual Page 102

  • Download
  • Add to my manuals
  • Print
  • Page
    / 121
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 101
Chapter 4: Programming Commands102
Revision C 12/09
A798-PG00001C
Return main program ash CRC
ASCII GS SI
Hexadecimal 1D 0F
Decimal 29 15
Returns the CRC calculated over the ash rmware code space.
The format of the response is ACK <low byte> <high byte>.
Erase selected ash sector
ASCII GS DLE n
Hexadecimal 1D 10 n
Decimal 29 16 n
Value and range of n: 0–7 = 512k bytes ash
0–15 = 1M bytes ash
0–31 = 2M bytes ash
Erases the previously selected sector. The printer transmits ACK when the sector has been erased. If the previous sector is
not successfully erased, or if no sector was selected, the printer transmits NAK.
Exceptions
Available only in download mode.
Download to active ash 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 x 256 + aL) and count (cH x 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 ash 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 rmware
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 rmware loaded
and external switches set to the runtime settings. Application software for downloading should prompt the user to set the
external switches and conrm 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.
Page view 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 120 121

Comments to this Manuals

No comments