V-USB on an Attiny9

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
diadatp
Posts: 2
Joined: Fri May 17, 2013 3:05 pm

V-USB on an Attiny9

Post by diadatp » Fri May 17, 2013 3:34 pm

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?

vouvoume

Re: V-USB on an Attiny9

Post by vouvoume » Fri May 17, 2013 10:11 pm

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,

diadatp
Posts: 2
Joined: Fri May 17, 2013 3:05 pm

Re: V-USB on an Attiny9

Post by diadatp » Sun May 19, 2013 8:01 pm

Thanks for the reply, ill use an attiny45 instead.

Post Reply