I'm using avrstudio and developing for an object Development usbavr project that was designed for the atmega8 ( ext osc 12mhz). I ran out of space and moved to the atmega168.
So, as far as I can tell there are no required changes to the usb header. I made the change in the make file to atmage168 and a cpu of 16000000. I also see the some timing registers are renamed and made the best effort to change them in my main. I dont think an incorrect use of a timer would cause an unknown device, but I could be wrong.
TCCR0 to TCCR0B
TCCR2 to TCCR2B
OCR20 to OCR0A
TIFR to TIFR0 ( OCF0 to OCF0A )
as far as fuse bytes go, the atmega8 project was
The best I can find as a match is
Low is weird? for example 0xbf and 0x9f show no difference? I dont know if something else is changing but I sure dont see it in the window.
I'm not sure if lock bits are relevant but I set to 0xff
Everything compiles fine, but the device is never recognized.
I should have all of the information, should anyone helping me ask. I'm just a novice so I would not know anything else that is needed here.