How To Develop A Toolstick



Similar documents
PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

ZigBee-2.4-DK 2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure GHz ZigBee Development Kit

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

AN220 USB DRIVER CUSTOMIZATION

AN104 I NTEGRATING KEIL 8051 TOOLS INTO THE SILICON LABS IDE. 1. Introduction. 2. Key Points. 3. Create a Project in the Silicon Labs IDE

AN588 ENERGY HARVESTING REFERENCE DESIGN USER S GUIDE. 1. Kit Contents. 2. Introduction. Figure 1. Energy Harvesting Sensor Node

AN220 USB DRIVER CUSTOMIZATION

USB FM Radio-RD USB FM RADIO USER S GUIDE. 1. USB FM Radio Setup. One-time set-up enables configuration of presets and region specific FM band

AN655 R ANGE TEST APPLICATION FOR EZRADIO AND EZRADIOPRO. 1. Introduction. 2. Supported Radio Types

UG103.8 APPLICATION DEVELOPMENT FUNDAMENTALS: TOOLS

APPLICATION. si32library. Callback CMSIS HARDWARE. Figure 1. Firmware Layer Block Diagram

1 Software Overview ncp-uart ash-v3-test-app ash-v3-test-app Command Line Options Testing... 2

AN335 USB DRIVER INSTALLATION UTILITY. 1. Description. 2. Installation Install Package

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Figure 1. 8-Bit USB Debug Adapter

In the idle state, the TIP lead will be high impedance to ground and the RING lead will have the battery voltage. See Figure 1.

QSG105 GETTING STARTED WITH SILICON LABS WIRELESS NETWORKING SOFTWARE

AN335 USB DRIVER INSTALLATION METHODS. 1. Introduction. 2. Relevant Documentation. 3. DPInst Installation and Customization

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

Bootloader with AES Encryption

Programmazione Microcontrollori

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

AN10866 LPC1700 secondary USB bootloader

SN 132 SNAPstick QUICK START GUIDE

Using WinUSB in a Visual Studio Project with Freescale USB device controller

Building and Debugging a project using Keil MDK-ARM Eclipse plug-in

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

UM1680 User manual. Getting started with STM32F429 Discovery software development tools. Introduction

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

UM1790 User manual. Getting started with STM32L053 discovery kit software development tools. Introduction

CB-OLP425 DEVELOPMENT KIT GETTING STARTED

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

Genesi Pegasos II Setup

Making Prototyping Boards for the EFM32 kits

XPort Universal Demo Board User Guide

AN437. Si4432 RF PERFORMANCE AND FCC COMPLIANCE TEST RESULTS. 1. Introduction. 2. Relevant Measurements to comply with FCC

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

VF2F. USB Flash Disk File-to-file Transfer Vinculum Evaluation Kit. Future Technology Devices International Ltd. Preliminary - Subject to Change

TWR-KV31F120M Sample Code Guide for IAR Board configuration, software, and development tools Rev.0

PN L, Revision B, October Epic 950 TM. Master Programmer User s Guide

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

AT88CK490 Evaluation Kit

MX PIC24F Educational Module User Manual

AT89C5131A Starter Kit... Software User Guide

UM0834 User manual. Developing and debugging your STM8S-DISCOVERY application code. Introduction. Reference documents

Design Considerations in Adding USB Communications to Embedded Applications

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

AN-8207 Fairchild s Motor Control Development System (MCDS) Integrated Development Environment (IDE)

Developing an Application on Core8051s IP-Based Embedded Processor System Using Firmware Catalog Drivers. User s Guide

Product Brief. 2.0 microtoled. Intelligent GOLDELOX Display Module. µtoled-20-g2. Rev 1.0

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

Table of Contents. ARM Evaluation Board (AEB-1) Welcome Guide ARM DGI 0005D. Proprietary Notice

An Introduction to MPLAB Integrated Development Environment

UG103.8: Application Development Fundamentals: Tools

AN LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode

Robust Over-the-Air Firmware Updates Using Program Flash Memory Swap on Kinetis Microcontrollers

Software Real Time Clock Implementation on MC9S08LG32

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Getting Started with Embedded System Development using MicroBlaze processor & Spartan-3A FPGAs. MicroBlaze

RN-XV-RD2 Evaluation Board

Getting Started with Kinetis SDK (KSDK)

Production Flash Programming Best Practices for Kinetis K- and L-series MCUs

How To Add A Usb Secondary Ipo Bootloader To An Lpc23Xx Flash Device To A Flash Device

Getting Started with the Student Learning Kit Featuring the Freescale HCS12 Microcontroller Application Module

Processor Expert Software Microcontrollers Driver Suite Getting Started Guide

RC2200DK Demonstration Kit User Manual

USER GUIDE EDBG. Description

etpu Host Interface by:

AN114. Scope. Safety. Materials H AND SOLDERING TUTORIAL FOR FINE PITCH QFP DEVICES. Optional. Required. 5. Solder flux - liquid type in dispenser

Tutorial for MPLAB Starter Kit for PIC18F

32F072BDISCOVERY. Discovery kit for STM32F072xx microcontrollers. Features. Description

MED-AFEs Design Reference Manual

AN3265 Application note

Windows 7: Using USB TAP on a Classic CodeWarrior Installation (MGT V9.2 DSC V8.3)

AN111: Using 8-Bit MCUs in 5 Volt Systems

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

TS1005 Demo Board COMPONENT LIST. Ordering Information. SC70 Packaging Demo Board SOT23 Packaging Demo Board TS1005DB TS1005DB-SOT

USER GUIDE Programming Adapter Cable for Fujitsu Flash Microcontroller- F²MC-16LX/FR Family Fujitsu Microelectronics America, Inc.

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

Virtual COM Port Driver Installation Manual

Virtual COM Port Driver Installation Manual

32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2

SN132 SNAPstick QUICK START GUIDE. v1.0

Nuvoton Nu-Link Debug Adapter User Manual

Printer Driver Installation Manual

Atmel AVR ATxmega384C3 microcontroller OLED display with pixels resolution Analog sensors. Ambient light sensor Temperature sensor

Start A New Project with Keil Microcontroller Development Kit Version 5 and Freescale FRDM-KL25Z

Backup Power Domain. AN Application Note. Introduction

AVR1900: Getting started with ATxmega128A1 on STK bit Microcontrollers. Application Note. 1 Introduction

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Current Digital to Analog Converter

Embedded Software development Process and Tools:

USB 2.0 Peripheral Switch USER MANUAL US221A / US421A

Transcription:

TOOLSTICK BASE ADAPTER USER S GUIDE 1. Handling Recommendations To enable development, the ToolStick Base Adapter and daughter cards are distributed without any protective plastics. To prevent damage to the devices and/or the host PC, please take into consideration the following recommendations when using the ToolStick: Never connect or disconnect a daughter card to or from the ToolStick Base Adapter while the Base Adapter is connected to a PC. Always connect and disconnect the ToolStick Base Adapter from the PC by holding the large plastic connector. Avoid directly touching any of the other components. Figure 1. Proper Method of Holding the ToolStick Figure 2. Improper Method of Holding the ToolStick Manipulate mechanical devices on the daughter cards, such as potentiometers, with care to prevent the Base Adapter or daughter card from accidentally dislodging from their sockets. Rev. 0.1 9/06 Copyright 2006 by Silicon Laboratories ToolStick Base Adapter

2. Contents The ToolStick Base Adapter package includes the following items: ToolStick Base Adapter 3-foot USB extension cable The ToolStick Starter Kit package includes the following items: ToolStick Base Adapter ToolStick C8051F330 Daughter Card 3-foot USB extension cable A ToolStick Base Adapter is one component of the ToolStick development system and is not functional without a ToolStick daughter card. If the Base Adapter was not purchased as part of a Starter Kit, daughter cards can be purchased separately at www.silabs.com/toolstick. 3. ToolStick Overview The purpose of the ToolStick is to provide a development and demonstration platform for Silicon Laboratories microcontrollers and to demonstrate the Silicon Laboratories software tools, including the Silicon Laboratories Integrated Development Environment (IDE). The ToolStick development platform consists of two components: the ToolStick Base Adapter and a daughter card. The ToolStick Base Adapter provides a USB debug interface and data communications path between a Windows PC and a target microcontroller. The Base Adapter is powered from USB and also provides power to the daughter cards. The target microcontroller and application circuitry are located on the daughter card. Some daughter cards, such as the C8051F330 daughter card, are used as general-purpose development platforms for the target microcontrollers and some are used to demonstrate a specific feature or application. Figure 3 shows the ToolStick Base Adapter and identifies the various components. Run/Stop LEDs Power LED Silicon Laboratories USB MCU Socket Connector Figure 3. ToolStick Base Adapter 2 Rev. 0.1

4. Getting Started The necessary software to download, debug and communicate with the target microcontroller must be downloaded from www.silabs.com/toolstick. The following software is necessary to build a project, download code to, and communicate with the target microcontroller: Silicon Laboratories Integrated Development Environment (IDE) Keil Demonstration Tools ToolStick Terminal application The Silicon Laboratories IDE and the Keil Demo Tools are described in more detail in Section 6. ToolStick Terminal provides data communication functions between the PC and the target microcontroller. Other useful software that is provided on the ToolStick website includes: Configuration Wizard 2 Keil uvision2 and uvision3 Drivers Configuration Wizard 2 presents device peripheral options in a GUI and simplifies the generation of peripheral initialization code. The program is configurable to provide the output in C or assembly. The Keil uvision2 and uvision3 Drivers enable Keil uvision IDEs to debug Silicon Laboratories MCUs. To simplify the download process, the necessary software described above is provided in two download packages. The ToolStick package includes the Keil Tools, example code, documentation including User s Guides and data sheets, and the ToolStick Terminal application. The IDE, Configuration Wizard 2, and the Keil uvision Drivers are available as a separate download. After downloading and installing these two packages, see the following sections for information regarding the ToolStick functionality and how to use the Silicon Laboratories IDE. 5. ToolStick Base Adapter Functions The ToolStick Base Adapter performs two main functions for the target microcontroller: 1) It provides a debug interface, and 2) it provides a data communication interface. The Base Adapter can perform only one of these functions at a time. The Base Adapter does not require any USB drivers to be installed for either of these functions because it uses standard USB class drivers. The Base Adapter also provides power to the daughter cards. The yellow LED on the Base Adapter is a power indicator. If the yellow LED is on, the base adapter is properly connected to the PC and is receiving USB power. If the LED is off, the base adapter is not properly connected to the PC or the PC is in a suspended state. 5.1. Debug Mode All of the Silicon Laboratories MCUs have on-chip debugging hardware that allows full, non-intrusive access to the CPU, peripherals and memory. The Base Adapter provides a USB interface between the Silicon Laboratories IDE and the on-chip debugging hardware. The Base Adapter has green and red LEDs that indicate the status of the target microcontroller. If the red LED is on, the target microcontroller is halted. If the green LED is on, the target microcontroller is running. If neither LED is on, the Base Adapter is not connected in a debug session with the target microcontroller. If a debug session is not running and the target microcontroller is powered, it will start to execute its firmware. 5.2. Data Communication Mode The connection between the Base Adapter and the daughter card includes four pins that are dedicated for data communication. Two of the pins are the UART pins, TX and RX. The other two pins can be configured as general purpose input-output (GPIO) pins or as UART hardware handshaking pins, RTS and CTS. UART configuration/communication and GPIO configuration/access to the target microcontroller is performed using the Windows program, ToolStick Terminal. See the ToolStick Terminal help file for information on how to use ToolStick Terminal. Rev. 0.1 3

6. Silicon Laboratories IDE and Keil Demonstration Toolset The Silicon Laboratories IDE integrates a source-code editor, source-level debugger, and an in-system Flash programmer. See the User's Guide for the ToolStick daughter card for detailed information on how to use the IDE. The Keil Demonstration Toolset includes a compiler, linker, and assembler and easily integrates into the IDE. The use of third-party compilers and assemblers is also supported. 6.1. IDE System Requirements The Silicon Laboratories IDE requirements: Pentium-class host PC running Microsoft Windows 2000 or Windows XP. One available USB port. 64 MB RAM and 40 MB free HD space recommended. 6.2. Keil Assembler and Linker The assembler and linker that are part of the Keil Demonstration Toolset are the same versions that are found in the full Keil Toolset. The complete assembler and linker reference manual can be found on-line under the Help menu in the IDE or in the SiLabs\MCU\hlp directory (A51.pdf). 6.3. Keil Demonstration C51 C Compiler The demonstration version of the C51 compiler is the same as the full version except code size is limited to 2 kb and the floating point library is not included. The C51 compiler reference manual can be found under the Help menu in the IDE or in the SiLabs\MCU\hlp directory (C51.pdf). 6.4. 3rd Party Toolsets The Silicon Laboratories IDE has native support for many other 8051 compilers. The full list of natively supported tools is: Keil IAR Raisonance Tasking Hi-Tech SDCC Dunfield All of the example applications provided with the ToolStick package are written for the Keil toolset. 7. Information Locations If the default installation directory is used for the ToolStick package, all ToolStick related documentation and code is installed in the C:\SiLabs\MCU\ToolStick\ directory. The installer for the ToolStick software is available at www.silabs.com/toolstick. 4 Rev. 0.1

8. ToolStick Base Adapter Schematic Rev. 0.1 5

CONTACT INFORMATION Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 Tel: 1+(512) 416-8500 Fax: 1+(512) 416-9669 Toll Free: 1+(877) 444-3032 Email: MCUinfo@silabs.com Internet: www.silabs.com The information in this document is believed to be accurate in all respects at the time of publication but is subject to change without notice. Silicon Laboratories assumes no responsibility for errors and omissions, and disclaims responsibility for any consequences resulting from the use of information included herein. Additionally, Silicon Laboratories assumes no responsibility for the functioning of undescribed features or parameters. Silicon Laboratories reserves the right to make changes without further notice. Silicon Laboratories makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Silicon Laboratories assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Silicon Laboratories products are not designed, intended, or authorized for use in applications intended to support or sustain life, or for any other application in which the failure of the Silicon Laboratories product could create a situation where personal injury or death may occur. Should Buyer purchase or use Silicon Laboratories products for any such unintended or unauthorized application, Buyer shall indemnify and hold Silicon Laboratories harmless against all claims and damages. Silicon Laboratories and Silicon Labs are trademarks of Silicon Laboratories Inc. Other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders. 6 Rev. 0.1