Current Directory: | CD-ROM Root / examples / board • View as a list of files. |
---|---|
Quick Links: | CD-ROM Root • unsw • gnutools • xilinx • examples • reference • board • utils |
The examples/board directory contains sample projects that you can run on the DSLMU Microcontroller Board. You should look at these files in conjunction with reading the DSLMU Microcontroller Board Hardware Reference Manual. You will also want to read An Introduction to Komodo. Please note that you will need Adobe Acrobat Reader (or another PDF viewer) on your computer to read these documents.
You use the files in this directory by reading through each of them in the order presented below (in the Directory Contents section), then copying the files into your own directory, compiling them and running them on the DSLMU Microcontroller Board using the Komodo debugger. You would do this by typing something like the following at the Linux shell prompt:
$ | mkdir ~/board | # Create a directory to hold the files |
$ | cp /mnt/cdrom/examples/board/* ~/board | # Copy all of the files from the CD-ROM |
$ | cd ~/board | # Change to the new directory |
$ | chmod 644 * | # Make all of the files read/writable |
$ | make all | # Create the executable files |
$ | kmd & | # Use Komodo to run the executable files |
$ | …and so on. |
Please note that the “$
” indicates the Linux
shell prompt: you don’t type it in. This set of commands also
assumes that you have already mounted this CD-ROM on your computer, and
that the mount point (where the CD-ROM can be found within the
file system) is /mnt/cdrom; see the instructions for mounting the
CD-ROM for more details.
CD-ROM Root Directory |
examples: Example files and templates |
intro: Sample projects that can be run on the DSLMU Microcontroller Board This is the current directory |
README.html: The file you are currently reading |
Makefile: Makefile for the sample projects |
flash-leds.s: Flash the LEDs on and off |
teletype.s: “Glass teletype” to communicate with the board through the serial port |