Autosite_Users_Manual.pdf - 第134页

Trans lati on Form ats B-36 AutoSite User Manual The Design Specif ication Field <design spec> ::= { <field character>}’*’ The first field sent in a JED EC transm ission is th e design sp ecificati on. Both t…

100%1 / 175
Translation Formats
AutoSite User Manual B-35
For example, in words the definition of a person's name reads:
The full name consists of an optional title followed by a first name, a
middle name, and a last name. The person may not have a middle name,
or may have several middle names. The titles consist of: Mr., Mrs., Ms.,
Miss, and Dr.
The BNF definition for a person's name is:
<full name> :: = [<title>] <f. name> {<m.name>} <l. name>
<title> :: = ‘Mr.’ | ‘Mrs.’ | ‘Ms.’ | ‘Miss’ | ‘Dr.’
The following standard definitions are used throughout the rest of this
document:
<digit> :: = ‘0’ | ‘1’ | ‘2’ | ‘3’ | ‘4’ | ‘5’ | ‘6’ | ‘7’ | ‘8’ | ‘9’
<hex-digit> :: = <digit> | ‘A’ | ‘B’ | ‘C’ | ‘D’ | ‘E’ | ‘F’
<binary-digit> :: = ‘0’ | ‘1’
<number> :: = <digit> {<digit>}
<del> :: = <space> | <carriage return>
<delimiter> :: = <del> {<del>}
<printable character> :: = <ASCII 20 hex ... 7E hex>
<control character> :: = <ASCII 00 hex ... 1F hex> | <ASCII 7F hex>
<STX> :: = <ASCII 02 hex>
<ETX> :: = <ASCII 03 hex>
<carriage return> :: = <ASCII 0D hex>
<line feed> :: = <ASCII 0A hex>
<space> :: = <ASCII 20 hex> | “
<valid character> :: = <printable character> | <carriage return> |
<line feed>
<field character> :: = <ASCII 20 hex ... 29 hex> | <ASCII 2B hex ... 7E
hex> | <carriage return> | <line feed>
Translation Formats
B-36 AutoSite User Manual
The Design Specification
Field
<design spec> ::= {<field character>}’*’
The first field sent in a JEDEC transmission is the design specification.
Both the full and kernel JEDEC formats accept the design specification
field. This field is mandatory and does not have an identifier (such as an
asterisk) signaling its beginning. The design specification field consists of
general device information. It could, for example, consist of the following
information: your name, your company's name, the date, the device name
and manufacturer, design revision level, etc. This field is terminated by
an asterisk character. Examine the sample transmission shown on the
next page of this descriptionthe first three lines of the file comprise the
design specification field. The programmer ignores the contents of this
field for downloads and places “Data I/O” in this field for upload
operations.
Note: You do not need to send any information in this field if you do not wish to;
a blank field, consisting of the terminating asterisk, is a valid design
specification field.
The Transmission
Checksum Field
<xmit checksum> ::= <hex digit>:4
The transmission checksum is the last value sent in a JEDEC
transmission. The full JEDEC format requires the transmission checksum.
The checksum is a 16-bit value, sent as a 4-digit hex number, and is the
sum of all the ASCII characters transmitted between (and including) the
STX and ETX. The parity bit is excluded in the calculation of the
transmission checksum.
Some computer systems do not allow you to control what characters are
sent, especially at the end of a line. You should set up the equipment so
that it will accept a dummy value of 0000 as a valid checksum. This zero
checksum is a way of disabling the transmission checksum while still
keeping within the JEDEC format rules.
Translation Formats
AutoSite User Manual B-37
JEDEC Full Format, Code 91
The full JEDEC format consists of a start-of-text character (STX), various
fields, an end-of-text character (ETX), and a transmission checksum. A