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?
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.
Please click the Verify Answer button on this post if it answers your question.
Check out these great resources
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?
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
so you can test if your hardware is ok using the usb example from there (USB mouse buttons).
The new CSL release will happen within a couple of months. It's under testing with C5515EVM and C5515 eZDSP.
Good news to all.
We'll include a source code of PC application.
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:
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.
That is really good news. Keep up the good work everyone!
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.
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.
The PC application (source) code attached. This code will be added to CSL formal release. You can start use this code.
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.
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.exeThis 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 commands1.1. wdreg -inf <directory path to .inf>\C5505USB_EP_driver.inf install1.2. wdreg -inf <directory path to .inf>\C5505USB_EP_device.inf preinstall1.3. copy "wdapi1010.dll" to %windir%\system32Normally the %windir%\system32 directory is C:\WINDOWS\system32if you want to make sure the directory location, you can do following under windowStart (on the bottom-left corner of the PC) -> Run -> %windir%\system322. Power up the C5505 EVM and connect a JTAG to the EVM3. 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 release4. 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.
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.
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?
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,
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.