6.1.2 Installing the application.................................................................................................................................................... 10
6.1.3 Running the application...................................................................................................................................................... 10
6.2.2 Installing the application.................................................................................................................................................... 11
6.2.3 Running the application...................................................................................................................................................... 12
6.3.2 Installing the application.................................................................................................................................................... 13
6.3.3 Running the application...................................................................................................................................................... 14
7
7.1 CC2511 USB
7.2 W
7.2.1 Windows USB driver license............................................................................................................................................... 17
Thank you for purchasing a SmartRF®04DK Development Kit.
Please note that Chipcon uses the term SmartRF
development kits on the SmartRF
®
04 platform. This development platform supports
evaluation, development and prototyping using the SmartRF
®
04DK as a collective term for all
®
04 products from Chipcon.
Make sure to subscribe to Chipcon’s Developer’s Newsletter to receive information about
updates to documentation, new product releases and more. Sign up on the Chipcon web site.
2 About this manual
This manual covers the CC2511 Dongle, found in the CC2510–CC2511DK. It covers both the
CC2511 Dongle hardware and software components of the development kit.
It covers the use of CC2511 application examples.
The CC2510EM and CC2510 application examples are covered in a separate document.
SmartRF
The Chipcon Packet Sniffer has its own user manual.
The Chipcon Flash Programmer has its own user manual.
Further background information can be found in the device datasheets.
®
Studio has its own user manual.
3 Definitions
SmartRF04EB Evaluation Board. Main board with LCD, USB interface,
LEDs, pot-meter etc. Platform for the Evaluation Modules
(EM, see below).
SmartRF®04DK A collective term used for all development kits for the
SmartRF
CC2510EM CC2510 Evaluation Module, a small plug-in module for
SmartRF04EB, should be used as reference design for
antenna and RF layout.
CC2511 USB Dongle CC2511 Evaluation Module, a small USB dongle.
SmartRF04EB, should be used as reference design for
antenna and RF layout.
SoC System on a Chip. A collective term used to refer to
Chipcon ICs with on-chip MCU and RF transceiver. Used
in this document to reference the CC2430 and the
CC2510.
ICE In Circuit Emulator.
CC2510 application examples Application examples using only the CC2510.
CC2511 application examples Application examples using the CC2511 USB Dongle
together with a CC2510.
®
04 platform, i.e. SmartRF04EB + EM.
SWRU082 Page 3 of 24
CC2511 Dongle
4 Connecting CC2511 Dongle to SmartRF04EB.
Please see the “CC2430DK_CC2510_CC1110_User_Manual” for more information on the
SmartRF04EB and how to use the CC2510EM.
Make sure to install SmartRF
SmartRF
The CC2511 have a 2 wire debug interface that is used for chip programming and debugging.
When connecting this interface to the SmartRF04EB USB MCU, the CC2511 can be
programmed from the Chipcon Flash Programmer software and debugged from IAR
embedded workbench..To connect the CC2511 Dongle to the SmartRF04EB follow these 6
steps:
1. Turn off the SmartRF04EB power by moving the power switch to the left position. See
Figure 3.
2. Remove any CCxxxxEM modules attached to the SmarRF04EB.
3. Connect the SmartRF04EB to a PC with the supplied USB cable.
4. Connect the CC2511 Dongle to the SmartRF04EB with the supplied 10 pin cable.
5. Power the CC2511 Dongle.
®
Studio can be downloaded from the www.chipcon.com or www.ti.com/lpw
The cable should be mounted between the “SoC debug” connector on the CC2511
Dongle and the “P14 SoC debug / flash” connector on the SmartRF04EB. Make sure
pin 1 is connected to pin 1. This cable connects the debug interface and GND
between the two devices, however the CC2511 Dongle
cable.
To power the CC2511 Dongle there are two options:
•Powered with a USB cable.
Using the supplied USB extension cable to connect the CC2511 Dongle to the
PC.
See Figure 1.
•Powered from the SmartRF04EB.
Connect pin 9 on the “Test pin” connector on CC2511 Dongle to pin 5 on the “I/O
A” connector on SmartRF04EB to power the Dongle from the SmartRF04EB.
See Figure 2.
The CC2511 Dongle should only be powered by one of the two sources at a time.
Do not connect the USB cable to the CC2511 Dongle while it is powered from the
SmartRF04EB.
The SmartRF04EB have a level converter on the debug connector, so the
SmartRF04EB and the CC2511 Dongle may have a different power supply voltage.
®
Studio before connecting the SmartRF04EB to a PC.
is not powered trough this
SWRU082 Page 4 of 24
Figure 1 CC2511 Dongle powered from USB cable
CC2511 Dongle
Figure 2 CC2511 Dongle powered from SmartRF04EB
6. Turn on the power on the SmartRF04EB. See Figure 3.
Figure 3: SmartRF04EB Power switch, power on.
The CC2511 can now be programmed with the Chipcon Flash Programmer software. The
firmware on the CC2511 can also be debugged using the IAR embedded workbench
debugger.
Please see the IAR user manual and the Chipcon Flash Programmer user manual for more
details.
SWRU082 Page 5 of 24
CC2511 Dongle
5 Using SmartRF04EB as an In-Circuit Emulator (ICE)
The SmartRF04EB can be used as ICE for the CC2511
To use the SmartRF04EB as ICE, the IAR Embedded Workbench software must be installed.
The Embedded Workbench is a C-Compiler, Simulator, and ICE debugger. See the IAR
Embedded Workbench documentation supplied with the kit for instructions how to set up the
ICE debugger for use as an ICE.
When the SmartRF04EB is connected to a PC with the USB port, the debugger will connect
to the SmartRF04EB. Several SmartRF04EB can be connected to USB ports simultaneously.
A selection window will display the connected SmartRF04EB, and the user can select which
device to load.
For custom PCB’s with the CC2511, it is recommended to include a pin header or test points
to allow in-circuit emulation or programming using SmartRF04EB or other 3rd party
programming tools. Use the CC2511 Dongle as a reference. Please see the
CC2510/CC2511section of the Chipcon web site for an updated list of 3rd party programming
tools.
When using smartRF04EB as emulator for external target debugging any CCxxxxEM module
must be removed
The pin-out used on the SmartRF04EB is explained in Table 1 and Figure 4. The connector
includes 4 SPI control signals. These are currently not used, but they are included to give
users flexibility.
Pin Function
1
2
3 Debug Clock(DC)
4 Debug Data(DD)
5 CSn(optional)
6 SCLK(optional)
7 Reset_N
8 MOSI(optional)
9 3.3V VDD, alt. NC
10 MISO
Gnd
VDD
Table 1: P14 SOC debug connector pin-out
VDD note: The SmartRF04EB includes a voltage converter to support programming and
debugging of external systems with different voltage than the SmartRF04EB. The debug
connector includes two VDD connections on pin 2 and pin 9. The function is different for these
connections.
Pin 2 VDD supplies voltage to the voltage converter. If the target application is self powered
pin 2 should be connected to VDD to assure that the correct supply voltage is used for the
voltage converter. This pin must always be connected to VDD.
Pin 9 VDD supplies 3.3V from the SmartRF04EB. If the target application is powered from the
SmartRF04EB supply during programming and debugging this pin can be connected to VDD.
If the target voltage differs from 3.3V, this pin should not be connected.
On the CC2511 Dongle this pin is not connected. Hence the CC2511 Dongle must be
powered from a separate USB cable or a separate cable connecting pin 9 on “test pins” / P4
to VDD on the SmartRF04EB. See chapter 4 for details.
Figure 4 shows the required signal for a minimum connector layout.
CC2511 Dongle
Figure 5: SmartRF04EB debug connector for debugging
CC2511 Dongle / other external target systems
5.1 Debugging USB firmware
When writing and debugging USB firmware one should remember that when Windows (or
another OS) detects a USB device it will assume that it works in accordance with the USB
specification. During debugging this might not be the case. Breakpoints may stop the
execution of code on the CC2511 Dongle and firmware under development may not be
completed or error free. This may lead to the PC disconnecting the CC2511 Dongle and
turning off or toggling its power supply. In some cases Windows (or the OS in use) may crash
or misbehave. Hence breakpoints should be used with caution.
Obviously inserting and using breakpoints in the firmware during debugging will be extremely
useful to pinpoint bugs and follow code execution. And they can and should be used. But they
will also stop the code execution on the CC2511 and may cause the device to act in conflict
with the USB specification. This can lead to the PC disconnecting the CC2511 Dongle,
sending a USB reset or worst case the operating system may crash.
If the firmware contain bugs that make the PC disconnect the CC2511 Dongle it may be
necessary to disconnect the USB cable, and power the CC2511 Dongle from the
SmartRF04EB in order to reprogram it.
SWRU082 Page 7 of 24
5.2 Known problems
When using the debug interface through the level-converter on the SmartRf04EB. (Shown in
Figure 1 and Figure 2) it might become unstable. This problem is more likely to occur a low
voltages or with crosstalk in the cable at high interface speed.
First make sure that the 10 pin flat cable used to connect the CC2511 USB Dongle to the
SmartRF04EB is as short as possible.
Next it might be necessary to reduce the debug interface speed in order to achieve stable
operation.
In the IAR workbench do the following:
• Highlight the project name by clicking on it in the “Files” window. (See Figure 6)
• Go to Project -> Options…
• Select the Category “Chipcon”
• Click on the “Target” tab.
• Check the “Reduce interface speed” option. (See Figure 7)
Highlight the
project name
CC2511 Dongle
Check the
“Reduce interface
speed” option.
Figure 6: Highlight the project name
Figure 7: Reduce interface speed
SWRU082 Page 8 of 24
Loading...
+ 16 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.