swru197e
2/23
Table of Contents
1
Introduction ................................................................................................................................. 3
2
Abbreviations and Acronyms .................................................................................................... 3
3
Box Contents .............................................................................................................................. 4
4
Operating Conditions of the CC Debugger .............................................................................. 4
5
Initial Steps .................................................................................................................................. 5
5.1
Installing the USB driver ........................................................................................................... 5
5.2
Supported PC Tools .................................................................................................................. 5
6
Connecting the CC Debugger to the Device ............................................................................ 6
6.1
Target Connector Details .......................................................................................................... 6
6.2
Connecting the CC Debugger to a System on Chip ................................................................. 8
6.2.1
Minimum connection for debugging ....................................................................................................................... 8
6.2.2
Minimum connection for SmartRF Studio .............................................................................................................. 8
6.2.3
Minimum connection for SmartRF Packet Sniffer .................................................................................................. 9
6.3
Connecting the CC Debugger to a Transceiver ...................................................................... 10
6.4
Connecting the CC Debugger to a CC85xx ............................................................................ 12
7
Using the CC Debugger ........................................................................................................... 13
7.1
Understanding the LED ........................................................................................................... 13
8
Updating the Firmware ............................................................................................................. 14
8.1
Updating the firmware automatically in SmartRF Studio ........................................................ 14
8.2
Updating the firmware manually in SmartRF Flash Programmer ........................................... 16
8.3
Forced boot recovery mode .................................................................................................... 17
8.4
Resurrecting the CC Debugger ............................................................................................... 17
9
Troubleshooting ....................................................................................................................... 20
10
Schematics ................................................................................................................................ 21
11
References ................................................................................................................................ 21
12
Document History ..................................................................................................................... 22
Page 1: ...CC Debugger User s Guide SWRU197E ...
Page 2: ... for debugging 8 6 2 2 Minimum connection for SmartRF Studio 8 6 2 3 Minimum connection for SmartRF Packet Sniffer 9 6 3 Connecting the CC Debugger to a Transceiver 10 6 4 Connecting the CC Debugger to a CC85xx 12 7 Using the CC Debugger 13 7 1 Understanding the LED 13 8 Updating the Firmware 14 8 1 Updating the firmware automatically in SmartRF Studio 14 8 2 Updating the firmware manually in Smar...
Page 3: ...tudio SmartRF Studio will also be able to control supported CCxxxx RF transceivers CC2520 CC112x and CC11xL when they are connected to the debugger as explained in chapter 6 3 In addition CC Debugger is used for configuring the CC85xx devices with PurePath Wireless Configurator 2 Abbreviations and Acronyms CSn Chip Select active low DC Debug Clock DD Debug Data DUT Device Under Test GND Ground LED...
Page 4: ...he CC Debugger Minimum target voltage 1 2 Volt Maximum target voltage 3 6 Volt Operating temperature 0 C to 85 C Regulated voltage on CC Debugger 3 3 Volt Maximum target current draw 200 mA Supported Operating Systems Microsoft Windows 2000 Windows XP SP2 SP3 32 bit versions Windows Vista 32 64 bit Windows 7 32 64 bit Only applicable if the target is powered from the CC Debugger Figure 1 CC Debugg...
Page 5: ...er The debugger should appear as a Cebal controlled device Figure 2 Verify correct driver installation For further details or troubleshooting the driver installation process please refer to DN304 CCxxxx Development Tools USB Driver Installation Guide 4 5 2 Supported PC Tools Currently the CC Debugger can be used together with the following PC Tools IAR Embedded Workbench for 8051 In circuit debugg...
Page 6: ... Pins The adapter board which has a 10 pin 2x5 1 27 mm pitch connector has the same pin placement A suggested matching male surface mounted connector would be STL21 A01VXX from MPE Garry Figure 4 Placement of Target Connector Pins on Adapter Board The pin out of the target connector is shown in Figure 5 Note that not all of these pins need to be connected to the target device for programming and d...
Page 7: ...gnal is used by the level converters on the CC Debugger to handle different voltage levels on the target board and the debugger Pin 2 on the target connector must be connected to Vdd on the target board USB Controller Level Converter Vdd from target Vdd local CC Debugger TARGET Target Connector Figure 6 Voltage from target to CC Debugger Alternatively it is possible to power the target by connecti...
Page 8: ...DC Debug Clock RESETn 3 3V from debugger Can optionally be used to power the target board DD Debug Data SoC P2 2 P2 1 RESETn Vdd GND Vdd CC Debugger Connector CCxxxx System on Chip NOTE 2 Vdd NOTE 1 10 kΩ 2 7 kΩ 1 nF Note 1 Some early revisions of certain SoCs CC2430 CC2510 and CC1110 needed an external pull up to avoid unwanted transitions on the debug clock line during chip reset thus inadverten...
Page 9: ...SoC All of the current TI RF SoCs can be configured to operate as SPI slaves with the SPI signals CS SCLK MISO and MOSI going to one of the USART peripherals The packet sniffer application will program the SoC with firmware that configures one of the USART peripherals in order to communicate with the CC Debugger The firmware can use any of the four possible pin configurations USART 0 or 1 pin out ...
Page 10: ...er system it is necessary to make sure the debugger output signals DC DD CSn SCLK MOSI and RESETn do not interfere with the other SPI master on the board The other SPI master would typically be the microcontroller on the board The connection diagrams below show the interconnection between the debugger and the various supported transceivers 2 1 4 3 6 5 8 7 10 9 GND DC RESETn 3 3V from debugger Can ...
Page 11: ... Debugger Connector CC112x CC1175 CSn SCLK MOSI MISO SO SI SCLK CSn Figure 8 CC Debugger connected to CC112x CC1175 2 1 4 3 6 5 8 7 10 9 GND DC 3 3V from debugger Can optionally be used to power the target board DD GPIO0 GPIO2 Vdd GND Vdd CC Debugger Connector CC110L CC113L CC115L CSn SCLK MOSI MISO SO SI SCLK CSn Figure 9 CC Debugger connected to CC11XL ...
Page 12: ...ath Wireless Configurator the device s SPI interface must be connected to the CC Debugger as shown in the figure below 2 1 4 3 6 5 8 7 10 9 GND RESETn 3 3V from debugger Can optionally be used to power the target board RESETn Vdd GND Vdd CC Debugger Connector CC85XX CSn SCLK MOSI MISO MISO MOSI SCLK CSn Figure 10 CC Debugger connected to CC85XX ...
Page 13: ... The debugger will briefly enter this state while the firmware is being upgraded see chapter 8 The board might also enter this state if the firmware is corrupt or if the user has manually forced to board to start up in the special boot recovery mode section 8 3 To go out of the state reset the debugger by pressing the Reset button or by power cycling the device If the LED is still blinking reprogr...
Page 14: ...o resurrect a seemingly broken debugger 8 1 Updating the firmware automatically in SmartRF Studio Updating the firmware on the CC Debugger can be done automatically by SmartRF Studio Please follow the few steps described below 1 Start SmartRF Studio 2 Disconnect the debugger from any target board and connect it to the PC via the USB cable The debugger will appear in the list of connected devices i...
Page 15: ... 12 Auto FW upgrade 4 Click Yes and let SmartRF Studio do the rest Figure 13 Auto FW upgrade 5 Click Done and you re good to go The device should appear in the list of connected devices now showing the new firmware revision ...
Page 16: ...amming device required 2 Disconnect the debugger from any target board and connect it to the PC via the USB cable The debugger will appear in the list of connected devices Chip type will be listed as N A 3 Select the flash image you want to program on the debugger Normally you would select C Program Files x86 Texas Instruments SmartRF Tools Firmware CC Debugger cebal_fw_srf05dbg hex 1 4 Select the...
Page 17: ...y mode When reconnecting the USB cable the LED will start to blink with a RED light This indicates that the bootloader is running and that the debugger is in boot recovery mode At this point follow the same firmware programming steps as describe at the beginning of this chapter Please also note that the boot recovery mode can be used as a check to verify that the bootloader on the debugger is work...
Page 18: ...cable Turn on the SmartRF05EB or debugger it should detect the USB Controller CC2511 on the debugger Figure 16 Programming the bootloader on the CC Debugger using another CC Debugger Figure 17 Programming the bootloader on the CC Debugger using SmartRF05EB Next use the SmartRF Flash Programmer to program the bootloader on the debugger Follow these five steps illustrated in Figure 18 below ...
Page 19: ...ue ID number any 4 digit number will work This number is used by the driver on the PC to uniquely identify devices if more than one debugger is connected at the same time 5 Select Erase program and verify 6 Press the Perform Actions buttons The firmware upgrade takes a few seconds Figure 18 SmartRF Flash Programmer Updating the bootloader Once the bootloader is programmed you might be asked to ins...
Page 20: ...planes on the target and on the PC grounded via USB cable Check that the cable is not broken Especially the small flat cable is prone to stop working if handled a lot or being bent and stretched beyond normal operating conditions Q2 Does IAR EW8051 support the CC Debugger as debugging device A2 Yes but make sure you have an up to date version of IAR with the new debug driver plug in from Texas Ins...
Page 21: ...om lit swra366 5 Texas Instruments Support support ti com 6 Texas Instruments Low Power RF Online Community www ti com lprf forum 7 SmartRF Studio www ti com tool smartrftm studio 8 SmartRF Flash Programmer www ti com tool flash programmer 9 SmartRF Packet Sniffer www ti com tool packet sniffer 10 SmartRF Flash Programmer User Manual www ti com lit swru069 11 PurePath Wireless Configurator www ti ...
Page 22: ... installation information and added more details about firmware upgrade Describe what it means when the LED is amber Updated reference links C 2010 09 19 Added more information about how to upgrade the firmware B 2010 02 25 Fixed erroneous description of interconnection between CC Debugger and CC2520 The VREG_EN signal shall be connected to pin 4 on the target connector not pin 3 A 2010 02 11 Adde...
Page 23: ......
Page 24: ...for use in safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury or death unless officers of the parties have executed an agreement specifically governing such use Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications and acknowledge and agre...