MONITOR-251


Introduction
-------------
The Monitor-251 has two parts:  the 251 monitor terminal program (MON251.EXE)
and the 251 monitor target program that runs on your 251 target hardware. You
must connect your PC to your target hardware with a serial cable.  This is
how the terminal program and the target monitor communicate.

We also have a DLL driver for dScope for Windows which lets you single step
through your code using the dScope debugger.  We will release this DLL as
soon as possible.



251 Monitor Terminal Program
----------------------------
The 251 Monitor terminal program is called MON251.EXE.  Invoke it from the
DOS command line as follows:

MON251 BAUDRATE (57600)

where BAUDRATE specifies the baudrate at which to connect with your target
hardware.



251 Monitor Target Program
--------------------------
The 251 Monitor target program is a HEX file that you use to create a ROM for
your 251 target hardware.  When your 251 target resets, it begins to execute
the 251 Monitor target program.  This program initializes your hardware to
talk to the 251 Monitor terminal program.

Using these two programs (one on the PC and one in your target) you can
easily load and test your 251 application programs.

You must create a 251 Monitor target program for your target hardware. The
following description provides a "General" overview of how to do this.  This
file also describes how to configure the 251 monitor for the Keil MCB251SB
evaluation board.

To create the 251 Monitor target program HEX file, you must invoke the 251
Monitor installation program from the DOS command prompt.  The command line
format for the installation batch file is:

INSTALL  { MODBIN | MODSRC }  <serialtype>  <datastart>  [INTR2] [PAGE] [CODESTART]

where:

  MODBIN creates the 251 monitor in binary mode

  MODSRC creates the 251 monitor in source mode

  <serialtype> = 0  uses Timer 1 at 9600 baud, 11.0592 MHz xtal
  <serialtype> = 1  uses Timer 2 at 9600 baud, xtal defined in INSTALL.A51
  <serialtype> = 2  Intel USBM Eval Board Rev.B  57600 bps
  <serialtype> = 3  Keil MCB251 Eval Board Rev.2.0  57600 bps

  <datastart> specifies the starting address for the monitor data area

  INTR2      creates the 251 monitor with support for 2-byte interrupt frames
  PAGE       configures for PAGE Mode (not working for Step A devices)
  CODESTART  specifies the starting address for the monitor code area

