To o l Sti c k U n i D C
T
O O L
S
T I C K
U
N I V E R S I T Y
D
A UG HT E R
C
A R D
U
S E R
’
S
G
UI DE
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, consider 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 edges of the board.
Figure 1. Proper Method of Holding the ToolStick
Avoid directly touching any of the other components.
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/07
Copyright © 2007 by Silicon Laboratories
ToolStickUniDC
To o l St i c k U n i D C
2. Contents
The ToolStickUniDC kit contains the following items:
ToolStick University Daughter Card
The ToolStickUniSK Starter Kit includes the following items:
ToolStick Base Adapter
ToolStick University Daughter Card
3-foot USB extension cable
A ToolStick daughter card requires a ToolStick Base Adapter to communicate with the PC. If the daughter card was
not purchased as part of a Starter Kit, ToolStick Base Adapters 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 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 target microcontroller and application circuitry are located on the daughter card. Some daughter cards, such
as the ToolStick University Daughter Card, are used as general-purpose development platforms for the target
microcontrollers, and some are used to demonstrate a specific feature or application.
The ToolStick University Daughter Card features a Silicon Laboratories C8051F020 Mixed-Signal MCU. The
external circuitry on the daughter card includes a 22.1184 MHz crystal to enable UART communication, 4 LEDs, 4
push-button switches, an 8-bit DIP switch, a potentiometer, and a reset switch. Ports P0, P1, and P2 of the MCU
are accessible via standard headers. A separate header is available for analog input/output that connects external
signals to the ADC and comparator inputs, and DAC outputs of the MCU. A small area for prototyping is also
provided that can be used to connect additional hardware to the microcontroller and use the daughter card as a
development platform.
Figure 3 shows the ToolStick University Daughter Card and identifies the various components.
2
Rev. 0.1
ToolStickUniDC
P4 DIP
Switches
P5[7:4]
LEDs
P0, P1, P2
Port Headers
Power LED
Prototyping
Area
Reset Switch
C8051F020
Analog I/O
Header
22.1184 MHz
Crystal
AIN0.3 External
Input Header
P5[3:0]
Switches
AIN0.2
Potentiometer
Figure 3. ToolStick University Daughter Card (Rev 002)
4. Getting Started
The necessary software to download, debug, and communicate with the target microcontroller must be
downloaded from
www.silabs.com/mcuniversity.
The following software is necessary to build a project, download
code, and communicate with the target microcontroller:
Silicon Laboratories Integrated Development Environment (IDE)
Keil Demonstration Toolset
ToolStick Virtual Tools
The Keil Demo Toolset includes a compiler, assembler, and linker. See "5.2.2. Keil Demonstration C51 C
Compiler‚" on page 4 for more details about the demo tools. ToolStick Virtual Tools include the ToolStick Terminal
application that allows serial communication with the target microcontroller's UART through the ToolStick Base
Adapter. Also included as part of the ToolStick Virtual Tools are the ToolStick Virtual LCD and the ToolStick Virtual
Oscilloscope. The ToolStick Virtual Tools are described in detail in “AN333: ToolStick Virtual Tools User’s Guide”.
Other useful software provided on the Silicon Labs downloads website (www.silabs.com/mcudownloads) includes:
Configuration Wizard 2
Keil uVision Drivers
All of the above software is described in more detail in “5. Software Overview”.
To simplify the download process, the necessary software described above is provided in two download packages.
The IDE Download package includes the Silicon Labs IDE and the Keil Demo Toolset. The ToolStick Virtual Tools
Download package includes the ToolStick virtual tools, example code, and documentation including user’s guides
and data sheets. After downloading (from
www.silabs.com/mcuniversity)
and installing these two packages, see
the following sections for information regarding the software and running one of the demo applications.
Rev. 0.1
3
To o l St i c k U n i D C
5. Software Overview
5.1. Silicon Laboratories IDE
The Silicon Laboratories IDE integrates a source-code editor, source-level debugger, and an in-system Flash
programmer. See "6. ToolStick University Daughter Card Demo‚" on page 7 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 other third-party compilers and assemblers is also supported.
5.1.1. IDE System Requirements
The Silicon Laboratories IDE requirements:
Pentium-class host PC running Microsoft Windows 2000 or newer.
One available USB port.
64 MB RAM and 40 MB free HD space recommended.
5.1.2. 3rd Party Toolsets
The Silicon Laboratories IDE has native support for many 8051 compilers. The full list of natively-supported tools
is:
Keil
IAR
Raisonance
Tasking
Hi-Tech
SDCC
Please note that the demo applications for the ToolStick University Daughter Card are written for the Keil and
SDCC toolsets.
5.2. Keil Demonstration Toolset
5.2.1. 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.chm).
5.2.2. Keil Demonstration C51 C Compiler
The demonstration version of the C51 compiler is the same as the full version with these main limitations: (1)
Maximum 2 kB code generation (2) Floating point library not included (3) Programs start at code address 0x0800.
A complete list of limitations can be found on the Keil website,
www.keil.com/demo/limits.asp.
The C51 compiler
reference manual can be found under the
Help
menu in the IDE or in the “SiLabs\MCU\hlp” directory (C51.chm).
5.3. Configuration Wizard 2
The Configuration Wizard 2 is a code generation tool for all Silicon Laboratories devices. Code is generated
through the use of dialog boxes for each of the device's peripherals.
4
Rev. 0.1
ToolStickUniDC
Figure 4. Configuration Wizard 2 Utility
The Configuration Wizard 2 utility helps accelerate development by automatically generating initialization source
code to configure and enable the on-chip resources needed for most design projects. In just a few steps, the wizard
creates complete startup code for a specific Silicon Laboratories MCU. The program is configurable to provide the
output in C or assembly code.
For more information, refer to the Configuration Wizard 2 documentation. The documentation and software are
available from the downloads webpage (www.silabs.com/mcudownloads).
5.4. Keil uVision Silicon Laboratories Drivers
As an alternative to the Silicon Laboratories IDE, the uVision debug driver allows the Keil uVision IDE to
communicate with Silicon Laboratories on-chip debug logic. In-system Flash memory programming integrated into
the driver allows for rapid updating of target code. The uVision IDE can be used to start and stop program
execution, set breakpoints, check variables, inspect and modify memory contents, and single-step through
programs running on the actual target hardware.
For more information, please refer to the uVision driver documentation. The documentation and software are
available from the downloads webpage.
Rev. 0.1
5