12oclocker / V-USB_TinyAvr

V-USB variant with added compatability for TinyAvr0 TinyAvr1 series
GNU General Public License v3.0
11 stars 2 forks source link

V-USB_TinyAvr with Atmega3208 / other new megaAvr's? #1

Open robmaxtech opened 1 year ago

robmaxtech commented 1 year ago

Hi, first, thanks for bringing the V-USB to the newer tinyAvr's! I couldn't figure out if your lib could work also with the newer megaAVR family, like Atmega3208 / 4809 etc.; what do you think about this? Thanks!

12oclocker commented 1 year ago

Your welcome, mega3208/4809 will depend on the opcodes and number of cycles per instruction, and if those match tinyavr0 tinyavr1 series core. I had a hard time locating that information when I did the tinyavr0/1 series. I am guessing some cycles might be different. At some point when I get some time I can update the code to add compatibility. If you want to investigate you can find the cycle per instruction info on the chips in question and compare with tinavr0/1 opcode cycles, and see which opcodes have different cycle counts.