Search found 28 matches

by Alan Chatham
Fri Feb 12, 2010 3:58 pm
Forum: V-USB
Topic: Atmega8535 OK / Atmega328p FAIL
Replies: 34
Views: 34782

Re: Atmega8535 OK / Atmega328p FAIL

I started to switch from ATmega168 with USBaspLoader to the ATmega328p and I always get an unrecognized USB device. I'm not sure if you solved your issue with the bootloader, but one thing to make sure of is that you're putting the bootloader in the correct place. I just spent a few hours strugglin...
by Alan Chatham
Thu Feb 11, 2010 8:24 am
Forum: V-USB
Topic: USB MIDI Interface
Replies: 93
Views: 458016

Re: USB MIDI Interface

Hi there! Sorry for resurrecting this thread, but it seems to be the place to discuss your project, Horo. Thanks for your hard work! Unfortunately, I'm having a lot of trouble getting it to work.. I've tried both the V-USB-MIDI sample code as well as the Pepper-MIDI project, to no success. I can get...
by Alan Chatham
Wed Jan 06, 2010 8:53 am
Forum: V-USB
Topic: eeprom_write break my connection...
Replies: 3
Views: 3575

Re: eeprom_write break my connection...

Hello there, I wound up having a similar issue. In my case, I was doing an EEPROM read before USB even started up, and it was causing super-big connection issues. The strange part was that it all took place before (well, before in the code) the USB communication started... In my case, I wound up jus...
by Alan Chatham
Wed Dec 16, 2009 3:49 am
Forum: V-USB
Topic: ATmega168 BootloadHID - Device not recognized
Replies: 5
Views: 7223

Re: ATmega168 BootloadHID - Page size of negative 128

So I got it to compile, and be recognized by my computer. Some of it had to do with writing it to the correct part of memory using AVR Studio. However, for some reason, I'm still unable to use the HIDBootFlash tool. It recognizes the device, but lists the page size as -128... Clearly not correct. If...
by Alan Chatham
Tue Dec 15, 2009 7:42 am
Forum: V-USB
Topic: ATmega168 BootloadHID - Device not recognized
Replies: 5
Views: 7223

Re: ATmega168 BootloadHID - Device not recognized

Thanks, ulao- I got it to compile with AVR Studio as well now, with no errors or warnings. Also, for anyone who is having the same linker problems with AVR Studio, it arises from including usbdrv.c instead of linking against it. HIDBootloader includes it to save some bytes; the trick to get it to co...
by Alan Chatham
Tue Dec 15, 2009 2:16 am
Forum: V-USB
Topic: ATmega168 BootloadHID - Device not recognized
Replies: 5
Views: 7223

ATmega168 BootloadHID - Device not recognized

After fighting for a day trying to get BootloadHID to compile in AVR Studio 4, here's what I've got - As supplied (after altering some of the include paths to point in the right places), AVR Studio compiles with the following errors - seems like a linker problem? ../usbdrv/usbdrv.h:213: warning: 'us...
by Alan Chatham
Thu Nov 19, 2009 5:36 pm
Forum: V-USB
Topic: Has anyone used a ceramic resonator with VUSB?
Replies: 3
Views: 3934

Has anyone used a ceramic resonator with VUSB?

So I'm assuming it would work out for the 12.8 MHz and 16.5MHz code variants, since they have a higher clock tolerance, but I was wondering if anyone has actually had experience implementing V-USB using a ceramic resonator as a clock source? I'm trying to use the smallest/cheapest parts possible for...
by Alan Chatham
Sat Nov 07, 2009 10:31 am
Forum: V-USB
Topic: Changing Clock Speeds
Replies: 2
Views: 2520

Changing Clock Speeds

So this is probably a dumb question, but is there something more you have to do to use a different clock speed than just redefine the F_CPU and USB_CFG_CLOCK_KHZ values to reflect your new clock speed? I've been working on a project with a 16mHz external clock chip. I'm trying to make more of them, ...
by Alan Chatham
Sat Nov 07, 2009 10:00 am
Forum: V-USB
Topic: Mega32 as Xb*X gamepad
Replies: 23
Views: 19614

Re: Mega32 as Xb*X gamepad

Dear Ulao - Are you emulating an Xbox controller? Is it an Xbox or an Xbox 360 controller? I've been looking around for people trying to emulate a 360 controller, but I haven't found anything. Would you be willing to share your code with me and my project? You can find it at m ... Thanks, Alan Chatham
by Alan Chatham
Wed Oct 07, 2009 2:25 am
Forum: V-USB
Topic: Lost connection with PC: any way to restore?
Replies: 14
Views: 9815

Re: Lost connection with PC: any way to restore?

... Analysis has shown that the AVR itself performs kind of half of a reset. Some parts of the chip go into reset status, others don't. I have seen this even on projects without USB connectivity. Sorry this is drifting slightly off-topic, but I was wondering if there were any resources to look into...
by Alan Chatham
Wed Oct 07, 2009 2:12 am
Forum: V-USB
Topic: Connection fails periodically, worse with EEPROM
Replies: 1
Views: 2134

Re: Connection fails periodically, worse with EEPROM

So, I figured out I don't need that part of the code. I'm just giving those EEPROM stored arrays default values so they can be programmed during programming anyhow. Since the controller gives you a way to re-program itself internally, if the EEPROM is uninitialized, it's not a problem since the user...
by Alan Chatham
Fri Oct 02, 2009 6:14 am
Forum: V-USB
Topic: Connection fails periodically, worse with EEPROM
Replies: 1
Views: 2134

Connection fails periodically, worse with EEPROM

So I'm building a guitar-controller thing (a USB version of the http://www.OpenChord.org controller), and I'm trying to use V-USB to do it. I've got it working about halfway... Basically, things work fine, the controller is noticed by Windows, you can access it just fine. I'm using an ATMega168 with...
by Alan Chatham
Fri Oct 02, 2009 5:27 am
Forum: V-USB
Topic: "Unknown USB Device" SOLVED
Replies: 11
Views: 15810

Re: "Unknown USB Device" SOLVED

A few more things I've found out through my experiences. Mostly, these are more for issues with connectivity where it only connects some of the time. 1) Decoupling Capacitors - put a 0.1 mF capacitor between Vcc and GND, right where it comes into the chip. 2) Pull reset HIGH. I found out that someti...