CML12C32SLK Freescale Semiconductor, CML12C32SLK Datasheet - Page 10
![no-image](/images/manufacturer_photos/0/2/262/freescale_semiconductor_sml.jpg)
CML12C32SLK
Manufacturer Part Number
CML12C32SLK
Description
KIT STUDENT LEARNING 16BIT HCS12
Manufacturer
Freescale Semiconductor
Type
MCUr
Datasheet
1.CML12C32SLK.pdf
(28 pages)
Specifications of CML12C32SLK
Contents
*
For Use With/related Products
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
C M L - 1 2 C 3 2
If the source code assembles with no fatal errors 2 output files are created:
The list (.LST) file is especially helpful when debugging. The list file shows each error en-
countered and its location. Fatal errors prevent the output files from being generated. A count
of errors and warnings encountered can be found at the end of the list file.
Executing Applications
After creating a Motorola S-Record file, "upload" it to the development board for a test run.
The provided example “HELLO.ASM” was created to run from external RAM. The embedded
monitor can be used to test the program without programming it into Flash.
If not already completed, verify that the CML-12C32 board is connected and operating properly
by following the steps under “GETTING STARTED” until you see the monitor prompt, then fol-
low these steps to run your program:
1. Press and release the RESET button on the CML-12C32 board. You should see the
2. Type LOAD ↵
3. Click the Upload button and when prompted for a file name select your assembled pro-
4. When finished loading the > prompt returns. Type: GO 4000 ↵.
5. If everything is working properly, the message “Hello World” will echo back to the terminal
6. If this message is not displayed on the terminal monitor, see the TROUBLESHOOTING
The “Hello World” program can be easily modified to display other strings or perform other
functions. Procedures for assembling, uploading, and executing program code are the same.
The embedded monitor many features to support program debug such as breakpoints, mem-
ory dump and modify, and simple program trace (redirect of the PC is not followed). Type
HELP at the monitor prompt for a listing of commands or consult the monitor documentation on
the disk for more information.
PRESS ANY KEY message. Press the letter E key to get the monitor prompt.
This will prepare the embedded monitor to receive a program.
gram file in S-record format that was created in the previous section called: HELLO.S19.
Your program will be sent to the board through the serial port.
execution at address 4000
screen. Press RESET to return to the monitor.
section of this manual
HELLO.S19
HELLO.LST
a Motorola S-Record file that can be programmed into memory.
a common listing file which provides physical address information
with resulting opcode and operand information. Warnings and error
messages are provided with a summary at the end of this file.
h
. This is the starting address of the test program.
10
This starts program
J U L Y
2 6 ,
2 0 0 4