DEMO9S08FL16: 8-Bit Microcontrollers

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Quick Start Guide for DEMO9S08FL16

DEMO9S08FL16
8-bit microcontrollers
Get to know the DEMO9S08FL16 Board
Power Select Jumper
Barrel Connector for (USB or External)
External Power

MC9S08FL16
RESET Button

Potentiometer

MCU Port

Open Source
BDM USB Port
SW1 and SW2

LED1 and LED2


DB9 RS232C
Serial Port
Quick Start Guide for DEMO9S08FL16

Introduction
DEMO9S08FL16 is a cost-effective kit targeting quick
MC9S08FL16 evaluation. It can be used to demonstrate
the features of the MC9S08FL16 devices. This quick start
guide is designed to get you ready to develop your next
cost-effective application using the MC9S08FL16
within minutes.
STEP
1 Install CodeWarrior™ Click Run Getting Started Tutorial from
the startup dialog, select a tutorial and
Development Studio follow the on-screen instructions.
for Microcontrollers
CodeWarrior is a powerful tool designed STEP
Install CodeWarrior
to help you minimize your time to market.
2 for Microcontrollers
CodeWarrior installation is a one-time
required step before connecting the board
6.2.2 Patch
to your computer. You must install the CodeWarrior 6.2.2
patch so CodeWarrior can create and
1. Insert the provided DVD into your
compile the MC9S08FL16 project. The
computer.
CodeWarrior 6.2.2 patch installation is a
2. Double click Install CodeWarrior one-time required step before connecting
Development Studio for the board to your computer.
Microcontrollers 6.2.
1. Install the provided DVD into your
3. Follow the on-screen instructions computer.
until installation is complete.
2. Double click Install CodeWarrior
Once the installation is complete, you can Development Studio for
take advantage of several CodeWarrior Microcontrollers 6.2.2 patch.
tutorials that will walk you through various
3. Follow the on-screen instructions
development tool features, such as
until installation is complete.
C Programming, Assembly
Programming, Using Processor After the CodeWarrior 6.2.2 patch is
Expert™ and more. Simply open installed, you can select the MC9S08FL16
CodeWarrior using the path Programs silicon when creating an application
> Freescale CodeWarrior > CW for and the MC9S08FL16 project can be
Microcontroller V6.x > CodeWarrior compiled correctly.
IDE.exe.
Quick Start Guide for DEMO9S08FL16

STEP STEP
3 Connect Board 4 Run and Debug
to Computer Example Code on Board
USB driver installation is a one-time 1. Copy DEMO9S08FL16 Demo code
required step, to be completed after from the provided DVD and save to
CodeWarrior installation. your PC folder.
1. Remove DEMO9S08FL16 demo 2. Start CodeWarrior from the Windows
board from anti-static bags. Start menu.
2. Connect the provided A to B gray 3. From the CodeWarrior main menu,
USB cable from a free USB port on choose File > Open and choose the
your computer to the USB connector DEMO9S08FL16\FL16_Demo.mcp
on the board. file from the folder where you saved
3. The operating system will recognize the DEMO9S08FL16 Demo code. Click
your board as new hardware and will Open. The Project window will open.
prompt you to install the USB drivers. 4. The C code of this example is
Choose the recommended option to contained in the main.c file.
install the software automatically. USB Double click on the file to open it.
drivers for your board were pre-loaded 5. From the main menu, choose Project
in the CodeWarrior installation. > Change MCU/Connection. When
4. Follow on-screen instructions until all the Device and Connection dialog
USB driver installations are complete. box appears, select HCS08 FSL Open
The green USB LED on the board Source BDM from top right window in
should illuminate. the dialog and click the Finish button.
This operation allows you to select
different debug tools for the targets.
In DEMO9S08FL16, FSL OSBDM is
applied and must be selected as the
tool before debug.
6. From the main menu, choose Project stopped. In this demo, press the
> Debug. This will compile the source SW1 push-button to turn the buzzer on
code, generate an executable file and and off. Press the SW2 push-button to
download it to the demo board. When the LED1 and LED2 alternate blinking
the “Warning” dialog appears, click OK on and off. Rotate the potentiometer,
to proceed. the LED1 and LED2 will blink
alternately with a frequency related to
the potentiometer value.

Start Your Development


Congratulations, you have successfully
7. A new debugger environment will completed this tutorial! We encourage
open. From the main menu, choose you to continue experimenting with
Run > Start/Continue. The program the CodeWarrior user interface. For an
will be executed in real time. in-depth guide of all of the user interface
8. From the main menu, choose Run > features, select Help > CodeWarrior
Halt. The program execution will stop. Help from CodeWarrior Development
The next instruction to be executed is Studio’s main menu.
highlighted in the Source window.
9. From the main menu, choose Run >
Single Step. The instruction highlighted
in the Source window will be executed,
and the program execution will be
stopped immediately after.
10. From the main menu, choose
Run > Start/Continue. The application
will restart from where it was previously
Learn more at www.freescale.com/8bit.

Freescale and the Freescale logo are trademarks or registered


trademarks of Freescale Semiconductor, Inc. in the U.S. and other
countries. All other product or service names are the property of
their respective owners. © Freescale Semiconductor, Inc. 2009.
Doc Number: DEMO9S08FL16QSG / REV 0
Agile Number: 926-26143 / REV A

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy