\documentstyle[a4,12pt]{article}
\begin{document}
\author{Rainer Thonnes}
\title{Blowing EPROMs on the Stag PPZ}
\maketitle
\parskip .1 in
\setcounter{secnumdepth}{10}
\parindent 0in

\section{Transferring prom files between APM and Stag PPZ "universal" programmer}

Files are normally prepared in Motorola S-record loader format, as generated
by most local assemblers. There exist utilities for converting between
this format and pure binary (TOBIN and FROMBIN). Alternatively, prepare
files in any format you know the Stag PPZ can cope with.

In what follows "NNN" means "not normally necessary". This is because
the PPZ remembers all selected characteristics even when switched off.
So most parameters will normally already be set up as you will want them
to be. (If you change obscure parameters to exotic values, please
change them back when you have finished, do NOT assume that when you
switch off they will revert to a default - they won't!)

\small\tt \begin{verbatim}*  Ensure the PPZ is set up as follows:
   - (NNN) Select "Set System" menu.
     - (NNN) Select "Set Interface Hardware" sub-menu.
       - (NNN) For each of "Serial I" and "Serial II", ensure the remaining
         characteristics are compatible with APM and terminal (NB they
         should be the same).  The normal values are: 9600 baud, 8 bits,
         parity off, 1 stop bit.
     - (NNN) Select "Set I/O Software" sub-menu.
       - (NNN) Select format "MOTOROLA S-Record", and "Ctrl Z" OFF.
     - (NNN) Select "Miscellaneous" sub-menu.
       - (NNN) "Pass-through" ON.

* (NNN) Find the RS232 cable connecting the APM to the terminal.  Unplug
   the terminal end and plug it into the connector on the back of the
   PPZ marked "RS232(1)".

*  (NNN) Find a spare RS232 cable (straight-through, male-to-female), and
   connect it between the terminal and the connector at the back of the PPZ
   marked "RS232(2)".

*  Select "I/O" menu.
   - (NNN) Select "I/O type" INPUT if you wish to send a file TO the PPZ.
   - Select OUTPUT if you wish to send a file FROM the PPZ to the APM.
   - (NNN) In either case, select "I/O Interface" SERIAL I.
   - (NNN) If appropriate, modify the offset address and address limits.
   - Select "Start I/O" function.
     The PPZ screen should display the message
     "Motorola S-record load" or "Motorola S-record dump".
     The terminal should now behave as if it were directly connected
     to the APM.  You may then log on and type the command "SETUP STAG".

*  Type the command  "ZSEND X"  or  "ZREAD /Y"  depending on whether you
   wish, respectively, to send a file to the PPZ or read a file from the
   PPZ, with X and Y being the names of the files involved.
   Once the command has been typed, the message on the PPZ screen should
   change to "Motorola S-record load/dump in progress", and the
   terminal WILL GO DEAD.
   When the transfer has finished, the message should change to
   "Motorola S-record load/dump completed", but the terminal will REMAIN
   DEAD until you select "RESET" or "Start I/O" again.
\end{verbatim}\rm  \normalsize 

RWT January 1986 revised March 1987
\vspace{.75in} stag:prom.doc printed on 15/03/89 at 14.08

\newpage
\tableofcontents
\end{document}
