
MOTOROLA KITEVS2107QS/D
2Quick Start Guide
3. Start CMB communication by selecting Hyper
Terminal from the Programs/Accessories group
of your computer. (Alternatively, activate a
comparable terminal emulation program.)
4. TheConnectionDescriptiondialogboxappears.
Enter a name and click on the OK button.
5. The Connect To dialog box appears. Select the
COM port to which you connected your serial
cable, then click on the OK button.
6. The Properties dialog box appears. Set the port
properties to 19200 bits per second, 8 data bits,
no parity, 1 stop bit, and no flow control. Click on
the OK button.
7. Connect the 12-volt power supply to line power;
apply 12-volt power to the MPFB1200.
8. The Picobug prompt appears in the Hyper
Terminal window. (Depending on your system,
you may need to press the enter key to bring up
the Picobug prompt.)
(Had the build process been set up to output an
S-record file, you could use Picobug at this point
to start debugging your application. But this
quick-start guide makes use of the more
powerful GNU debugger.)
9. From the Call menu, select Disconnect. Close
the Hyper Terminal window.
Build a Sample Application
1. Copy the CD-ROM subdirectory
Dev_Sys\MMC2107\quickstart to the root
directory of your hard disk (for example, to root
directory C:\).
2. Open an MS-DOS window, and change to the
quickstart subdirectory of your hard disk.
3. When the MS-DOS prompt returns, type
mpfb1200_qs and press the enter key. This
runs a batch file that sets up your application
environment. (Leave the MS-DOS window open
for later use.)
Debug Your Application
1. At the MS-DOS prompt, type
gdb-mcore mpfb1200_qs.elf. Press the
enter key.
2. At the GDB prompt, type target picobug
com2. (If you are using a different
communications port, change this command
appropriately.) Press the enter key.
3. At the GDB prompt, type load
mpfb1200_qs.elf. Press the enter key.
4. At the GDB prompt, type list. Press the enter
key several times to view the application. (The
program consists of 162 lines.)
5. At the GDB prompt, type run and press the
enter key. A Motorola MPFB1200
congratulations message advances across the
LCD display.
6. Press the CMB2107 reset switch. Then, at the
GDB prompt, type load mpfb1200_qs.elf,
and press the enter key.
7. At the GDB prompt, set a breakpoint at line 137
type BR 137 and press enter.
8. At the GDB prompt, type run and press the
enter key. The application executes until it
reaches line 137. The MS-DOS window shows
typical breakpoint information. The LCD display
shows only the words Motorola MPFB1200.
9. At the GDB prompt, delete the breakpoint: type
del 1and press the enter key.
10. At the GDB prompt, type cand press the enter
key. The application resumes execution of the
message loop; the congratulations message
again advances across the LCD display.
11. Press the CMB2107 reset switch.
12. At the GDB prompt, type qand press the enter
key. This quits the debugger application.
You have just set up your CMB2107 and your
MPFB1200; you have just used a simple application.
NOTE: Before you create and debug
applications of your own, check the product
release guides for your CMB and for your EVS
kit.ShouldCMBFLASHneedanewerversionof
system software, upgrade instructions will be in
one of these documents.
Motorola reserves the right to make changes to any products
herein to improve functioning or design. Although the
information in this document has been carefully reviewed and
is believed to be reliable, Motorola does not assume any
liability arising out of the application or use of any product or
circuit described herein; neither does it convey any license
under its patent rights nor the rights of others.
© 1999, 2000, MOTOROLA, INC.; ALL RIGHTS RESERVED.
No part ofthis document maybe copied byany means without
written permission from Motorola, Inc. Motorola and the
Motorola logo are registered trademarks and M•CORE is a
trademarkofMotorola,Inc.Allotherbrandandproductnames
appearing in this brochure are trademarks or registered
trademarks of their respective owners.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...