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

BootloadHID @12.8mhz

$
0
0
Here Is the Solution to my issue, Thank you again Bob:

BootloadHid with atmega8 @12.8Mhz by Bob » Mon Feb 25, 2013 4:08 pm

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:

Code: Select all#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