Using with AVRStudio4

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
gator456
Posts: 7
Joined: Wed May 12, 2010 3:50 pm

Using with AVRStudio4

Post by gator456 » Wed May 12, 2010 5:01 pm

I am attempting to compile and program using AVRStudio, but I am getting "USB device not recognized".

I have started with the hid-mouse example in the example directory.

In AVRstudio I basically pointed to main.c, added usbdrv as my include directory. edited and included usbconfig-prototype.h.

Then I compiled using AVRStudio and programmed the hex file into the flash.

Did I miss anything?

I have my usb connector wired up using the Zener example.

maxi
Rank 3
Rank 3
Posts: 122
Joined: Fri Jul 24, 2009 6:13 pm

Re: Using with AVRStudio4

Post by maxi » Thu May 13, 2010 10:06 pm

Fuses perhaps? you really need to provide a lot more info such as F_CPU, avr model, type of zener used, any changes made to usbconfig.h and anything else you can think of that may be important. 'Device not recognised' is such generic error that could indicate so many things that it's impossible to guess the cause.

Post Reply