Motorola DG128 User Manual

Page of 27
4
5. Apply power to the board by plugging in the power adapter that came with the system.
6. If everything is working properly, you should see a message to “PRESS KEY TO START
MONITOR…” in your terminal window.  Press the ENTER key and you should see:
Axiom MON12 - HC12 Monitor / Debugger
> _
7. Your board is now ready to use!  If you do not see this message prompt, or if the text is
garbage, see the TROUBLESHOOTING section at the end of this manual.
Support Software
There are many programs and documents on the included HC12 support CD you can use with
the CMD912X board.   You should install what you want from the main menu then browse the
disk and copy what you like to your hard drive.
At minimum, you should install the AxIDE program.  This flash programming utility
communicates with the board via its COM1 port and the supplied serial cable.  This program
also includes a simple terminal for interfacing with other programs running on the CMD912X
and information from your own programs that send output to the serial port.
Also on the disk are free assemblers, the GNU C/C++ compiler tools for HC12, example
source code, and other useful software.  The introductory tutorial in this manual uses the free
AS12 assembler integrated into the AxIDE program.  This is a simple assembler with limited
capability.  For a more powerful assembly tool, install the Motorola MCUez program from the
CD.  This will allow you to used PAGED memory in your application.
Software Development
Software development on the CMD912x can be performed using either the Mon12 monitor
utility installed in EPROM (sockets U6/U7), a third party debugger (NoICE, CodeWarrior, etc.)
or a Background Debug Module (BDM) connected to the PM12xx Module BDM PORT
connector.  Any of these tools can be used to assist in creating and debugging your program
stored in RAM (see Memory Map).
After satisfactory operation running under a debugger, your program can be written to Internal
Flash Memory by changing the PM12xx Module MODE SWITCH settings and programming it
using one of the included programming utilities.  Your program may l then run automatically
whenever the board is powered on or RESET is applied.
Option switches on the board allow for easy transition from operating monitor or debugger and
user code.