I am using AVR-USB to transfer up to 4MBytes of data over Control Message requests using a Control Message payload size of 128 bytes. The data is written to an external FLASH chip using AVR's SPI interface. The external flash memory's page size is 256 bytes, just a little over the max 254 bytes payload size for AVR-USB. That is why I use 128 bytes at a time.
While this works, it is abyssmally slow. I am also using libusb-win32 and/or LibUsbDotNet on Windows XP Professional.
I realize that Bulk Endpoints are not officially supported in USB 1.1, but Christian seems to indicate that most PCs allow it anyway.
Does anyone have any C code for the AVR end and C# code for the Windows end to implement bulk endpoint transfers?
General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
1 post • Page 1 of 1