This
Quick Start Guide provides a brief introduction to the M523xBCC and M5282LITE
kits.  Please use the procedure that follows in order to set up the kit’s
hardware components, install the kit’s software, and run a demonstration
application on the target hardware.  Instructions for compiling and debugging
applications using the BDM interface may be found in the Application
Development Guide.  The Application Development Guide is available in
electronic form on the M523xBCC/M5282LITE CD and as part of the RTXC Quadros
LITE Edition software.
The software has been configured to be compatible with
both the MCF523x based M532xBCC hardware and the MCF5282 based M5282LITE
hardware.  While there are differences in the two types of hardware, the use of
the kit's software is the same or similar for both cases.  The main detail to
be aware of is that the RTXC Quadros LITE example application source code for
the M523xBCC is located in Quadros\Examples\Quadros_ss\Mcf523x while the
M5282LITE source code is located in Quadros\Examples\Quadros_ss\Mcf5282.  To
avoid making the documentation overly convoluted, the documentation will assume
that the M5282LITE hardware is being used, but the same steps can be followed
for the M523xBCC hardware.
1. Definitions
1.1. CDPATH: The
file system path to the root directory of the CD-ROM.  For example “D:\”.
1.2. QUADPATH: The
file system path to the RTXC Quadros LITE Edition installation directory.  For
example “C:\Quadros”.
2. Hardware Setup
2.1. Connect the target board to the development workstation
using the DB9 serial cable.
2.2. Connect the power supply to the target and then apply
power to the power supply.
2.3. Verify that the “+2.5V” and “+3.3V” LEDs next to the
board’s power connector are lit.
2.4. The BDM cable is not needed for the Quick Start.  Do
not connect it at this time as it may interfere with the steps that follow.
3. Software Installation
Insert the CD-ROM into the development workstation’s
CD-ROM drive.  The ReadMe.html file should automatically display after a few
moments.  If the file is not displayed automatically, please open CDPATH\ReadMe.html.
3.1. RTXC Quadros LITE Edition
3.1.1. Click on the “RTXC Quadros”
link in the left hand menu.
3.1.2. Press the “Open” button on
the File Download prompt that appears.  This opens the RTXC Quadros LITE
Edition self-extracting archive.
3.1.3. Unarchive the RTXC Quadros
LITE Edition to a convenient location, such as "C:\Quadros".
3.2. GNU ColdFire Tools
3.2.1. For Windows NT, Windows
2000, and Windows XP installations, you must be logged in with administrative
privileges in order to install this software.  This is necessary in order to
install the driver used by the BDM interface.
3.2.2. Click on the “GNU Tools”
link in the left hand menu.
3.2.3. Press the “Open” button on
the File Download prompt that appears.  This will execute the GNU ColdFire
tools installation program.  The file is large, so it may take a few moments
for it to run.
3.2.4. Follow the instructions as
prompted by the installation program.  Avoid choosing an installation path
for the GNU ColdFire tools that includes spaces, such as "C:\Program
Files\Cygwin".  The use of an installation path such as
"C:\Cygwin" is preferred to insure that the software operates as
expected.
4. Using the M523xBCC/M5282LITE Target
4.1. Configure a Terminal Program
4.1.1. Run a terminal program such as HyperTerminal. 
HyperTerminal is part of the Windows operating system, but may not be installed
by default.
4.1.2. At the Connection Description prompt, enter “LITE_Target”
for the Name.
4.1.3. At the Connect To prompt, select the serial port (COM1,
COM2, etc.) that the target board was connected to in the Hardware Setup.
4.1.4. Set the Port Settings to 19200 Bits per second, 8 Data
bits, No Parity, 1 Stop bit, No Flow Control.
4.2. Reset the Target Board
4.2.1.
Press the button marked “RESET” on the
target board.  Your terminal program should now display a prompt similar to the
one below:
External Reset
 
ColdFire MCF5282 on the M5282Lite
Firmware v3b.1a.1a (Built on Mar 2 2004 11:46:04)
Copyright 1995-2003 Motorola, Inc.  All Rights
Reserved.
 
Enter 'help' for help.
 
dBUG>
4.2.2.
If your terminal program does not display
the prompt, check the target board’s power connection, the serial port
connections, and terminal program settings.
4.3. Download a Demonstration Program
4.3.1. In the HyperTerminal terminal window, enter the “dl”
command at the dBUG prompt.  This command will allow a program to be downloaded
to the target board’s RAM using the S-record file format.  You will be notified
to “Escape to local host and send S-records now...”.
4.3.2. Using HyperTerminal, choose “Send Text File” from the
Transfer menu.
4.3.3. Choose QUADPATH\Examples\Quadros_ss\Mcf5282\M5282LITE\Projects\gnu\bin\quadros_ss.s19
for the filename and press Open.  If browsing for the file, it will be
necessary to set the “Files of type” selection to “*.*” in order to see the
quadros_ss.s19 file.  For the M523xBCC hardware, make sure to choose the
QUADPATH\Examples\Quadros_ss\Mcf523x\M523xBCC\Projects\gnu\bin\quadros_ss.s19
file instead.
4.3.4. A rotating line in the bottom left corner of the
terminal window will indicate the download progress.
4.3.5. After a minute or two, the message “S-record download
successful!” should appear.
4.3.6.
Enter the command “go 20000” at the prompt
to start execution from address 0x20000.  The terminal window should now
display the following messages:
dBUG> go 20000
 
Hello World!
M523xBCC/M5282LITE example application
using RTXC Quadros Single Stack kernel
Thread: THREAD1  State: 1
Thread: THREAD1  State: 2
Thread: THREAD1  State: 3
Thread: THREAD1  State: 1
4.3.7.
The downloaded program will continue to
run until the target board is powered off or is reset.
5. Additional Kit Features
Use
the CDROM\ReadMe.html file as a starting point for learning more about
the M523xBCC/M5282LITE kit, including BDM interface usage, compiling and
debugging programs, target board documentation and schematics, RTXC Quadros
LITE Edition documentation, and OpenTCP documentation.