Running Your Application - Axiom CMD11E1 User Manual

Development board for the motorola 68hc11e1
Table of Contents

Advertisement

If there are no errors in your source code, 2 output files will be created:
HELLO.S19
HELLO.LST
The listing file is especially helpful to look at when debugging your program. If your program has
errors, they will be displayed and no output will be generated, otherwise the listing file will be
displayed.

Running your application

After creating an 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 Buffalo Monitor
to test it without programming it into EEPROM.
If you haven't done so already, verify that the CMD11E1 board is connected and operating
properly by following the steps under "GETTING STARTED" until you see the buffalo prompt, then
follow these steps to run your program:
1. Press and release the RESET button on the CMD11E1 board. You should see the Buffalo
Monitor message. Hit the return key
2. Type LOAD T
This will prepare buffalo to receive a program.
3. Select Upload and when prompted for a file name select your assembled program file in s-
record format that was created in the previous section called:
Your program will be sent to the board thru the serial port.
4. When finished loading you will see the > prompt again.
Type CALL 2400
This tells buffalo to execute the subroutine at address $2400, which is the start of our test
program.
5. If everything is working properly you should see the message "Hello World" echoed back to
your terminal screen then, since we return at then end of our program, a line containing the
internal register status displayed by buffalo and the buffalo prompt.
6. If you do not get this message, try going thru this tutorial once more, then if still no go, see the
TROUBLESHOOTING section in this manual
You can modify the hello program to display other strings or do anything you want.
procedures for assembling your code, uploading it to the board and executing it remain the same.
Buffalo has many powerful features such as breakpoints, assembly/disassembly, memory dump
and modify and program trace. Type HELP at the buffalo prompt for a listing of commands or
consult the buffalo documentation file for more information.
a Motorola S-Record file that can be programmed into memory
a common listing file which shows the relationship between source
and output
to get the monitor prompt.
6
HELLO.S19
The

Advertisement

Table of Contents
loading

Table of Contents