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

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
Writing to Internal Flash Memory using AX12
When you’re finished with program development, you will probably want to write your program to Internal Flash Memory
so that it executes automatically when you apply power to the board. The following procedure is the easiest way to
accomplish this:
1. Use a text editor to modify HELLO3.ASM. You can use the built in “Edit” command in AX12 if you wish. Change the
2. Finally, comment out the “RTS” return line following the “ENDPROG” label. This will allow the program to do an
3. Select “Assembler” from the AX12 menu to assemble the modified HELLO3.ASM program.. This will prompt you for
4. Select “HC12 Utilities” from the menu. Follow ALL the onscreen instructions for executing the utilities firmware. If you
5. From the utilities menu, select "Erase Internal Flash" which must be done before writing over previously programmed
6. Select “Program Internal Flash” and when prompted for a file name, enter the new HELLO3.S19 file then select [OK].
7. Follow the instructions on screen when finished programming.
8. Remove the MOD jumpers so that the board will reset in single chip mode (auto-start flash memory)
9. Select “Terminal Window” from the menu then cycle power or press RESET on the board. Your new HELLO program
WARNING
being accidentally erased or damaged.
To return to development mode, simply re-install the MOD jumpers and press RESET.
See the Online "Help" menu option for more information and documentation for the other utilities included in AX12.
start of your program to program space in the external Flash Memory area ($8000 for example). In the case of
HELLO3.ASM, simply comment out the “ORG MONSTRT” line and remove the comment from the “ORG PRGSTRT”
line. Also, remove the comment in front of the “LDS #STACK” line, so that our program will initialize the stack (needed
when running stand-alone but should not be done while running under the monitor since it must handle the stack).
endless loop instead of returning, since we won’t be calling it from the monitor. Save the program and exit the editor.
that file name then execute the batch file DO_ASM.BAT which automates the assembly process and creates a listing
file.
have trouble here, see the TROUBLESHOOTING section.
memory.
should start automatically.
: As a safety precaution, ALWAYS remove the VPP_EN jumper after programming to protect the micro from
5

Related parts for CME-12B32