C8051F930-DK
8
Rev. 0.5
3.7. Keil µVision2 and µVision3 Silicon Laboratories Drivers
As an alternative to the Silicon Laboratories IDE, the µVision debug driver allows the Keil µVision2 and µVision3
IDEs 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 µVision2 and µVision3 IDEs 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, refer to the µVision
driver documentation. The documentation and software are available on the kit CD and from the downloads
webpage:
www.silabs.com/mcudownloads
.
4. 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 6.
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. Verify that a shorting block is installed on J17 and that SW5 is in the ON position.
4. Connect the other end of the USB cable to a USB Port on the PC.
5. Connect the ac/dc power adapter to power jack P1 on the target board (Optional).
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 6. Hardware Setup using a USB Debug Adapter
PC
USB
Cable
AC/DC
Adapter
Target Board
P0.2
P0.3
J3
J4
J2
`
P3
CP
2103
U3
P2
DEB
U
G
J9
USB POWER
RESET
P1.6
P1.5
POWE
R
OFF
B
E
F
O
R
E
SW4
S
W
IT
C
H
ING
M
O
DE
2 CE
LL
1 C
E
LL
J17
IMEASURE
H2
SILICON LABS
www.silabs.com
H1
J6 VDD/DC+
J5
J7
J13
F930
U1
J14
J11
J10
VBAT
WALL_PWR
AAA_BAT
COIN_CELL
TOUCH SENSE SWITCH
P2.0
TOUCH SENSE SWITCH
P2.1
J15
J16
R15
J12
J8
+3VD
+1VD
VBAT
J1
SW5
ON
OFF
S
ili
con
L
abor
at
or
ie
s
U
SB D
E
BU
G
A
D
AP
TE
R
Run
St
op
Pow
er
USB Debug
Adapter
Downloaded from
Elcodis.com
electronic components distributor