• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF Hardware & Tools Forum » Driver issue
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Driver issue

This question is not answered
Hardeep
Posted by Hardeep
on Mar 19 2010 12:16 PM
Prodigy30 points

 

I purchased the CC2530 Development kit and I am having problems with it connecting to my PC. Let me first mention that my machine is running Windows XP 32-bit, not a 64-bit.

This is what I have done so far:

I have my setup as it describes in the user's guide (swru208a.pdf). Please see attached pictures. I have the CC2531 USB connected to P3 on the SmartRF05 Evalulation board which is then connected via a USB cable to my PC. Like the user manual mentions, I downloaded the SmartRF Studio software to my PC before connected the USB cable to my PC. At the end of the software installation there was a popup saying that usbxxx.inf was installed. I don't remember the exact message but it was along those lines. Upon connecting the USB cable to my PC, I received a new hardware prompt and I tried to install the hardware by pointing it to download drivers from the SmartRF Studio folder. Shortly after I received an error saying that the correct driver couldn't be found. i did some more investigating on your website and found the CC2531 USB Hardware User's guide (swru221a.pdf). In this manual it mentions that I need to download the packet sniffer software before I connect the device. I did this and received a new hardware prompt upon connecting the USB cable to my PC and installed the device. When I went to device manager, I could see it there called CC2531 USB Dongle. The packet sniffer software seems to work when I run the pre-programmed software on the hardware (I think its called the PER test). Now, when I try to open the SmartRF Studio software, I cannot connect to the SmartRF05 board. On page 9 of the swru208a.pdf document, there is a screenshot of what I should see. I should see "CC2530 - new device", however, I do not. 

I'm not sure what happened. Maybe by me installing the packet sniffer I have permanently made the device into a packet sniffer instead of a debug device. If so, how do I get myself out of this problem. And once out of that problem, where do I get the proper driver for connecting the SmartRF05 board to my PC. 

Eventually I would like to create a project using the IAR workbench after these driver and connection issues have been resolved..

 

Thank you.

Hardeep

 

CC2530
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • H Stewart
    Posted by H Stewart
    on Mar 20 2010 10:58 AM
    Mastermind8140 points

    It is hard to see details in the photos but it appears that you are trying to interface with the SRF05 and RF Studio via the USB connector on the dongle when it should be the one on the SRF05. A successful installation will appear in MS XP Device Manage as shown on page 9/38 of swru210a as a "cebal controlled device".

    Most people have  RF Studio, Ti Flash Programmer and Packet Sniffer loaded on their host computer. Provided you are not trying to use 2 or more of these applications at the same time it is not a problem. That is, you do not need to un-install one to use another.

    IAR uses the SRF05 driver directly and does not require the use of RF Studio, Ti Flash programmer, or packet sniffer except the loading one of these is generally the method of also capturing the SRF05 driver. In IAR right click of the project name in the file dialog and select options (i.e. not option from the tab at the top of the screen) and then set up IAW the screen shot but selecting the appropriate Device Description in the pull down at the bottom of the dialog. Once again use the USB interface on the SRF05 board and the ribbon cable to the target device. In IAR each time you enter debug the lastest binary file is flashed into the target device. A useful alternative is to have IAR write the binary file to a XP folder/file and then use Ti Fash Programmer to flash the target with this file via the ribbon cable.

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • esy
    Posted by esy
    on Mar 22 2010 11:29 AM
    Expert3130 points

    As Stewart wrote, it sounds like you haven't installed the USB driver for the SmartRF05EB board properly. The SmartRF05EB board requires one driver, and the CC2531 (when used as packet sniffer) requires another driver installation.

    If your SmartRF05EB is installed properly, it should be listed in Device Manager as "SmartRF05EB" in the category "Cebal controlled devices". If you are able to find your 05EB in the list (e.g. as "unknown device" or similar) you can try to reinstall the driver for it. Right-click the device and select "Update driver..." to start the found-new-hardware wizard.

    Since you've already installed SmartRF Studio, you can point the wizard to either search automatically, or if that fails manually point it to the following folder/file: "C:\Program Files\Texas Instruments\Extras\Drivers\srf05eb.inf" (or similar). If you also have IAR EW8051 installed, you should normally also find the same USB driver for the SmartRF05EB inside "C:\Program Files\IAR Systems\Embedded Workbench 5.3\8051\drivers\Texas Instruments" (or similar).

    SmartRF05EB usb driver windows
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • esy
    Posted by esy
    on Mar 22 2010 11:34 AM
    Expert3130 points

    Just one more thing:
    From what I can see on the picture you should either remove the cable from the SmartRF05EB to the CC2531 dongle, or remove the CC2530EM that is mounted in the SmartRF05EB EM socket. You should not connect/use both at the same time, as both chips (the CC2530 and the CC2531) share the same communication interface to the on-board USB controller on the SmartRF05EB, which can cause communication problems.

    To debug and program the external CC2531 USB Dongle from IAR you should remove the CC2530EM first, and reset the SmartRF05EB board.

    CC2530EM cc2531 usb dongle
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Hardeep
    Posted by Hardeep
    on Mar 22 2010 18:54 PM
    Prodigy30 points

    Thanks for your help, esy.

    When I connect the USB cord to my computer, under "Cebal controlled devices" I get "CC2531 USB Dongle", NOT "SmartRF05EB". I have tried to uninstall and update the driver, and redirect to the directory you mentioned in your post, however it keeps on saying "CC2531 USB Dongle". Any ideas how I can get around this?

     

    Also just to confirm my connections, am I supposed to connect the Dongle to the "Ext Soc Debug" / P3 on the SmartRF05EB to be able to debug the port?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • esy
    Posted by esy
    on Mar 23 2010 05:15 AM
    Expert3130 points

    It is correct that you see "CC2531 USB Dongle" under Cebal controlled devices, it means you have correctly installed the USB driver for its packet sniffer firmware, i.e. this device is only the tiny USB dongle.

    However, you should also see the "SmartRF05EB" as a separate USB device too. (I am assuming you have also connected this to your PC via USB, and switched it on?)

    When debugging/developing software on the CC2531 USB Dongle you can use the SmartRF05EB as your debugger device. So it is correct of you to attach it to the "Ext SoC Debug" (P3). When doing this, you must remove any CC2530EM from the SmartRF05EB first, since you cannot debug two devices at once. In order to use the SmartRF05EB you will need to install the drivers for it first. It too should be listed under Cebal controlled devices.

     

    This is the setup for debugging software on the CC2531 chip (please see the section 8 about CC2531 dongle in the CC2530DK user manual for more details):

    PC <===(USB)===> SmartRF05EB (=debug emulator hardware) <===(10-pin flat cable on P3)===> CC2531 USB dongle (=this must be powered separately, e.g. via USB cable)

    This is the setup for debugging the CC2530:

    PC <===(USB)===> SmartRF05EB (=debug emulator hardware) <===(EM connector)===> CC2530EM

    SmartRF05EB cc2531 usb driver
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Hardeep
    Posted by Hardeep
    on Mar 24 2010 14:34 PM
    Prodigy30 points

    The last part of your response makes a lot of sense...It was the two different configurations that were confusing me. I wanted to setup for debugging the CC2530 not the CC2531.

    I connected the PC to the SmartRF05EB board (P12) via a USB cable. I next connected the CC2530EM onto the SmartRF05EB board (P5 and P6) and I now see SmartRF05EB under Cebal devices.

    I want to run the blinky example found in the "CC2530 Development Kit User's guide" (swru208a.pdf), however I don't see any LEDs on the CC2530EM board. Is there any other simple program I can run just so that I can play around it?

    I downloaded the CC2530 Software Examples zip file from the TI website. There seems to be two copies of "light_swtich - srf05_cc2530" and "per_test - srf05_cc2530", however the second set have "_91" after their titles and have no output files. What does this mean? 

    As well, can I run these software examples on my hardware without losing the original PER TEST software?

    Thank you for all your help.

    Hardeep

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use