9/11/95
Page 6
The
pdrem.cfg
file created by the installation is not customized for the SD186EM board.
The correct configuration for the SD186EM board is shown in Figure 5. The information
that needs to be changed is shown in boldface.
Use
nmaker
(real-mode nmake) instead
nmake
to run the makefile in a Microsoft
Windows DOS box to avoid possible conflict between
nmake
and
locate
. The
README.TXT file in the
c:\locate
directory explains this conflict in more detail.
After
nmake
(or
nmaker
) finishes, the ROM file
pdrem.hex
in the
pdrem
directory is created and is
ready to be downloaded to the SD186EM board.
2. DOWNLOADING PDREM TO THE SD186EM BOARD:
The purpose of downloading PDREM to the SD186EM board is to create a high level source and data
debugging environment for the Paradigm Debug/RT. The PDREM file (
pdrem.hex
) can be
downloaded to the target by any communication program, provided that the protocols are set up
correctly. This section shows how to download the PDREM monitor to the target board using the
Windows
Terminal
program available in Microsoft Windows. The process involves the following
steps:
a) Invoke the
Terminal
program by selecting the
Accessories
icon from the
Program Manager
Window; then double click on the
Terminal
icon.
b) When the
Terminal
program starts up, click
Settings
|
Communications
to set the communication
protocol as shown in Figure 6A; where
COM2
displayed in
connector
should be replaced by the
serial port which connects the SD186EM board to the PC, then hit
OK
. As mentioned in the
previous section, the baud rate defined on the target system at this point is controlled by E86MON
and is programmed at 19200 (PDREM has not been downloaded yet).
c) Push the reset button on the board, the LEDs should flash off and on. Press <ctrl-break>
3
on the
keyboard to signal E86MON to begin operation. Once communication is established, the
e86
:
prompt will appear on the screen.
d) Click
Settings|Text Transfer
from the
Terminal
program, and set the handshaking protocol as
shown in Figure 6B, then click
OK
.
e) From the
Terminal
program, type a
p<
CR
>
at the
e86
: prompt to tell the monitor to receive a
HEX file and program it into the FLASH memory. The message “Begin file transfer...” appears on
the screen.
f) Click
Transfer|Send TextFile...
from the
Terminal
program. As soon as the selection is made, a
window with a list of file names pops up, select the
pdrem.hex
file in the
pdrem
directory. When
the user clicks the OK button, E86MON starts programming the FLASH memory using data in the
pdrem.hex
file. During this time, the LEDs on the board flash randomly, and the
Terminal
program reports the status of the process on the screen.
3
Press Ctrl key and Break[Pause] key at the same time.