Page 1 of 1

V-USB on an Attiny9

Posted: Fri May 17, 2013 3:34 pm
by diadatp
Is it possible to implement v-usb on an attiny9? It has 1k of flash and 32 bytes of ram.
I only need it to behave as an HID keyboard and spurt out some text when connected.

I don't expect to code in c but is it possible to cut down the code base enough to fit it in 1k of flash? or is the bottleneck the ram?

Re: V-USB on an Attiny9

Posted: Fri May 17, 2013 10:11 pm
by vouvoume
I think afer all possible optmization and tuning you can shrink the basic V-USB code down to 1.2K.
But then there is still no keyboard or anything - just the USB...

...so no I don't think it will fit. Maybe RAM is enough (I do not know), but flash is NOT sufficient.

Best regards,

Re: V-USB on an Attiny9

Posted: Sun May 19, 2013 8:01 pm
by diadatp
Thanks for the reply, ill use an attiny45 instead.