CognitiveTPG A798 Instruction Manual Page 101

  • Download
  • Add to my manuals
  • Print
  • Page
    / 121
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 100
Chapter 4: Programming Commands 101
Revision C 12/09
A798-PG00001C
Return segment number status of ash memory
ASCII GS SOH
Hexadecimal 1D 01
Decimal 29 1
Returns the size of the ash used. There may be 16 (1 Meg) or 32 (2 Meg) sectors in ash memory. This command assures
that the rmware to be downloaded is the appropriate size for ash 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 ash memory sector to download
ASCII GS STX nn
Hexadecimal 1D 02 nn
Decimal 29 2 nn
Value of n: The ash sector to which the next download operation applies
Range of n: 0
Selects the ash sector (nn) for which the next download operation applies. The values of the possible sector are restricted,
depending upon the ash 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 rmware 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 rmware 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>
Erase all ash contents except boot sector
ASCII GS SO
Hexadecimal 1D 0E
Decimal 29 14
Causes the entire ash memory to be erased.
The printer returns ACK if the command is successful; NAK if it is unsuccessful.
Exceptions
Available only in download mode.
Page view 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 120 121

Comments to this Manuals

No comments