Motorola CME-12D60 User Manual
Motorola CME-12D60 User Manual

Motorola CME-12D60 User Manual

For motorola 68hc912d60 microcontroller

Advertisement

Quick Links

CME-12D60
Development Board for Motorola
68HC912D60 Microcontroller
xiom
anufacturing
2000
2813 Industrial Ln.
Garland, TX 75041
(972) 926-9303 FAX (972) 926-6063
email: Gary@axman.com
web: http://www.axman.com

Advertisement

Table of Contents
loading

Summary of Contents for Motorola CME-12D60

  • Page 1 CME-12D60 Development Board for Motorola 68HC912D60 Microcontroller xiom anufacturing 2000 2813 Industrial Ln. Garland, TX 75041 (972) 926-9303 FAX (972) 926-6063 email: Gary@axman.com web: http://www.axman.com...
  • Page 2: Table Of Contents

    GETTING STARTED ...3 Installing the Software... 3 Board Startup ... 3 Support Software ... 4 Software Development ... 4 TUTORIAL...5 Creating source code ... 5 Assembling source code ... 6 Running your application ... 7 Programming Flash EEPROM... 8 MEMORY MAP ...9 CONFIG SWITCH...10 JUMPERS...11 MON-SEL JUMPER ...
  • Page 3: Getting Started

    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.
  • Page 4: Support Software

    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.
  • Page 5: Tutorial

    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.
  • Page 6: Assembling Source Code

    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.
  • Page 7: Running Your Application

    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.
  • Page 8: Programming Flash Eeprom

    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 ;...
  • Page 9: Memory Map

    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...
  • Page 10: Config Switch

    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...
  • Page 11: Jumpers

    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.
  • Page 12: Ports And Connectors

    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.
  • Page 13: Mcu_Port

    The MCU_PORT provides access to the peripheral features and I/O lines of the HC12 as follows: /XIRQ, PE0 9 10 /DBE, PE7 VFP 11 12 /LSTRB PG6 13 14 PG7 PG4 15 16 PG5 PG2 17 18 PG3 PG0 19 20 PG1 PH6 21 22 PH7 PH4 23 24 PH5 PH2 25 26 PH3...
  • Page 14: Com1

    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.
  • Page 15: Bus_Port

    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.
  • Page 16: Troubleshooting

    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...
  • Page 18: 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 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.

Table of Contents