The Axiom CMD11E1 single board computer is a fully assembled, fully functional development system for the Motorola 68HC11E1 microcontroller, complete with wall plug power supply and serial cable. Support software for this development board is provided for Windows 95 and NT operating systems.
"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...
EDIT or NOTEPAD programs that come with your computer. Once your source code is written and saved to a file, you can assemble or compile it to a Motorola S-Record (hex) format. This type of output file usually has a .MOT, .HEX or .S19 file extension and is in a format that can be read by the programming utilities to be programmed into the CMD11E1 board.
If there are no errors in your source code, 2 output files will be created: a Motorola S-Record file that can be programmed into memory HELLO.S19 a common listing file which shows the relationship between source HELLO.LST and output The listing file is especially helpful to look at when debugging your program. If your program has errors, they will be displayed and no output will be generated, otherwise the listing file will be displayed.
Programming External EEPROM When finished with program development you can program your application into EEPROM so it executes automatically when you apply power to the board. The following procedure does this: Make a backup copy of the HELLO.ASM source code. Use a text editor to modify HELLO.ASM.
MEMORY ADDRESS DECODING Address decoding is accomplished using a GAL16V8 programmable logic device. Address lines A<8:15>, AS (address strobe), R/W (read/write), and E (clock) are processed to provide the memory control signals as shown below by default. Custom configurations, differing from that shown below, are also possible.
MEMORY MAP The following memory map is for a 68HC11E9 as shipped in this development board. Other 68HC11 devices in the A and E series may also be used with this board. These optional devices differ in the amount of internal RAM, ROM and EEPROM available and the factory default value of the CONFIG register.
JUMPERS The CMD11E1 board is shipped from the manufacturer with the following default jumper settings: JP1 = OFF JP3 = ON JP6 = ON JP9 = OFF JP2 = OFF JP4 = ON JP7 = ON JP10 = ON JP5 = OFF JP8 = OFF JP13 = OFF Memory socket U5 is shipped with a 32K byte RAM device.
Memory Selection Jumpers JP3 – JP10 The factory setting for the jumpers should be correct for the memory devices that came with your board. If you add or modify the type or size of memory, you must change the following jumpers accordingly.
PORTS AND CONNECTORS LCD_PORT The LCD Display interface is connected to the data bus and memory mapped to locations $B5F0 through $B5F3. Addresses $B5F0 and $B5F1 are the Command and Data registers respectfully. The LCD interface supports all OPTREX DMC series displays up to 80 characters and provides the most common pinout.
SERIAL PORTS The onboard serial port COM1 is a simple three wire asynchronous serial interface with hard wired Clear to Send (CTS) and Data Terminal Ready (DTR). It is driven by the HC11 internal SCI port using I/O pins PD0 and PD1. These two logic level signals are coupled through an RS232 level shifter to the COM1 connector.
SS: KEBOARD The SS:KEYBOARD interface is available but not brought out to a connector. It can be implemented with software drivers through the SPI feature of the 68HC11. Such a configuration is used with a serially encoded keyboard. This port can also be used as a keypad by using PD<2:5> as column lines with E<1:4>...
BUS_PORT The BUS_PORT supports off-board parallel devices. Power (+5V), ground, address lines, data lines, and control lines are brought out to this 34 pin connector. Pin assignments are as follows: BUS_PORT ¨ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡...
TROUBLESHOOTING TROUBLESHOOTING The CMD11E1 board is fully tested and operational before shipping. If it fails to function properly, inspect the board for obvious physical damage first. Ensure that all IC devices in sockets are properly seated. Verify the communications setup as described under GETTING STARTED and see the Tips and Suggestions sections following for more information.
Page 18
Tips and Suggestions Tips and Suggestions Following are a number of tips, suggestions and answers to common questions that will solve most problems users have with the CMD11E1 development system. You can download the latest software from the Support section of our web page at: www.axman.com AxIDE If you’re program code memory, make sure jumpers 1 and 2 are set parallel to the...
TABLES TABLE 1. LCD Command Codes Command codes are used for LCD setup and control of character and cursor position. All command codes are written to LCD panel address $B5F0. The BUSY flag (bit 7) should be tested before any command updates to verify that any previous command is completed. A read of the command address $B5F0 will return the BUSY flag status and the current display character location address.
Page 20
TABLE 3. Buffalo Monitor Commands Assembler/Disassembler ASM [<address>] Block fill memory with data BF <addr1> <addr2> <data> Breakpoint set BR [-] [<address>]... Bulk erase EEPROM BULK Bulk erase EEPROM + CONFIG register BULKALL Execute subroutine CALL [<address>] Execute program G [<address>] Display monitor commands HELP Download S-records via terminal port...