TI E2E Community
Digital Signal Processors (DSP)
C5000 Ultra Low Power DSP
C5000 Ultra Low Power DSP Forum
increase file IO speed between eZdsp and pc?
I have a C5505 eZdsp USB stick with CCSv4, and I've been using the file IO functions extensively for regression testing. In several cases, the file IO speed is a bottleneck--if the C5505 program could only read or write that file faster, it would finish much faster. Is there any way to increase the file IO speed between the eZdsp and the PC, by (for example) tweaking the USB transfer speed? Anybody ever looked into this?
I am unable to perform File IO on eZDSP. I tried 'fscanf' & 'fprintf' but they doesnt work. Can u post an example code that performs file IO on eZDSP.
Any tips or info on improving the ezdsp/PC file I/O speed ?
My system: CCS5.2, ezdsp5515
I'm using stdio functions: fopen, fread, fwrite, fclose to process a 15 sec audio signal on the ezdsp5515, and save the result in an ASCII file. The files are approx 9 Mbytes, the total c5515 processing (ASCII char -> long -> audio processing -> long -> ASCII char) time is ~8.4 sec. The total time to process this is with the ezdsp/PC file io is ~65 MINUTES !!!???
The signal is processed on a frame basis and the 15 sec signal contains ~5600 frames.
I tried placing the input and output files on a ram drive, but that did not seem to have any influence on the time required.
What is causing this massive overhead ? are there ways to improve the speed ?
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.