Dataman S4 User Manual

Page 93

Advertising
background image

DATAMAN S4 MANUAL

ASCII Format 93

ASCII Formats

Each data byte is translated into two
hexadecimal ASCII characters, sent Most
Significant Nybble first. ASCII is similar to
INTEL, MOTOROLA and TEKHEX, except that
nothing but the raw data is sent - no addresses,
no checksums. After 32 bytes or 64 characters
a LINEFEED and CARRIAGE RETURN are
sent (0D 0A), which enables the transmission
to be received by a serial printer or a terminal.
At the end of the transmission an End-of-File
character (1A) is sent.
ASCII is normally sent and received as an 8 bit
transmission. The MSB is masked low when
receiving, placed low when sending.
When receiving, S4 asks for START and END
addresses where the block will be stored.

NOTE: INTEL, MOTOROLA and TEKHEX
transmissions can be inspected by
receiving them in ASCII format. Then you
can see delimiters, addresses and
checksums.

An ASCII End-of-File

Hen receiving character is not sent when the
format is set to BINARY because it would be
received as data. Sending BINARY files from
S4 is possible, but may be difficult to
implement at the receiving end. The computer
must expect a pre-defined size of block and
know where to put it. When receiving a block in
BINARY format, S4 has no way of knowing
when the computer has finished sending. You

Advertising