C8051F336DK
4
Rev. 0.2
4.4. Keil uVision2 and uVision3 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 rapidly updating 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 (
).
5. Hardware Setup using a USB Debug Adapter
The target board is connected to a PC running the Silicon Laboratories IDE via the USB Debug Adapter as shown
in Figure 2.
1. Connect the USB Debug Adapter to the DEBUG connector on the target board with the 10-pin ribbon cable.
2. Connect one end of the USB cable to the USB connector on the USB Debug Adapter.
3. Connect the other end of the USB cable to a USB Port on the PC.
4. Connect the ac/dc power adapter to power jack P1 on the target board.
Notes:
• Use the Reset button in the IDE to reset the target when connected using a USB Debug Adapter.
• Remove power from the target board and the USB Debug Adapter before connecting or disconnecting the
ribbon cable from the target board. Connecting or disconnecting the cable when the devices have power can
damage the device and/or the USB Debug Adapter.
Figure 2. Hardware Setup using a USB Debug Adapter
SW3
P2
CP
2102
U3
F338
U1
P1
DEBUG
J4
+3VD
GND
P1.3
D7
USB
D4
P0.7
SW2
RESET
SW1
TB1
SILICON LABS
www.silabs.com
J11
J7
J8
J1
J2
J3
J6
J9
J10
J5
Proto
ty
pe
Area
R14
PWR
D6
PC
USB
Cable
AC/DC
Adapter
Target Board
Sili
con La
b
or
at
or
ie
s
USB
DEB
U
G
ADAPTE
R
Ru
n
St
o
p
Po
we
r
USB Debug
Adapter