HIDKeys (and other examples) dont seem to work [ATMEGA32]
Posted: Wed Apr 21, 2010 3:47 pm
Im doing a project for uni, for which i need to create a HID keyboard/mouse combo. One of the academics designed a dev board which is based around an ATMEGA32 (see here for the schematic: http://pjradcliffe.files.wordpress.com/2009/03/open_usbio_schematic.pdf).
My development environment consists of
OS: Windows 7
compiler: winavr
communication protocol: STK500
As i mentioned in the title, ive used the HIDKeys example (as well as quite a few other projects hosted here) and none of them work. Just in case you ask:
- ive changed the USB_CFG_DMINUS_BIT and USB_CFG_DPLUS_BIT to suit the board
- ive changed the mmcu compile flag in the make file to suit
- the fuse bits are 0xC9 (HIGH) and 0xDE (LOW), to be honest, im not sure what these should be set to...
So basically, after the above modifications, i compile and flash the chip. Unplug the usb cable and replug. All i get is a tooltip bubble saying "Device not recognised". Ive been using a program called USB View to try to get more info, but all that tells me is that its caused an enumeration error (DeviceFailedEnumeration).
Thanks for any help you can give me. If there is any other info needed, i'll get it to you as soon as possible, just ask.
Anthony
My development environment consists of
OS: Windows 7
compiler: winavr
communication protocol: STK500
As i mentioned in the title, ive used the HIDKeys example (as well as quite a few other projects hosted here) and none of them work. Just in case you ask:
- ive changed the USB_CFG_DMINUS_BIT and USB_CFG_DPLUS_BIT to suit the board
- ive changed the mmcu compile flag in the make file to suit
- the fuse bits are 0xC9 (HIGH) and 0xDE (LOW), to be honest, im not sure what these should be set to...
So basically, after the above modifications, i compile and flash the chip. Unplug the usb cable and replug. All i get is a tooltip bubble saying "Device not recognised". Ive been using a program called USB View to try to get more info, but all that tells me is that its caused an enumeration error (DeviceFailedEnumeration).
Thanks for any help you can give me. If there is any other info needed, i'll get it to you as soon as possible, just ask.
Anthony