MON251 User's Guide

INSTALL.BAT

The INSTALL.BAT batch file assembles and links the monitor using configuration parameters you specify on the command line. INSTALL.BAT is invoked from the command prompt using the following command-line syntax:

INSTALL { MODBIN | MODSRC } Serial-Type Data-Start [INTR2]

Where

MONBINSpecifies binary mode for the 251 CPU.
MOBSRCSpecifies source mode for the 251 CPU.
Serial-TypeSpecifies which serial I/O routine MON251 uses (see table below).
Data-StartSpecifies the start address of the off-chip von-Neumann memory area that MON251 uses for internal variables (32 Bytes). The value is a HEX number between 010000H and 0FFFFE0H.
INTR2Configures the 251 CPU for 2-bytes interrupt frame size.

Serial-Type

Serial-Type is a number which selects the serial port and baudrate used by MON51. You may modify the serial port configurations in the INSTALL.A51 file or you may create additional configurations to suit your requirements.

The following table lists the standard configurations that are pre-configured in INSTALL.A51.

Serial
Type
Serial
Interface
Clock
Source
Baud RateCPU Clock
(MHz)
Processors
00Timer 1960011.0592All 251 Variants
10Timer 2defined with XTAL in INSTALL.A51(default 9600 bps)defined with XTAL in INSTALL.A51All 251 Variants
3external SIOexternal SIOdefined with XTAL in INSTALL.A51 (default 57600 bps)the external SIO clock is 1,8432MHzfor MCBx51 Evaluation Board

Example

The following command line:

INSTALL MODBIN 1 0FF7FE0H

creates MON251 with the following configuration:

  • Binary Mode for the 251 CPU.
  • Using serial interface 0 with timer 2 as baudrate generator.
  • MON251 data space at 0FF7FE0h-0FF7FFFh.

The MON251.HEX file that is built by INSTALL.BAT must be loaed to Flash or EPROM at address 0FF0000H into your target system.

Installation on the MCBx51 Board

Use the following invocation to install MON251 on a MCBx51 Board.

Source mode using the external SIO:

INSTALL MODSRC 3 0xFEFFE0

Binary mode using the on-chip SIO:

INSTALL MODBIN 1 0xFEFFE0