CME-12B32 AXIOM, CME-12B32 Datasheet - Page 6

Microprocessor Development Tool

CME-12B32

Manufacturer Part Number
CME-12B32
Description
Microprocessor Development Tool
Manufacturer
AXIOM
Datasheet

Specifications of CME-12B32

Silicon Manufacturer
Freescale
Kit Contents
Board
Silicon Core Number
68HC12B32
Memory Organization - Flash
32 KB
Development Tool Type
Hardware - Eval/Demo Board
Clock Frequency
16MHz
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
C M E 1 2 B 3 2
M A N U A L
Using the BDM
If you purchased the BDM module, the easiest way to get started is to become familiar with the BDM software. If you have
not done so already, install the BDM software now (see the BDM reference manual for instructions).
After installing and running the BDM software, you must Configure it to work properly with the CME12B32 board. Select
the menu item Config / Configure to see the dialog box as follows:
Make sure the Device select is set to 912B32 and Breakpoints are set to Hardware. Also the reset Macro file should be
selected and point to the directory you installed the BDM software into. There is an example reset macro called
B32RESET.MAC that was written specifically for the HC12B32 you might want to use. The macro file will enable the
external bus even if Single Chip Mode is selected, however, the internal flash eprom will contain the reset and interrupt
vectors so that unless programmed, the BDM will be more difficult to use.
To debug code using External RAM (JP3 OFF) set the "Mode after reset" option to Expanded Wide. Whenever the BDM
software is RESET, it will use External Memory addressing and will go fetch the address at $FFFE-$FFFF as the reset
vector and set the Program Counter to this address.
Click the RESET button in the BDM software so the configuration changes will take effect. The memory will most likely
change and the PC will reset to whatever value is in external RAM location $FFFE. Since this is RAM, you can modify this
value using the data window if you like. It's a good idea to set this word in your application program.
Example Program
Included on CME12B32 software disk is a program called HELLO3.ASM. This is a simple program that outputs a text
string to the HC12 serial port. It can be modified and assembled using the included free assembler, but for now just load it
into the BDM by selecting File / Load S19 or Hex from the menu. The file name is HELLO3.S19.
This program starts at address $8000, but since it does not include a RESET vector, you must change the Program
Counter manually. Double click the PC address in the Regs window. Type in 8000 and click OK. The Program window
should now change to the beginning of the Hello3 program at address $8000.
Since this program outputs text to the serial port, you need some way of monitoring that port. If you have not done so
already, connect a serial port from your PC to the development board as described under Getting Started. Run the
AX12.EXE program and select Terminal Window (or any windows terminal program set to 9600,N,8,1) to monitor the
serial port.
6

Related parts for CME-12B32