C M L - 1 2 C 3 2
J U L Y
2 6 ,
2 0 0 4
If the source code assembles with no fatal errors 2 output files are created:
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.
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
PRESS ANY KEY message. Press the letter E key to get the monitor prompt.
2. Type LOAD ?
This will prepare the embedded monitor to receive a program.
3. Click the Upload button and when prompted for a file name select your assembled pro-
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.
4. When finished loading the > prompt returns. Type: GO 4000 ? .
This starts program
execution at address 4000 h . This is the starting address of the test program.
5. If everything is working properly, the message “Hello World” will echo back to the terminal
screen. Press RESET to return to the monitor.
6. If this message is not displayed on the terminal monitor, see the TROUBLESHOOTING
section of this manual
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.
10
相关PDF资料
CMR-8040 RACK CABLE MANAGMNT OPEN ASSMBLY
COP8SG-EPU BOARD PROTOTYPE/TARGET COP8
CORE1553-DEV-KIT KIT DEVELOPMENT FOR IP CORE1553
CP131-AG LNR PWR SUP 5V 8A, +/-12V 1.7A
CPC1590P MOSFET GATE DVR ISO 8-FLATPACK
CPC5002G ISOLAT DGTL 3.75KVRMS 2CH 8-DIP
CPCI-D-3U-300C PWR SUPLY DC/DC CPCI 300W 3UX8HP
CPD250-4530G PWR SUP 250W 3.3/5/12/-12V QUAD
相关代理商/技术参数
CML12GC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V GREEN CLEAR
CML12GS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, GREEN, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V GREEN SATIN
CML12RC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V RED CLEAR
CML12RS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, RED, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V RED SATIN
CML12WC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V WHITE CLEAR
CML12WS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, WHITE, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V WHITE SATIN
CML12YC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V YELLOW CLEAR
CML12YS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, YELLOW, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V YELLOW SATIN