I am using the usb_mass_storage_app example and using the on board RAM to store data , but the read/write speeds are <= 1MB /s, but the full speed usb itself is 12 MB/s how to increase the speed of usb transfers here
I have branched your question to a new discussion, as the thread you posted on was old, and not directly related to your question.
First, I would advise that USB Mass Storage will never realise the full throughput of the USB (such as those you would see with a bulk transfer) due to the overheads associated with mass storage. The speeds will also be dependent on your host PC, type of USB port being used, etc.
Is it your intention to use this as a Full Speed device, rather than a High Speed device? Are you connecting to a built-in USB port, or a USB hub? Note that the latter may significantly impact performance, even moreso if the interface is shared with other USB devices.
Thanks for your prompt response.I want it as atleast a full speed
device(12MB/s) , i am using a HP Z200 WORKSTATION as the host PC with( 4GB
RAM and 64 BIT WINDOWS 7 os AND INTEL XENON 64 it processor).Also i am
connecting the board to PC via a native USB poart and not a hub.
On Tue, May 27, 2014 at 6:44 PM, CraigG <
Are you able to provide some details of the USB controller on this PC. What type is it (1.1, 2.0, 3.0)?
I tested the Mass Storage example on an EZ-KIT Lite with my PC and saw High Speed performance, with a fairly large (~6Mbyte) file transferring almost instantly. That would suggest to me that the bottleneck may be coming from somewhere on your system - which could mean your USB controller is connecting the device at a lower speed, or perhaps a different USB cable might show better performance (are you using the one that came with the kit?).
thanks craig for your reply but when i were using the the original settings of the mass storage app and the board was enumerated as a 8 mb mass storage device then the file that i copy to the board(from PC) was always stored starting from address 0x8cd8 in SDRAM0_BANK0(i.e i were able to see the file contents in the Blackfin memory at the address 0x8cd8) but now this address does not contain the file . I want to ask that at what address is the file stored now(i am able to store the file but not able to see it in the memory)
In your message you say it worked when you were using the original settings: what have you changed?
If you are unable to determine where the file is being copied to, use the 'Memory: Dump' option to dump the RAM Disk region of memory before and after copying the file. A 'diff' or compare of these files will highlight the differences, and you will be able to determine where this file has been placed.
i have made the changes to increase the size of mass storage device to 16
MB by the procedure that you have told.
On Fri, May 30, 2014 at 7:09 PM, CraigG <
Having reviewed your other threads, I believe you are referring to the procedure Suraj provided under this thread? Did you try the memory dump, as I suggested above?
Unfortunately your post above appears to be blank - if you intended to provide any follow up information, could I ask you to re-post it?
I should add that, if you have any questions related to the changes made through advice on that other thread, your questions would be better placed there, so the appropriate Engineer is continuing to assist you. If your questions relate to the changes that Suraj advised, ask your follow up questions on that thread.
Yes i were refferering to the procedure provided by suraj.However now i am
able to see the data (using the RAM as the stored location in the mass
storage device demo, and i were able to see the location where it is
stored)the location now is not 0x8cd8 and i were able to get location using
the memory dump and diff as suggested by you.
I have posted another question regarding the the manipulation of stored
data(stored in RAM using the mass storage device demo) on the board ,04days
ago , i would be helpful if you could send an answer for it.
On Wed, Jun 4, 2014 at 1:33 PM, CraigG <
From the formatting of your replies, it looks as though you are using the 'reply by email' option. The EngineerZone was down for maintenance a couple of days ago, and I see no evidence of this follow up question regarding manipulation of the stored data. I suspect you used the 'Reply by email' during the time the EngineerZone was down, and your reply has not been populated to the EngineerZone.
I recommend you visit the EngineerZone and review your threads. As your new question will be off topic (this thread was about increasing the speed, not about manipulating data), I suggest you start a new thread.
yes you are correct , however i have posted two questions currently , but i were not able to post them to you.Can you please visit my mail and answer these questions. Is there any EE note regarding the Init/Configuration code of SDRAM and/or DRAM for BF548 based boards
the following document explicitly says that it is not intended for BF548
Can I ask you to please stop posting the same question in multiple places, or referencing your threads from other places. I see you have started a separate thread regarding the SDRAM question, as well as the new thread for your additional USB question. They will be answered in time.
Furthermore, there are many engineers providing support on the EngineerZone - I may not be able to address all of your questions. The appropriate engineer will answer your questions.
yes i have refered to the procedure that suraj have replied , also now i am able to enumerate the device even with 16 mb storage.
Retrieving data ...