2. Connect one end of the supplied 9-pin serial cable to a free COM port on your PC. Connect the other end of the cable to the COM1 port on the CME-12D60 board. 3. Apply power to the board by plugging in the power adapter that came with the system.
Support Software There are many useful programs and documents on the included HC12 support CD that can make developing projects on the CME-12D60 easier. You should browse the disk and copy anything you want to your hard drive. The flash programming utility (AxIDE) communicates with the board via its COM1 port and the supplied cable.
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 and programmed into the CME-12D60 board.
If you prefer a windows integrated programming environment, try the Motorola MCU-EZ tools. Refer to the MCU-EZ documentation on the disk for more information.
After creating a Motorola S-Record file you can "upload" it to the development board for a test run. The provided example “HELLO.ASM” was created to run from RAM so you can use the Mon12 Monitor to test it without programming it into Flash.
After debugging, you can program your application into Flash Memory so it executes automatically when you apply power to the board as follows: 1. Make a backup copy of HELLO.ASM then use a text editor to modify it. Remove the comment ;...
Following is the memory map for this development board. Consult the 68HC912D60 technical reference manual on the CD for internal memory map details for this processor. FFFF CONFIG External EPROM U6/7 (Mon12) C000 BFFF External RAM U4/5 1000 Unused = A00-B7F LCD / CS7 = BF0-BFF CS6 = BE0-BEF The Internal Register base address is relocated from $000 to $800 on startup by the...
The CME-12D60 board is shipped from the manufacturer with the following default CONFIG SWITCH settings: The 8 position CONFIG SWITCH provides an easy method of configuring the CME-12D60 board operation. Following are the configuration switch descriptions and HC12 I/O port...
MON-SEL JUMPER Selects which firmware monitor in External EPROM (U6/7) the board will execute upon reset in expanded mode with monitor enabled by CONFIG SWITCH position 4. Mon12 Debug Monitor Third party firmware support (NoICE, Metrowerks, etc.) PG_PULL / PH_PULL JUMPERS Pull up or Pull down I/O line bias resistor option jumpers.
LCD_PORT The LCD_PORT interface is connected to the data bus and memory mapped to locations BF0 – BFF hex assigned to CS7. For the standard display, address BF0 is the Command register, address BF1 is the Data register. The interface supports all OPTREX characters and provides the most common pinout for a dual row rear mounted display connector.
The COM-1 port has a Female DB9 connector that interfaces to TXD0 2 6 the HC12 internal SCI0 serial port. It uses a simple 2 wire RXD0 3 7 asynchronous serial interface and is translated to RS232 signaling levels. GND 5 9 Pins 1, 4, and 6 are connected for default handshake standards.
MODA/PE5 3 4 MODB/PE6 GND 5 6 +5V BDM-IN The BDM-IN port is a 6 pin header compatible in pinout with the Motorola Background Debug Mode (BDM) Pod. This allows the connection of a background debugger for software development, programming and debugging in real-time, since the BDM control logic does not reside in the CPU.
The CME-12D60 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 17
Following are a number of tips, suggestions and answers to common questions that will solve many problems users have with the CME-12D60 development system. You can download the latest software from the Support section of our web page at: www.axman.com Utilities If you’re trying to program memory or start the utilities, make sure all jumpers and...
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 19
BF <StartAddress> <EndAddress> [<data>] BR [<Address>] BULK CALL [<Address>] G [<Address>] HELP LOAD [<AddressOffset>] MD <StartAddress> [<EndAddress>] MM <StartAddress> <CR> </> or <=> <^> or <-> <.> MOVE <StartAddress> <EndAddress> <DestAddress> STOPAT <Address> [<count>] 1. Mon12 uses internal RAM space from $600 - $700. DO NOT use this space in your program if debugging under Mon12.