This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB Firmware Library and Software Examples Rev.B

Other Parts Discussed in Thread: CC2511, CC2531, SIMPLICITI, CC1111EMK868-915, CC2530, Z-STACK

 Our USB Firmware Library with software examples has been updated to Revision B. The new release features:

 

  • Supports CC1111, CC2511 and CC2531
  • HID example emulates simple mouse and keyboard operations using a SmartRF04EB or SmartRF05EB
  • CDC example with RF Modem/Virtual UART
  • MRFI radio link layer (MRFI is the link layer used by SimpliciTI)
  • SW tested against USB Command Verifier, passing Chapter 9 and HID tests (the USB Command Verifier is a part of the USB certification process)
  • HID and RF Modem SW examples rewritten from scratch
  • Documentation split in software and hardware manuals
  • Tested on Windows XP SP2/SP3, Windows Vista SP1 and GNU/Linux (Ubuntu 9.04)
  • Bug fixes to the USB Firmware Library, CDC class and HID class

 

 

The software and the documentation can be downloaded from the following web pages:

 

  • http://focus.ti.com/docs/toolsw/folders/print/cc2530dk.html
  • http://focus.ti.com/docs/toolsw/folders/print/cc2511emk.html
  • http://focus.ti.com/docs/toolsw/folders/print/cc1111emk868-915.html
  • I have integrated the library and CDC device into the HAL layer of the TI Z-Stack for CC2530 and run the sample application known as SerialApp by using the CC2531 dongle USB as a serial port to a PC app. The PC app just has to open the virtual UART at 115.2 kbaud, 8 bits data, 1 stop, no parity, no flow control and it works great. But I have hit a snag when I tried using a USB hub - the CC2531 is still seen by the PC and the virtual UART COM appears in the device manager, but there is no data flow on 2 out of 3 hubs tried:

     This Micro Innovation, not 2.0, 4-port USB hub works

    http://www.microinv.com/product_center.asp?product_id=10022&dept_id=1019&parent_id=1001

     This D-Link 7-port true 2.0 USB hub (with or without the power supply connected) fails:

    http://www.dlink.com/products/?pid=149

     The SMC Networks 2.0 USB hub also fails:

    http://www.smc.com/index.cfm?event=viewProduct&cid=9&scid=51&localeCode=EN%5FUSA&pid=1466

    What has to be done to be able to work with a 2.0 USB hub?

  • Hi Jomar,

    Does TI have a USB driver which supports Windows Mobile OS for CC2511EMK?

    Thanks.

    Collin

  • Hi,

    is there any progress regarding the USB Hub issue found by Dirty Harry?

    regrards

    spachner

  • We do not provide drivers with these USB SW examples; these rely on HID and CDC drivers supplied with the various operating systems. They have been tested on Windows XP, Vista and Ubuntu/Linux and would expect them to work on any OS that comes with standard HID/CDC drivers.

  • The issue will be fixed for future Z-stack releases. Please be aware that this problem has not been found in the proprietary SW examples

  • Yes, I have verified in the Alpha release of the Z-Stack 2.3.0 the other hubs are not a problem!

     

  • Maybe a stupid question, but where are the USB drivers for the CC2531? I've tried to plug in the CC2531 dongle into XP, Vista and Win7 (x64) and it does not resolve to HID, CDC or virtual serial. Where can I find the USB drivers?

    Ted

  • I went to www.ti.com

    In serach for part # box, I entered CC2531

    I followed links to CC2531 and near bottom of page is "Tools and Software" and a choice for "CC USB Firmware and Examples Rev B 11 May 2009" a zip file that is 1245KB. After downloading and unzipping, there is a directory named "driver" where you must point the Windows plug and play new device found driver installation.

     

  • What firmware was programmed on the dongle when you tried this? If you programmed the dongle with the USB code examples, please observe:

    •  The HID example should run without any driver installation
    • The CDC driver is included in the distribution, the usb_cdc_driver_cc2531.inf file is located in the driver sub-folder.

     Please note that the examples have not been tested on 64-bit XP and Win7.

  • This file does not seem to be availble in Rev C.  Where can I get the usb_cdc_driver_cc2531.inf file?

  • You are right. The usb_cdc_driver_cc2531.inf file for the CC2531 CDC example seems to be missing from the current zip (rev C).
    I have attached a copy of the missing .inf that can be used until the zip gets updated. (It's actually not very different to e.g. the usb_cdc_driver_cc2511.inf : it is only the USB PID (product ID) that has been changed into 0x16A8 and the descriptive strings with the chip name have been updated.)

    Note: it seems that this forum doesn't allow me to attach a .inf file, so I had to add an extra .txt suffix to get it uploaded. Please rename the file back to just .inf (remove ".txt" after downloading).

    Update 2009-12-10: It seems that the swrc088 zip file now has been updated with the missing inf file (it is still called rev C), so there's no need to use the one I attached here anymore.

  • Hi guys,

     

    I try to install the CC2531 usb driver in Windows XP but at the end of the installation there is an error code 10 ! I try to uninstall and reinstall but the error still remain...

    How I can solve this problem?

     

    thank you

    Emanuele

  • Have you been able to resolve the Error 10 Problem??

    I have the same on Win XP and Win7

    /Karsten

  • Have you tried the new USB CDC driver (or really signed .inf files) that we now distribute with SmartRF Studio? Look for ccxxxx_usb_cdc.* in C:\Program Files (x86)\Texas Instruments\SmartRF Tools\drivers\vcp.

    Uninstall whatever driver you have for the dongle (make sure they are all uninstalled by displaying hidden devices in the device manager) and point to the location mentioned above when installing the driver.

    Also make sure you use the correct project setting when building the USB example. The current version of the examples is quite old, so newer versions of IAR might mess up the project options when converting the old project files. Here's a couple of screenshots showing the project options I'm using with IAR EW8051 v8.20.2 when building the code from swrc088 rev C. With these modification, the project builds without errors or warnings and the USB device works as expected.

     

  • thank you very much for your detailed reply. 

    We do not have the IAR Workbench yet. However, with the CCDebugger we have, we have been able to flash a rf_modem.hex sample into the dongle that also enables us to use the ZPI.dll. 

    We are wondering whether we can use this dll in conjungtion with the dongle to create a test system for the products we are going to develop. My understanding is that generally the TI zstack supports all the functionality for ZLL 1.0 and ZHA with all Clusters needed. Is this a correct understanding?