
M-51
A Simple Debugging Monitor for TAPR’s TUC-52
Operations Guide
Issue 1 – January 21, 1998
(For M-51 Ver 980121-3.00a)
Tucson Amateur Packet Radio
8987-309 E. Tanque Verde Rd., #337
Tucson, AZ 85749-9399
Phone: +1 940-383-0000
Fax: +1 940-566-2544
Copyright 1997
1998, TAPR. All Rights Reserved.
This document may be reproduced by individuals for their own personal use, provided this notice is included in any reproduction.
The information in this document is subject to change without notice and does not represent a commitment on the part of anyone to do
anything. No warranty, express or implied, is made regarding this document or associated firmware, or its use or misuse.
File: m51-i1.doc
1.
INTRODUCTION
This document describes a version of an 8051 monitor called M-51 that has been customized to run on
TAPR’s (Tucson Amateur Packet Radio) TUC-52 board. TUC-52 is a universal controller that TAPR
makes available for ham radio applications.
The M-51 monitor is like most other simple debug monitor for a single board, stand alone, microcomputer
system. A somewhat unusual feature for this simple monitor is that is allows the user to single-step through
user programs executing from double mapped (program and data) RAM memory.
This manual describes how to use the monitor, what's needed for hardware, and different options for
recovering the lost P0 and P2 ports, which are not available for I/O since they are used to create the address
and data bus.
As with all instruction manuals, there may be some errors or sections that do not provide satisfactory
explanations. If you find errors or insufficient information, please contact me about these problems and I
will work to correct them.
2.
OVERVIEW
The monitor offers many commands to help debug a microcomputer program or system. All commands
consist of one , two or three letter commands. Commands can be followed by 0 to 16 arguments. All
command line arguments are numeric values in base 16 (hexadecimal). With the exception of the GO
command, all arguments are separated from the command and other arguments by white-space characters.
Arguments shown in angle brackets <LIKE-THIS> are optional. Within this document specific keyboard
presses are shown underlined and special characters are shown in braces. For example a space would be
shown as {sp}, a return would be shown as {rtn}, an escape would be shown as {esc} and a period when
used in a command line would be shown as {.}. All command input lines must be ended with a {rtn) (on
modern PCs the rtn key is labeled <-Enter)however some commands will accept a space as a command to