Freescale EVBQE128 User Guide

EVBQE128
Evaluation Board
for Freescale Flexis QE128
User’s Manual
EVBQE128
Evaluation Board
for Freescale
Flexis QE128 Microcontrollers
(80-Pin LQFP)
User’s Manual
Revision 1.1
Copyright © 2007 SofTec Microsystems
DC01355
®
We want your feedback!
SofTec Microsystems is always on the look-out for new ways to improve its Products and Services. For this reason feedback, comments, suggestions or criticisms, however small, are always welcome.
Our policy at SofTec Microsystems is to comply with all applicable worldwide safety and EMC/EMI regulations. Our products are certified to comply to the European New Approach Directives and the CE mark is applied on all our products.
SofTec Microsystems
E-mail (general information): info@softecmicro.com
E-mail (technical support): support@softecmicro.com
Web: http://www.softecmicro.com
Important
SofTec Microsystems reserves the right to make improvements to this product, its documentation and software routines, without notice. Information in this manual is intended to be accurate and reliable. However, SofTec Microsystems assumes no responsibility for its use; nor for any infringements of rights of third parties which may result from its use.
SOFTEC MICROSYSTEMS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
Trademarks
SofTec Microsystems™ and the SofTec Microsystems logo are trademarks of SofTec Microsystems S.p.A.
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc.
Microsoft and Windows are trademarks or registered trademarks of Microsoft Corporation.
PC is a registered trademark of International Business Machines Corporation.
Other products and company names listed are trademarks or trade names of their respective companies.
This product as shipped from the factory has been verified to meet with requirements FCC as a CLASS A product.
This product is designed and intended for use as a development platform for hardware or software in an educational or professional laboratory.
In a domestic environment, this product may cause radio interference in which case the user may be required to take adequate prevention measures.
Attaching additional wiring to this product or modifying the product operation from the factory default as shipped may effect its performance and cause interference with other apparatus in the immediate vicinity. If such interference is detected, suitable mitigating measures should be taken.
Contents
1 Introduction 5
1.1 Overview 5
1.2 Package Contents 5
1.3 Supported Devices 5
1.4 Recommended Reading 5
2 Hardware Features 7
2.1 Evaluation Board Features 7
2.2 microDART Interface 8
2.2.1 Hot Plug-In 9
3 Software Setup 11
3.1 Overview 11
3.2 Host System Requirements 11
3.3 Installing CodeWarrior Development Studio 11
4 Hardware Setup 13
4.1 First Connection 13
5 Operating Modes 17
5.1 Overview 17
5.2 Standalone Mode 17
5.3 Host Mode 18
EVBQE128 User's Manual
6 Application Tutorial 19
6.1 Overview 19
6.2 MC9S08QE128 Step-by-Step Tutorial 19
6.3 Converting the Example for the MCF51QE128 20
6.4 Additional Examples 21
7 Hot Plug-In 23
7.1 Overview 23
7.2 How to Enable Hot Plug-In 23
8 Jumper and Connector Settings 25
8.1 Jumpers 25
8.2 Connectors 28
Page 3
Contents
9 Troubleshooting 31
9.1 USB Driver Problems 31
9.2 Communication Problems between the PC and the Demo Board 31
9.3 Problems with RS-232 Communication 31
Page 4
EVBQE128 User's Manual
1 Introduction
1.1 Overview
The EVBQE128 Evaluation Board has been designed for the evaluation, demonstration and debugging of the Freescale Flexis QE128 Microcontrollers (MC9S08QE128 and MCF51QE128).
The EVBQE128 can be used as a standalone application or can be controlled by a host PC via its built-in microDART™ interface.
1.2 Package Contents
The EVBQE128 package includes the following items:
The EVBQE128 evaluation board;
80-pin LQFP MC9S08QE128 and MCF51QE128 microcontrollers;
A USB cable;
A pick-up vacuum pump;
A universal, 12 V DC power supply;
System software DVD-ROM, including CodeWarrior Development Studio;
A Quick Start Guide sheet.
1.3 Supported Devices
The EVBQE128 Evaluation Board supports the following devices:
MC9S08QE128;
MCF51QE128;
And any other pin-to-pin compatible devices.
1.4 Recommended Reading
Freescale microcontroller-specific datasheets and application notes;
EVBQE128 Schematic.
Page 5
EVBQE128 User's Manual
2 Hardware Features
2.1 Evaluation Board Features
The EVBQE128 board features:
1. An “MCU” section containing:
An 80-pin LQFP socket accepting either the MC9S08QE128 or the MCF51QE128
microcontroller;
A crystal oscillator, a provision for a clock module, a provision for a connector for
providing an external clock source, together with jumpers to select the clock source;
A BDM connector for in-circuit debugging/programming with an external
instrument;
A female header connectors with all of the MCU signals.
2. A power supply section containing:
A 12 V DC barrel input connector (2.1 mm);
A four-way micro terminal block for providing specific power supplies and voltage
references to the microcontroller;
A jumper to select the power supply source (USB bus or barrel connector);
A power on/off switch.
3. A built-in “microDART INTERFACE” section (with the main circuitry mounted on the back of the board) which allows the host PC to communicate with the microcontroller through a standard USB interface. Jumpers are present to configure this module. Thanks to the microDART in-circuit debugging firmware, BDM commands are sent to the target microcontroller through the USB bus. Additionally, a virtual COM port is automatically available over the same USB connection. This virtual COM port can be used by standard terminal programs, like HyperTerminal, to send/receive serial characters to/from the target microcontroller.
4. An “I/O” section containing:
A Reset push-button;
Four additional push-button;
One potentiometer;
Eight dip-switches;
Page 7
Hardware Features
A piezoelectric buzzer;
A light sensor;
A temperature sensor;
Ten user LEDs;
A circuitry for driving and external LCD;
A series of jumpers to connect/disconnect the above controls to/from the
microcontroller.
5. An “RS-232” section containing two RS-232 connectors together with a jumper to enable the RS-232 communication.
6. A “SERIAL SETTINGS” section containing jumpers to select communication options.
7. A prototype area.
5
6
3 4
The EVBQE128 Evaluation Board
1 2
7
2.2 microDART Interface
Thanks to the microDART in-circuit debugging firmware, CodeWarrior can send BDM commands to the target microcontroller through the USB bus.
Page 8
EVBQE128 User's Manual
Additionally, when you plug the USB cable into the PC, a “virtual” COM port is automatically created and, through this port, serial data can be transferred to/from the target microcontroller. In other words, a terminal application such as HyperTerminal is able to use the virtual COM port as if it were a normal COM port and send and receive characters normally.
This serial communication and BDM communication work simultaneously: CodeWarrior can be used to work with the target microcontroller while HyperTerminal sends and receives characters.
2.2.1 Hot Plug-In
The “Hot Plug-In” feature gives you the possibility to connect to a target microcontroller that is running an application and to trace and debug the current running code without the need of a complete erase and re-program of the flash memory.
Page 9
Loading...
+ 25 hidden pages