BootLoadHID doesn't work
Posted: Fri Oct 24, 2008 2:17 am
I diy a usbasp ,and it works well.
I download bootloadHID.2008-10-22,I want to use PC2 as the bootloader jumper, so modify somethine in the bootloaderconfig.h.
compile it and flash in usbasp,but my pc can not recognize it
#define USB_CFG_IOPORTNAME B
#define USB_CFG_DMINUS_BIT 0
#define USB_CFG_DPLUS_BIT 1
static inline void bootLoaderInit(void)
{
PORTC = 1 << 2; /* activate pull-up for key */
_delay_us(10); /* wait for levels to stabilize */
}
#define bootLoaderCondition() ((PORTD & (1 <<2)) == 0)
I download bootloadHID.2008-10-22,I want to use PC2 as the bootloader jumper, so modify somethine in the bootloaderconfig.h.
compile it and flash in usbasp,but my pc can not recognize it
#define USB_CFG_IOPORTNAME B
#define USB_CFG_DMINUS_BIT 0
#define USB_CFG_DPLUS_BIT 1
static inline void bootLoaderInit(void)
{
PORTC = 1 << 2; /* activate pull-up for key */
_delay_us(10); /* wait for levels to stabilize */
}
#define bootLoaderCondition() ((PORTD & (1 <<2)) == 0)