Motorola CMD11E1 manual Tutorial, Support Software, Software Development, Creating source code

Page 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 programming and micro configuration interface to the board. example source code, and other tools to get you started.

provide an easy to use memory Also on the disk is a free Assembler,

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.

4

Image 4
Contents CMD11E1 Contents Getting Started Installing the SoftwareBoard Startup Tutorial Support SoftwareSoftware Development Creating source codeAssembling source code AS11 HELLO.ASM -l cre s HELLO.LSTRunning your application HELLO.LSTProgramming External Eeprom Fdb StartMemory Address DecodingMemory MAP 0FFFJumpers Mode Select Jumpers JP1 and JP2Buffalo Trace Jumper JP13 Memory Selection Jumpers JP3 JP10 U7 DeviceLcdport Ports and ConnectorsKeypad Serial Ports Parallel Ports SS KeboardAuxport McuportReference BusportTroubleshooting Tips and Suggestions AxIDETables LCD Command CodesLCD Character Codes Buffalo Monitor Commands Load T