CognitiveTPG B780 User Manual

Page 190

Advertising
background image

Appendix C: Electronic Journal

178

A776 (B780) Programming Guide

A776-PG00001 C 12/09

1F 0A C5 Return Journal Status

Returns one byte of status.

bit 0 = 0 >> Write to flash successful

bit 0 = 1 >> Write to flash fail

bit 1 = 0 >> RAM allocation for journal data successful

bit 1 = 1 >> RAM allocation for journal data fail

bit 2 = 0 >> Auto Journal Disabled

bit 2 = 1 >> Auto Journal Enabled

1F 0A C6 Return Journal Flash Size

Returns two 3-byte counts in hexadecimal notation, as n1 n2 n3 and m1 m2 m3.

Journal flash buffer total size = (n1 * 0x10000 + n2 * 0x100 + n3)

= (n1 * 65,536 + n2 * 256 + n3) decimal

Journal flash buffer used

= (m1 * 0x10000 + m2 * 0x100 + m3)

= (m1 * 65,536 + m2 * 256 + m3) decimal

Journal flash buffer total size corresponds directly to this line on the diagnostics form:

Flash Journal Size

: nnnn kbytes

Journal flash buffer used corresponds inversely to this line on the diagnostics form:

Journal Unused

: mmmm kbytes

1F 0A C7 Write Journal RAM Data to Flash

Writes the journal data in RAM to Flash and marks it as a complete journal entry with two print commands: 0x0A
0x0A. Printer goes busy at the communication interface while the flash is being written. Application should not send
any further data or commands until printer goes not busy at the communication interface.

Advertising
This manual is related to the following products: