C8051T60x-DK
4 Rev. 0.1
5.4.2. Building and Downloading the Program for Debugging
1. Once all source files have been added to the target build, build the project by clicking on the Build/Make
Project button in the toolbar or selecting Project
Build/Make Project from the menu.
Note: After the project has been built the first time, the Build/Make Project command will only build the
files that have been changed since the previous build. To rebuild all files and project dependencies, click
on the Rebuild All button in the toolbar or select Project
Rebuild All from the menu.
2.
Before connecting to the target device, several connection options may need to be set.
Open the
Connection Options
window by selecting
Options
Connection Options...
in the IDE menu. First, select
the “USB Debug Adapter” option. The USB Debug circuitry is integrated onto the C8051T60x main board.
Next, the correct “Debug Interface” must be selected.
C8051T60x
Family devices and the C8051F300 all use
Silicon Labs “C2” 2-wire debug interface. Once all the selections are made, click the
OK
button to close the
window.
3. Click the
Connect
button in the toolbar or select
Debug
Connect
from the menu to connect to the device.
4. Download the project to the target by clicking the Download Code button in the toolbar.
Note: To enable automatic downloading if the program build is successful select Enable automatic con-
nect/download after build in the Project
Target Build Configuration dialog. If errors occur during the
build process, the IDE will not attempt the download.
5. Save the project when finished with the debug session to preserve the current target build configuration,
editor settings and the location of all open debug views. To save the project, select Project
Save Project
As... from the menu. Create a new name for the project and click on Save.
6. Example Source Code
Example source code and register definition files are provided in the “SiLabs\MCU\Examples\C8051T60x
directory during IDE installation. These files may be used as a template for code development.
6.1. Register Definition Files
Register definition files C8051T600.inc, C8051T600_defs.h and compiler_defs.h define all SFR registers and bit-
addressable control/status bits. They are installed into the “SiLabs\MCU\Examples\C8051T60x” directory during
IDE installation. The register and bit names are identical to those used in the C8051T60x datasheet. The register
definition files are also installed in the default search path used by the Keil Software 8051 tools. Therefore, when
using the Keil 8051 tools included with the development kit (A51, C51), it is not necessary to copy a register
definition file to each project’s file directory.
6.2. Blinking LED Example
The example source files blink.asm and blinky.c show examples of several basic C8051T60x functions. These
include; disabling the watchdog timer (WDT), configuring the Port I/O crossbar, configuring a timer for an interrupt
routine, initializing the system clock, and configuring a GPIO port. When compiled/assembled and linked these
programs flash the green LED on the C8051T600 main board about ten times a second using the interrupt handler
with a timer.
C8051T60x-DK
Rev. 0.1 5
7. Development Boards
The C8051T60x Development Kit includes a main board which interfaces to various daughter boards. The
“C8051T600 Emulation Daughter Board” contains a C8051F300 device to be used for preliminary software
development. The socketed C8051T600 daughter boards allow programming and evaluation of the actual
C8051T60x family of devices. Numerous input/output (I/O) connections are provided on the main board to facilitate
prototyping. Refer to Figure 2 for the locations of the various connectors on the main board. Figure 3, Figure 4 and
Figure 5 show the available daughter boards that can be used with the C8051T600 main board.
P1, P2 Daughter board connection (Daughter boards are plugged into the P1 and P2 connectors for
evaluation and programming)
P3 Power connector (accepts input from 7.5 to 15 VDC unregulated power adapter)
J1 USB Debug connector
J2 RS-232 connector
J3 LED/Switch/RS-232 connection block
J6 Analog I/O terminal block
J7 Connects potentiometer to P0.1
J8 Direct device pin connection block
J10 VPP supply connection (used when programming OTP devices)
Figure 2. C8051T600 Main Board (Included in Kit)
D1
P3
DEBUG
J8
J3
P0.3
SW1
P0.6
D2
J10
PWR
D4
D7
J7
R13
SILICON LABS
www.silabs.com
P1
P2
RESET
J1
J2
J6
C20
R18
R12
C8051T60x-DK
6 Rev. 0.1
Figure 3. C8051T600 Evaluation Daughter Board (Included in Kit)
Figure 4. C8051T600 SOIC Socket Daughter Board (Included in Kit)
Figure 5. C8051T600 QFN Socket Daughter Board (Available Separately)
F300
C8051T600 EDB
C8051T600 SOIC SKT DB
U1
PIN1
PIN2
PIN7 PIN8
PIN14
C8051T600 QFN11 SKT DB

C8051T600-EDB

Mfr. #:
Manufacturer:
Silicon Labs
Description:
Daughter Cards & OEM Boards Flash Emulation Daughter Board
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet