Open
Description
I would like someone to increase the usb speed to full 2.0 speeds. right now I'm trying to write 187KB of binary data to a binary file using binary write mode in one single fwrite operation and its taking about 3 seconds. that is way too slow for the interface the board has.
Here is the code that should be running much faster:
error = fwrite(&write_buffer, sizeof(struct DATA_FRAME_RETURN), write_buffer_item_count, binary_file);
write buffer is an array of size 125, DATA_FRAME_RETURN is about 1500 bytes long, write buffer item count is 125, binary_file is a .bin file opened in the following way:
binary_file = fopen("/DRONEDATA/data.bin", "wb");
Any ideas? Any changes you guys can make to run the USB port at full speed? Thanks! :)
Metadata
Metadata
Assignees
Labels
No labels