7197 Series II Owner’s Guide Chapter 6: Commands
August 2011
191
Return Segment Number Status of Flash Memory
ASCII:
GS SOH
Hexadecimal:
1D 01
Decimal:
29 1
Returns the size of the Flash used. There may be 8, 16, or 32 sectors (64K each) in Flash
Memory. This command assures that the firmware to be downloaded is the appropriate
size for Flash Memory. The value returned is the maximum sector number that can be
accepted by the Select Sector to Download (1D 02 n) command.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H01)
Exceptions:
Available only in Download Mode.
Select Flash Memory Sector to Download
ASCII: GS STX n
Hexadecimal: 1D 02 n
Decimal:
29 2 n
Value of n:
The Flash sector to which the next download
operation applies
Range of n: 0 – 7 (512K)
0 – 15 (1 mB)
0 – 31 (2 mB)
Selects the Flash sector (nn) for which the next download operation applies. The
values of the possible sector are restricted, depending upon the Flash 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.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H02) & Chr$(n)
Exceptions:
Available only in Download Mode.