Home

DEMO9RS08KA8 User`s Manual

image

Contents

1. DEMO9RSO8KAB8 C Demo Demo mcp file This is the board example you copied from the SofTec Microsystems System Software CD ROM Click Open The Project window will open The C code of this example is contained in the main c file Double click on it to open it From the main menu choose Project gt Debug This will compile the source code generate an executable file and download it to the demo board A new debugger environment will open From the main menu choose Run gt Start Continue The program will be executed in real time From the main menu choose Run gt Halt The program execution will stop The next instruction to be executed is highlighted in the Source window From the main menu choose Run gt Single Step The instruction highlighted in the Source window will be executed and the program execution will be stopped immediately after From the main menu choose Run gt Start Continue The application will restart from where it was previously stopped Congratulations You have successfully completed this tutorial You can continue to experiment with the CodeWarrior user interface and discover by yourself its potentialities For an in depth guide of all of the user interface features select Help CodeWarrior Help from CodeWarrior Development Studio s main menu Page 17 DEMO9RSO8KA8 User s Manual 7 Summary of Jumper and Connector Settings 7 1 Jumpers Refere
2. looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Can Windows connect to Windows Update to search for software O Yes this time only O Yes now and every time connect a device No not this time Click Next to continue Cancel Select the No not this time option and click the Next gt button 6 The following dialog box will appear Page 11 Hardware Setup Found New Hardware Wizard This wizard helps you install software for uDART In Circuit Debugger 2 If your hardware came with an installation CD 4 or floppy disk insert it now What do you want the wizard to do Install the software automatically Recommended Install from a list or specific location Advanced Click Next to continue lt Back J Next gt Cancel Click the Next gt button 7 Depending on your Windows settings the following warning may appear Hardware Installation The software you are installing for this hardware uDART In Circuit Debugger has not passed Windows Logo testing to verify its compatibility with Windows XP Tell me why this testing is important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this instal
3. STARTER DEMO9RSO8KA8 Demonstration Board for Freescale MCO9RSO8KA8 User s Manual Sof Tec Microsystems DEMOSRSO08KAS8 Demonstration Board for Freescale MC9RS08KAS8 20 Pin DIP User s Manual Sof Tec e 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 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 C 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 SofTec Microsystems E mail general information info softecmic
4. _RS08 dll file to your PC in the CodeWarrior for Microcontrollers V6 1 prog gdi folder relative to the CodeWarrior installation path 4 Click on the Copy examples for CW08 V6 1 option An Explorer window will open Copy the 9 508 folder to your PC in a location of your choice These are the examples specific for the demonstration board and will be used later in the step by step tutorial Note to install the Additional Components on Windows 2000 or Windows XP you must log in as Administrator Page 10 DEMO9RSO8KA8 User s Manual 4 Hardware Setup 4 1 First Connection The Demonstration Board connects to a host PC through a USB port Connection steps are listed below in the recommended flow order Install all the required system software as described in the previous section Make sure the POWER SEL jumper is in the USB position Insert one end of the USB cable into a free USB port Insert the other end of the USB cable into the USB connector on the Demonstration Board 5 The first time the Demonstration Board is connected to the PC Windows recognizes the instrument and starts the Found New Hardware Wizard procedure asking you to specify the driver to use for the instrument On Windows XP SP2 the following dialog box will appear 00 dcs Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by
5. gher PC compatible system running Windows 98 Windows 2000 or Windows XP 128 MB of available system RAM plus 1 GB of available hard disk space A USB port CD ROM drive for installation 3 3 Installing CodeWarrior Development Studio To install the CodeWarrior Development Studio Special Edition insert the CodeWarrior CD ROM into your computer s CD ROM drive A startup window will automatically appear Follow the on screen instructions Page 9 Software Setup If present make sure to install all available service packs or other components for the MC9RS08KA8 available either on the CodeWarrior CD or on the Freescale website www freescale com 3 4 Installing SofTec Microsystems Additional Components The SofTec Microsystems System Software CD ROM contains other required components to your hard drive These components include SofTec Microsystems DLL for DEMO9RSO08KA8 support Examples Demonstration Board s user s manual Demonstration Board s schematic Additional documentation To install the required components do the following 1 Insert the SofTec Microsystems System Software CD ROM into your computer s CD ROM drive A startup window will automatically appear 2 Choose Install Instrument Software from the main menu 3 Click on the Copy SofTec Microsystems DLL to CodeWarrior for Microcontrollers V6 1 prog gdi option An Explorer window will open Copy the inDART
6. icrocontroller specific datasheets DEMO9RS08KA8 Schematic Page 5 Introduction Page 6 DEMO9RSO8KA8 User s Manual 2 Hardware Features 2 1 Demonstration Board Features The DEMO9RSO8KA8 board features A MC9RS08KA8 microcontroller in 20 Pin DIP package already programmed with a demo application A provision for a low frequency crystal A 12 V DC power supply input connector Power input selection jumper for selecting the input voltage source 12 V DC input connector USB connector A built in USB to BDM circuitry which allows the host to communicate with the microcontroller through a standard USB interface When using an external in circuit debugger via the BDM connector the USB to BDM circuitry must be bypassed by removing the BKGD and RESET jumpers A Reset push button connected to the Reset A series of inputs o Two push buttons together with jumpers to connect disconnect them to from the microcontroller o A potentiometer together with a jumper to connect disconnect it to from the microcontroller A photoresistor together with a jumper to connect disconnect it to from the microcontroller Two LEDs together with jumpers to connect disconnect them to from the microcontroller An RS 232 transceiver with DB9 female connector together with jumpers to connect disconnect them to from the microcontroller 36 pin I O female header connec
7. lation now and contact the hardware vendor for software that has passed Windows Logo testing Continue Anyway STOP Installation Note this warning is related to the fact that the USB driver used by the Demonstration Board is not digitally signed by Microsoft and Windows considers it to be potentially malfunctioning or dangerous for the system However you can safely ignore the warning since every kind of compatibility security test has been carried out by SofTec Microsystems Click the Continue Anyway button 8 Windows will install the driver files to your system At the end of the installation the following dialog box will appear Page 12 DEMO9RSO0O8KA8 User s Manual Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for uDART In Circuit Debugger Click Finish to close the wizard Click the Finish button to exit from the Found New Hardware Wizard procedure 9 The Demonstration Board s USB driver is now installed on your system 4 2 Power Supply The Demonstration Board can be powered in three ways 12 V DC input connector USB connector I O header connector The POWER SEL jumper allows you to power the board through either the 12 V DC input connector or the USB connector Page 13 DEMO9RSO8KA8 User s Manual 5 Operating Modes 5 1 Ove
8. nce Description Pinout PTB6 VO ENABLE PTB7 PTCO Installed Each jumper enables the I O function PTC1 connected to the indicated PTA0 microcontroller pin default PTA1 Not Installed The indicated microcontroller pin is not connected to any I O function PTA2 PTA3 PTAS BKGD BDM ENABLE RESET All installed The USB to BDM interface is enabled default Not Installed The USB to BDM interface is disabled POWER SELECTION 1 2 USB The power supply is taken from the USB connector default 2 3 UNREG The power supply is taken from the power supply connector J401 PTBO RX RS 232 ENABLE PTB1 TX All installed The microcontroller s PTBO RXD and PTB1 TXD lines are routed to the RS 232 transceiver default Not Installed The RS 232 transceiver is not connected to the microcontroller Page 19 Summary of Jumper and Connector Settings 7 2 Connectors Reference Description Pinout 36 Pin I O Female Header Connector VDD 5 0 V PTA4 GND PTAS PTB6 PTB4 PTB7 PTB5 ONOAPPFWN gt 00 O 0000000000000 A N e eee eoo za an B N N N N N N N N N N gt ASOSNSARONSSORAND Ow ww Or doo w m Page 20 DEMO9RSO8KA8 User s Manual Reference Description Pin
9. out BDM Connector Not Populated 1 PTA4 BKGD 2 GND 8 NC 4 5 RESET VPP 5 NC 6 VDD USB Connector 1 5 V DC USB Bus Power Supply Line 2 USBD 3 USB D 4 GND 9 12 V DC Power Supply Input Connector 9 12 V DC 2 GND RS 232 Connector N C TX RX N C N C N C N C N C O Or Sq D O R A Page 21 DEMO9RSO8KA8 User s Manual 8 8 1 Troubleshooting USB Driver Problems If you connected the Demonstration Board to the PC before installing the SofTec Microsystems Additional Components the Demonstration Board s USB driver may not have been correctly installed on your system Unplugging and replugging the USB cable is of no use since Windows has marked the device as disabled As a consequence the PC cannot communicate with the Demonstration Board To restore the USB driver provided the SofTec Microsystems Additional Components have been installed perform the following steps under Windows XP Ox Ordo Oy S gt 8 2 Connect the Demonstration Board to the PC Open the Control Panel Start Settings Control Panel Open the System options Select the Hardware tab Click the Device Manager button The uDART In Circuit Debugger device will be shown with an exclamation mark next to it Double click on this device In the General tab click the Reinstall Driver button Follow the on screen inst
10. ponents 10 4 Hardware Setup 11 4 1 First Connection 11 4 2 Power Supply 13 5 Operating Modes 15 5 1 Overview 15 5 2 Standalone Mode 15 5 3 Host Mode 15 6 Application Tutorial 17 6 1 Overview 17 6 2 Step by Step Tutorial 17 7 Summary of Jumper and Connector Settings 19 7 1 Jumpers 19 7 2 Connectors 20 8 Troubleshooting 23 8 1 USB Driver Problems 23 8 2 Communication Problems between the PC and the Demo Board 23 Page 3 DEMO9RSO8KA8 User s Manual 1 Introduction 1 1 Overview The DEMO9RSO08KA8 Demonstration board has been designed for the evaluation demonstration and the debugging of the Freescale MC9RS08KA8 microcontroller The DEMO9RSO8KAS can be used as a standalone application or via its built in USB to BDM bridge or together the Freescale Student Learning Kit Freescale code MCUSLK through an external 36 pin I O female header connector 1 2 Package Contents The DEMO9RSO8KAS package includes the following items The DEMO9RS08KA8 board composed by the DEMO9RS08SA12 KA8 board the DB9RSO08KA68 adapter already plugged in a A USB cable The SofTec Microsystems System Software CD ROM The CodeWarrior Development Studio Special Edition CD ROM A Quick Start Guide sheet A registration This user s manual 1 3 Supported Devices The DEMO9RSO08KA8 Demonstration Board supports the following devices MC9RS08KA8 MC9RSO8KA4 1 4 Recommended Reading Freescale RS08 m
11. ro 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 is a registered trademark of SofTec Microsystems 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 DEMO9RSO8KA8 User s Manual 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 4 Demonstration Board Features 7 3 Software Setup 9 3 1 Overview 9 3 2 Host System Requirements 9 3 3 Installing CodeWarrior Development Studio 9 3 4 Installing SofTec Microsystems Additional Com
12. ructions Communication Problems between the PC and the Demo Board Make sure that both the BKGD and RESET jumpers are inserted Make sure that the POWER SEL jumper selects the appropriate power source typically USB when the board is connected to the PC Page 23 Copyright O SofTec Microsystems Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc
13. rview The Demonstration Board can work in two modes standalone mode and host mode 5 2 Standalone Mode In standalone mode no PC connection is required The microcontroller is factory programmed with a sample application To run the built in example Ensure that all of the ENABLE jumpers in the MCU AND I O area are inserted Ensure that all of the ENABLE jumpers in the SERIAL area are inserted Ensure that the POWER SEL jumper selects the UNREG position Power on the Demonstration Board through the 12 V DC plug in power supply The green POWER LED on the board should turn on Press the SWO push button Rotate the potentiometer The LEDO will blink with a frequency related to the potentiometer value 7 Press the SW1 push button The LED will blink with a frequency related to amount of light hitting the photoresistor 8 The value of the potentiometer or the light sensor is also sent to the RS 232 port baud rate 9600 data bits 8 parity N stop bits 1 OU 5 3 Host Mode In host mode the program execution is controlled by the host PC through the USB connector You can use the PC to debug the application by for example executing the program step by step and watching how the microcontroller registers vary using the provided CodeWarrior Development Studio Page 15 Operating Modes Note all MCUs in the RS08 family contain a single wire background deb
14. tor on the bottom of the board Page 7 Hardware Features O freescale Enabled w RS 232 R301 R302 2403 C30 WE Bi Wu E EH PTBO B PTB1 ENABLE Au C306 C303 C310 1 RESET C318 C314 8 E ENABLE USB TO BDM INTERFACE DBSRSO8KA8 Hooooooooooooooo L0201 p201 LD202 R208 NE Em NIE mu o o LEDO LED1 R205 C201 R206 C202 POWER SEL Nim NM NUM C403 R403 P am nu i t is POER Gy a EHE E E SofTec SWO Microsystems POWER MCU AND 1 0 DEMO9RSO8SA12 KA8 mis The DEMO9RS08KA8 Demonstration Board Page 8 DEMO9RSO8KA8 User s Manual 3 Software Setup 3 1 Overview Note before connecting the Demonstration Board to the PC it is recommended that you install all of the required software first see below so that the appropriate USB driver will be automatically found by Windows when you connect the Demonstration Board The Demonstration Board requires that both CodeWarrior Development Studio Special Edition and SofTec Microsystems Additional Components be installed in the host PC Note CodeWarrior Development Studio for HCS08 must be installed first 3 2 Host System Requirements The Demonstration Board is controlled by CodeWarrior Development Studio The following hardware and software are required to run the CodeWarrior user interface together with the Demonstration Board A 200 MHz or hi
15. ug interface which supports in circuit programming of on chip non volatile memory This system does not interfere with normal application resources It does not use any user memory or locations in the memory map The Background Debug Module BDM uses a single wire communication interface via the BKGD line to allow non intrusive access fo target system memory and registers To work in host mode using the built in USB to BDM interface Make sure that both the RESET BKGD jumpers the USB INTERFACE area are inserted Make sure that the POWER SEL jumper is in the USB position Connect the host PC to the board through the provided USB cable Page 16 DEMO9RSO8KA8 User s Manual 6 Application Tutorial 6 1 Overview This section will provide a step by step guide on how to launch your first project and get started with the CodeWarrior for HCS08 user interface 6 2 Step by Step Tutorial The sample application is the same as the one described in the Standalone Mode section above 10 11 Ensure that the Demonstration Board is connected to the PC via the USB cable and that the board is powered on Make sure that all of the Demonstration Board jumpers are set to their factory position see chapter 7 1 Jumpers for details Start CodeWarrior by selecting it in the Windows Start menu From the CodeWarrior main menu choose File gt Open and choose the

Download Pdf Manuals

image

Related Search

Related Contents

入 札 公 告  Interior Communications Electrician, Volume 2  Manual de instalação - SMA Solar Technology AG  The Connecticut General Assembly  Campbell Hausfeld RP1200 Use and Care Manual    Electrolux 75100 GA User's Manual      HP LaserJet Enterprise M506 User Guide  

Copyright © All rights reserved.
Failed to retrieve file