Tutorial, Support software, Software development – Motorola CMD11E1 User Manual
Page 4: Creating source code
4
If you do not see the buffalo message prompt like that above, or if the text is garbage, see the
TROUBLESHOOTING section at the end of this manual.
Support Software
There are many useful programs and documents on the included HC11 support CD that can make
developing projects on the CMD11E1 easier. You should browse the CD and copy anything you
want to your hard drive. See the README.TXT file for a description of what is included.
The main programming interface to the CMD11E1 board is the AxIDE program for 32-bit Windows.
This program communicates with the board via its COM1 port and includes a Terminal window for
interfacing with other programs running on the CMD11E1, such as the Buffalo Monitor or the
Basic11 interpreter. It is also useful for displaying information from your own programs that send
output to the serial port.
In addition to the terminal interface, this program also provide an easy to use memory
programming and micro configuration interface to the board. Also on the disk is a free Assembler,
example source code, and other tools to get you started.
Software Development
Software development on the CMD11E1 can be performed using the Buffalo Monitor utility
programmed in U7 EEPROM to test and debug your program stored in RAM on U5. During this
debug phase your program should be located just above the internal register block, for example
$2000 (see the Memory Map section for details).
After satisfactory operation your program can be relocated to start at address $E000 then written
to the EEPROM in U7 using the provided utility called AxIDE. After setting the appropriate
jumpers your program will start automatically when the board is powered on.
TUTORIAL
This section was written to help you get started with the specifics of the CMD11E1 software
development process. Be sure to read the rest of this manual as well as the documentation on the
disk if you need further information.
The following sections take you through the complete development cycle of a simple "hello world"
program, which sends the string "Hello World" to the serial port.
Creating source code
You can write source code for the CMD11E1 board using any language that compiles to Motorola
68HC11 instructions. Included on the software disk is a free Assembler and also a freeware C
compiler and Basic compiler.