Quantcast
Channel: Objective Development Forums
Viewing all articles
Browse latest Browse all 4524

Re: BootloadHid with atmega8 @12.8Mhz

$
0
0
You can't just recompile BootloadHid firmware for 12.8MHz, it will not work.
You must also make sure that D- and INT0 are the same pin or connnect D- to int0 so that the internal oscillator will self calibrate using the host's USB 1ms frame on the D- signal.
See bootloaderconfig.h

Try this:

#define USB_CFG_IOPORTNAME      D
#define USB_CFG_DPLUS_BIT       1 // or any bit in port D that's not used
#define USB_CFG_DMINUS_BIT      2 // 12.8Mhz must use D- and INT0 on the same pin or 2 pins


Connect D+ Resistor to Atmega8 D1
Connect D- Resistor to Atmega8 D2

Viewing all articles
Browse latest Browse all 4524

Trending Articles