MON51 User's GuideIntroduction Theory of Operation Configuring MON51 INSTALL.A51 Interrupt Offset Serial Baud Rate Other Functions INSTALL.BAT MON_BANK.A51 Troubleshooting Configuring Projects Errors and Warnings Debugging Programs
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 Serial-Type <[>XData-Start <[>Code-Start <[>BANK<]><[>PROMCHECK<]><]><]>
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.
XData-Start specifies the page number in xdata memory that MON51 uses for its variables. Valid values are 00-FF (for 0000h, 0100h, 0200h, ..., 0FF00h). The page MUST be von Neumann memory that can be accessed from both code and xdata space. The page specified may not be used by your target program.
Code-Start specifies the page number in code memory where the MON51 program starts. Valid values are 00-F0 (for 0000h, 0100h, 0200h, ..., 0F000h). The default value is 00. MON51 typically requires 4K-5K Bytes.
The BANK option adds code banking support to MON51. If you use this option, you must configure the code banking routines in MON_BANK.A51.
The PROMCHECK option instructs MON51 to check if RAM or ROM is present at code address 0000h after a reset. If ROM is present, MON51 jumps to address 0000h in code memory.
If you locate the monitor at address 0000h (in a ROM device) you should not enable the PROMCHECK option (MON51 will loop endlessly jumping to itself).
The following command line:
install 8 7F 00
creates MON51 with the following configuration:
The MON51.HEX file that is built by INSTALL.BAT may be burned into EPROM or otherwise downloaded into your target system.