very long string descriptor

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
frank2012

very long string descriptor

Post by frank2012 » Thu Feb 02, 2012 11:02 pm

Hi, is it possible to transmit a very long string descriptor?

For example more than 100 bytes? More than 1000 bytes? Is there a theoretical limit in USB?

I do V-USB on a very limited ATTiny2313, so it is not possible to store the whole string in memory. I need to truly generate it dynamicly (during transmitting). Can you please give me a hint how to do this with this stack?

Kind regards,

Frank

ulao
Rank 4
Rank 4
Posts: 481
Joined: Mon Aug 25, 2008 8:45 pm

Re: very long string descriptor

Post by ulao » Fri Feb 10, 2012 1:24 am

Well v-usb originally had a bug that I fixed. See details here
viewtopic.php?f=8&t=4042

Assuming that is now a permanent fix ( and I believe it is ) then your limit is quit large. For example I use the FFB descriptor. See here post #36
http://www.microchip.com/forums/m320225-p2.aspx

Post Reply