• 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 » Digital Signal Processors (DSP) » C5000 Ultra Low Power DSP » C5000 Ultra Low Power DSP Forum » C5515 UsbStick - connecting to a PC host via USB
Share
C5000 Ultra Low Power DSP
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Top 6 Wiki Links
  • C5000 Main Wiki
  • C5000 Software
  • C5515 Boot-Image Programmer
  • CSL (including CSL 3.00)
  • C5000 Connected Audio Framework
  • Porting C5000 Teaching ROM to C5535 eZdsp
  • Forums

    C5515 UsbStick - connecting to a PC host via USB

    This question is not answered
    Edmund Sim
    Posted by Edmund Sim
    on Jun 22 2010 23:12 PM
    Prodigy50 points

    Has anyone had any success using the USB port (not the one for emulation) to transfer data to a PC host?  I believe this would be of general interest to a lot of people, and the facilities seem to be available, but several steps are involved.  The first 6 steps are straightforward but beyond that I've run into problems.  Here are the steps:

    1) Download the CSL (low-power version) from here:   http://focus.ti.com/docs/toolsw/folders/print/sprc133.html

    2) Once you've installed it, you'll find a doc directory which has documentation for all of the examples in the CSL library.  Following the docs for the USB port, you must then:

    3)  Contact your nearest TI sales rep and obtain a host side program called dm350_diag.exe.  It has its own set of instructions for installation which you must follow.

    4)  Download a PC USB host driver (called "WinDriver") from www.jungo.com.  The current version available is 10.2.  It's available as a 30-day trial.

    5)  Import the the entire CSL library project in CCS V4 and then select example that you want to be the active sub-project , i.e. CSL_USB_PollExample_Out.

    6) Build and run the target program and connect the USB cable to your host pc.

    7) The CSL example documentation now instructs you to: "Open the Windriver driver wizard and install the inf file for the USB device (Only when running for first time)".  But when I try to do this, the WinDriver wizard doesn't seem to give me an option to install any .inf file.  I presume it's the .inf file that came with the dm350_diag.exe package.  The driver wizard let's you create a project file based on some existing installed items, but the TI USB connection does not show up on this list.  This crucial step is necessary to run step 8, which is to run dm350_diag and observe a trace of the communication between target and host via the USB.

    I've tried this on a Windows XP and Vista systems (both 32-bit), but have had no luck.  Has anyone out there had any success with this?

     

    Thanks, Ed

     

    USB CSL CCS4 C5515 eZdsp demo code usbstk5515 ezDSPTMDX5515 TMDX5515EZDSP
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Hyun Kim
      Posted by Hyun Kim
      on Jun 23 2010 16:50 PM
      Genius12975 points

      Hi,

      Your steps look correct.

      Yes, it's working with me. I'm using XP. We are under processing to release new CSL release and USB testing program (for PC application) will be included.

       

      Regards,

      Hyun

      ---------------------------------------------------------------------------------------------------------

      Please click the Verify Answer button on this post if it answers your question.

      Check out these great resources

      http://processors.wiki.ti.com/index.php/Category:C5000
      --------------------------------------------------------------------------------------------------------- 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Edmund Sim
      Posted by Edmund Sim
      on Jun 23 2010 21:44 PM
      Prodigy50 points

      Ok, thanks for the verification that I'm doing the right thing.  I believe then that I may have defective hardware; I'll get another USBstick and try it out again. 

      I was wondering, in the next release of the USB testing program (PC app), would TI also be making the source code available?  This would really help with integrating the functionality into other applications.  When (approximately) would the new CSL release be available?

      Regards,

      Ed.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Christos Nikolaou12204
      Posted by Christos Nikolaou12204
      on Jun 24 2010 01:41 AM
      Expert1760 points

      Hi Ed,

      From what I know the CSL v2.01 USB examples are not meant to support eZdsp55x5, they are for EVM55x5 circuitry.

      What happens is that the board does not enumerate in the USB bus in any of the CSL USB examples.

      Also I do not know anyone that has used out of the box witout modifications the CSL in order to exercise any of the USB examples in eZdsp55x5.

      Since it works for Hyun I'm also keen to see how he managed the 2.01 examples to work on eZdsp!

       

      What does work though is SpectrumDigital's USB example from here

      -> http://support.spectrumdigital.com/boards/usbstk5515_v2/reva/files/usbstk5515_BSL_RevA.zip

      so you can test if your hardware is ok using the usb example from there (USB mouse buttons).

       

      Regards,

      Christos

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Hyun Kim
      Posted by Hyun Kim
      on Jun 25 2010 08:49 AM
      Genius12975 points

      Hi Ed,

       

      The new CSL release will happen within a couple of months. It's under testing with C5515EVM and C5515 eZDSP.

       

      Regards,

      Hyun

      ---------------------------------------------------------------------------------------------------------

      Please click the Verify Answer button on this post if it answers your question.

      Check out these great resources

      http://processors.wiki.ti.com/index.php/Category:C5000
      --------------------------------------------------------------------------------------------------------- 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Hyun Kim
      Posted by Hyun Kim
      on Jun 25 2010 13:36 PM
      Genius12975 points

      Good news to all.

      We'll include a source code of PC application.

       

      Regards,

      Hyun

      ---------------------------------------------------------------------------------------------------------

      Please click the Verify Answer button on this post if it answers your question.

      Check out these great resources

      http://processors.wiki.ti.com/index.php/Category:C5000
      --------------------------------------------------------------------------------------------------------- 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Edmund Sim
      Posted by Edmund Sim
      on Jun 25 2010 22:30 PM
      Prodigy50 points

      Hi Christos,

      While it's not possible with the C5505 UsbStick (EVM was the only option), the C5515 USBStick can apparently communicate with the host via USB.  There was some discussion about this on another thread, if I understood it correctly:

        http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/110/t/47278.aspx

      Plus Hyun's posts back this notion.  But when I get a new stick and actually get it working myself I'll let everyone know.

       

      Regards, Ed.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Edmund Sim
      Posted by Edmund Sim
      on Jun 25 2010 22:31 PM
      Prodigy50 points

      That is really good news.  Keep up the good work everyone!

      Regards, Ed

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Christos Nikolaou12204
      Posted by Christos Nikolaou12204
      on Jun 26 2010 02:34 AM
      Expert1760 points

      Ed,

      I have a eZdsp5515 and my remarks are for the CSL 2.01 on eZdsp5515.

      Hyun could enlighten us  on what CSL version he tests eZdsp5515 and works ok on USB.

       

      Regards,

      Christos

       

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Hyun Kim
      Posted by Hyun Kim
      on Jun 28 2010 10:38 AM
      Genius12975 points

      Hi,

      I want to clarify of which CSL version working on eZdsp USB SD card example.

          CSL 2.01 CSL 2.1 (under testing and future release)

      C5515 eZdsp          USB_SD card (X) USB_SD care (O)

       

      C5515 EVM         USB_SD care (O) USB_SD care (O)

       

      The reason CSL 2,01 dose not work with USB_SD card is that the hardware different between EVM and eZdsp. The next CSL 2.1 release will fix it.

      Other USB example not using SD card work with both EVM and eZdsp.

      Regards,

      Hyun

      ---------------------------------------------------------------------------------------------------------

      Please click the Verify Answer button on this post if it answers your question.

      Check out these great resources

      http://processors.wiki.ti.com/index.php/Category:C5000
      --------------------------------------------------------------------------------------------------------- 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Hyun Kim
      Posted by Hyun Kim
      on Jun 29 2010 10:01 AM
      Genius12975 points

      All,

       

      The PC application (source) code  attached. This code will be added to CSL formal release. You can start use this code.

      Regards,

      Hyun

      ---------------------------------------------------------------------------------------------------------

      Please click the Verify Answer button on this post if it answers your question.

      Check out these great resources

      http://processors.wiki.ti.com/index.php/Category:C5000
      --------------------------------------------------------------------------------------------------------- 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Edmund Sim
      Posted by Edmund Sim
      on Jun 29 2010 23:12 PM
      Prodigy50 points

      This is really great!  It looks to have absolutely everything that anyone would need to get going on both sides - target and PC host.  I just have to wait until I my new USBStick arrives as the one I have is still not functioning properly.  But I'll keep everyone posted as to my progress with the new hardware.

      Thanks again for your efforts and responsiveness.

      Regards, Ed

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Arthi Bhat
      Posted by Arthi Bhat
      on Jul 05 2010 11:37 AM
      Prodigy110 points

      hyun, I am having some trouble running the c5505usb_ep_diag.exe. Specifically it is

      waiting to attach to the target USB port. Let me give you some details.

      I am using a C5515EVM and have been able to test the user USB (not JTAG) port using the

      USB mouse example that comes with the C5515 installation CD.

      I am trying to write a program that sends and receives packets of data between the host

      pc and the EVM5515 user USB port which is what your example does that you posted on

      wiki.

      I read the instructions in the README1st below:

      ///////////////////////////////////////////////////
      How to Run the c5505usb_ep_diag.exe

      This test is designed for testing the read/write for C5505 USB <--> PC. The USB FIFO

      size is 512 byte.


      1. Install the C5505USB_EP driver on the Host PC (WinXP)

      1.0.    open a DOS command window and type in the following commands
      1.1.    wdreg -inf <directory path to .inf>\C5505USB_EP_driver.inf install
      1.2.    wdreg -inf <directory path to .inf>\C5505USB_EP_device.inf preinstall
      1.3.    copy "wdapi1010.dll" to %windir%\system32

      Normally the %windir%\system32 directory is C:\WINDOWS\system32
      if you want to make sure the directory location, you can do following under window
      Start (on the bottom-left corner of the PC) -> Run -> %windir%\system32

      2. Power up the C5505 EVM and connect a JTAG to the EVM

      3. Load and run the "UCSL_USB_PollExample_Out.pjt" (usb/example1), 

      "CSL_USB_IntcExample_Out.pjt" (usb/example2),
      or CSL_USB_DmaExample_Out.pjt" (usb/example3) under c55xx_csl\ccs_v3.3_examples or

      c55xx_csl\ccs_v4.0_examples
      in CSL release

      4. Connect the USB cable between C5505 EVM and the PC, Window will prompt "a new drive

      has been found";
      Do not use wizard, just tell the installation program you have a specific location, then

      tell it where
      the "C5505USB_EP_device.inf" is. Wait until it finishes.

      5. USB Endpoint Read Test: Run c5505usb_ep_diag.exe by double click it. Simply select

      5.1.    Select "4" for the first prompt (Read/Write from pipes)
      5.2.    Select "4" for the second prompt (Check Streaming READ speed)
      5.3.    Type in "81" for the third prompt (Use EP1 IN)

      6. USB Endpoint Write Test: Run c5505usb_ep_diag.exe by double click it. Simply select

      6.1.    Select "4" for the first prompt (Read/Write from pipes)
      6.2.    Select "5" for the second prompt (Check Streaming WRITE speed)
      6.3.    Type in "02" for the third prompt (Use EP2 OUT)

      7. The reading and writing speed will be displayed after the tests are finished.

      The source code for the c5505usb_ep_diag.exe is in C5505USB_EP_diag_src. You will need

      the Microsoft
      Visual Studio 2005 or later to be able to build it.
      ////////////////////////////////////////////////////////////////////////////////////////


      However after I load and run the target program (UCSL_USB_PollExample_Out) and then run

      the host program (c5505usb_ep_diag.exe) the console message is:

      'dos> Please make sure the device is attached:'

      Also STEP 4 above did not happen. The PC did not recognize the USB port and I don't see

      "unknown devices" in my device manager.

      Can you please walk me through what I need to do....I would appreciate it. Now the

      original USB (mouse) program is also not working.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Hyun Kim
      Posted by Hyun Kim
      on Jul 07 2010 10:29 AM
      Genius12975 points

      Hi,

       

      I guess that you are using CSL 2.01. We know there are enumeration issue on that release. There is a USB descriptor not correctly implemented. We have fixed it and will release soon.

       

      Regards,

      Hyun

      ---------------------------------------------------------------------------------------------------------

      Please click the Verify Answer button on this post if it answers your question.

      Check out these great resources

      http://processors.wiki.ti.com/index.php/Category:C5000
      --------------------------------------------------------------------------------------------------------- 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Andrea Cruz
      Posted by Andrea Cruz
      on Aug 07 2010 14:07 PM
      Intellectual650 points

      Hi Hyun, have you got good news for the developers that use USB and CSL 2.01? There is a prevision of the new release of C5505_USB_Host_Tool or CSL?

      Regards,

      Andrea

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Dan Cooper
      Posted by Dan Cooper
      on Oct 06 2010 15:05 PM
      Prodigy110 points

      I'm trying to use the c5505usb_ep_diag tool to aid in developing on our target custom hardware.  I followed the instructions in the readme1st file, and had no problems.  The device manager shows a Jungo device, with a C5505USB_EP (driver jungo 12/14/2009) and WinDriver device (driver Jungo 8/31/2010) under it, all of them indicate they are operating properly.  When I try to do step 5:

                   5. USB Endpoint Read Test: Run c5505usb_ep_diag.exe by double click it. Simply select

      I get a command window that says:

                   Please make sure the device is attached:

      And cannot issue any test commands.  The csl_usb_dma_example code has run to its background loop with no errors displayed.  Am I missing something?

      Thanks in advance for your help,

      Dan

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    123
    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