
DS2250(T)
021998 7/20
PROGRAM LOADING CONFIGURATIONS
Figure 3
PSEN
RST
D7–D0
A15–A12ADDRESS
A7–A0
A11–A8
PROGRAM
PROGRAM
V
CC
GND
DS2250
P1.7–
P2.3–
EA/V
PP
P2.7
P2.6
P2.5
XTAL1
XTAL2
P0.0
P3.4
PSEN
RST
V
CC
GND
DS2250
P1.7–
P2.5–
XTAL1
XTAL2
P0.0
P3.2
11.059 MHz
TXD
RXD
DRIVE/
RCV
RS232C
R<2K
PROGRAM
DATA IN/VERIFY
DATA OUT
R<2K
LOADING
SERIAL
P2.6
P2.7
ALE/PROG
SERIAL BOOTSTRAP LOADER
The Serial Program Load Mode is the easiest, fastest,
most reliable, and most complete method of initially
loading application software into the DS2250(T) nonvol-
atile RAM. Communication can be performed over a
standard asynchronous serial communications port. A
typical application would use a simple RS232C serial in-
terface to program the DS2250(T) as a final production
procedure. The hardware configuration which is re-
quired for the Serial Program Load mode is illustrated in
Figure 3. Port pins 2.7 and 2.6 must be either open or
pulled high to avoid placing the device in a parallel load
cycle. Although an 11.0592 MHz crystal is shown in
Figure 3, a variety of crystal frequencies and loader
baud rates are supported, shown in Table 2. The serial
loader is designed to operate across a three–wire inter-
face from a standard UART. The receive, transmit, and
ground wires are all that are necessary to establish
communication with the DS2250(T).
The Serial Bootstrap Loader implements an easy–to–
use command line interface which allows an application
program in an Intel hex representation to be loaded into
and read back from the device. Intel hex is the typical
format which existing 8051 cross–assemblers output.
The serial loader responds to single character com-
mands which are summarized below:
COMMAND
C
FUNCTION
Return CRC–16 checksum of em-
bedded RAM
Dump Intel Hex File
Fill embedded RAM block with
constant
Load 40–bit Encryption Key
Load Intel Hex File
Read MCON register
Trace (Echo) incoming Intel Hex
data
Clear Security Lock
Verify Embedded RAM with in-
coming Intel Hex
Write MCON register
Set Security Lock
Put a value to a port
Get a value from a port
D
F
K
L
R
T
U
V
W
Z
P
G
Table 1 summarizes the selection of the available Paral-
lel Program Load cycles. The timing associated with
these cycles is illustrated in the electrical specs.