ページ1に含まれる内容の要旨
ToolStick-EK
TOOLSTICK USER’S GUIDE
1. Kit Contents
The ToolStick kit contains the following items:
•ToolStick
• Silicon Laboratories Evaluation Kit IDE and Product Information CD-ROM. CD content includes:
• Silicon Laboratories Integrated Development Environment (IDE)
• Keil Software 8051 Development Tools (evaluation assembler, linker and C compiler)
• Source code examples and register definition files
• Documentation
• Demo software
• ToolStick User’s Guide (this document)
2. ToolStick Over
ページ2に含まれる内容の要旨
ToolStick-EK 3. Software Setup The included CD-ROM contains the Silicon Laboratories Integrated Development Environment (IDE), Keil software 8051 tools and additional documentation. Insert the CD-ROM into your PC’s CD-ROM drive. An installer will automatically launch, allowing you to install the IDE software or read documentation by clicking buttons on the Installation Panel. If the installer does not automatically start when you insert the CD-ROM, run autorun.exe found in the root directory of
ページ3に含まれる内容の要旨
ToolStick-EK 5.1. Connecting to the Device and Downloading Firmware This section describes how to open the IDE, open and build a project, connect to a device and download the firmware. 1. Open the Silicon Laboratories IDE from the Start → Programs → Silicon Laboratories menu 2. Connect the ToolStick to a USB port on the PC 3. In the IDE, go to Project → Open Project 4. Browse to C:\SiLabs\MCU\Demos\ToolStick\Blink_LED\ 5. Select Blink_LED.wsp and click OK 6. In the IDE, select Project → Rebuild
ページ4に含まれる内容の要旨
ToolStick-EK Changing the values of registers does not require recompiling the code or redownloading the firmware. At any time, the device can be halted and the values of the registers can be changed. The firmware will continue execu- tion using the new values. This capability greatly speeds up the debugging process. The debug windows for the other sets of registers are found in the View → Debug Windows → SFR’s menu. 5.4. Enabling and Using Watch Windows The Debug Windows in the View menu are
ページ5に含まれる内容の要旨
ToolStick-EK 5.6. Single-Stepping Through Firmware The IDE supports the ability to single-step through firmware one assembly instruction at a time. The IDE reads the Flash from device, converts the instructions to assembly and displays them in a disassembly window. The following steps show how to open the disassembly window and single step through firmware. 1. If a breakpoint is not already set on the line of code that increments the T2_Overflow_Count variable, set the breakpoint using the ste
ページ6に含まれる内容の要旨
ToolStick-EK 7.2. Generating Initialization Code As an example, the following steps show how to generate initialization code for the Programmable Counter Array module on a C8051F300. The code generated is similar to the PWM PCA initialization example code described in Section 6. 1. Open Configuration Wizard from the Start → Programs → Silicon Laboratories menu. 2. Select C8051F30x as the Device Family and C8051F300 as the Part Number. 3. Select the Peripherals → PCA menu option. The top part of
ページ7に含まれる内容の要旨
ToolStick-EK 9. Schematic Rev. 0.2 7
ページ8に含まれる内容の要旨
ToolStick-EK CONTACT INFORMATION Silicon Laboratories Inc. 4635 Boston Lane Austin, TX 78735 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