Search found 28 matches

by Alan Chatham
Wed Apr 13, 2011 2:10 am
Forum: V-USB
Topic: BootloadHID in AVRStudio, problem.
Replies: 3
Views: 4177

Re: BootloadHID in AVRStudio, problem.

Hi, uChar,

Could you possibly post your AVR Studio files for HIDBootloader? I could never get it to compile/run correctly in AVR Studio, so I had to always compile it with AVRDUDE, which works fine but is cumbersome to use and to switch MCUs and speeds and such.

Thanks!
by Alan Chatham
Wed Apr 13, 2011 2:08 am
Forum: V-USB
Topic: Correct software unplug device
Replies: 2
Views: 3825

Re: Correct software unplug device

So, I'm not sure how the HIDBootloader program resets the MCU when you've got the 'reset after program' box checked, but that would be the first place I'd start looking for trying to jump from the bootloader to your program. To get from your program to the bootloader, is the bootloader set to always...
by Alan Chatham
Wed Apr 13, 2011 2:04 am
Forum: V-USB
Topic: Combine 2 physical devices into one
Replies: 1
Views: 2759

Re: Combine 2 physical devices into one

I don't know for sure, but I'm almost positive the answer would be no. In order to communicate properly, one of the devices would need to be in direct connection with the PC, and the other would have to be listening to the signals on the data lines without driving them up or down itself, which it wo...
by Alan Chatham
Wed Apr 13, 2011 1:43 am
Forum: V-USB
Topic: Adapting Code for the 1-Key Keyboard
Replies: 1
Views: 3097

Re: Adapting Code for the 1-Key Keyboard

I also posted this reply on Adafruit, but here it is again: So, in my experience, V-USB is great, but kind of a bear to work with/get set up with. My personal recommendation would be to get up and running with the HID mouse example they've got at the V-USB site - I think that's the easiest to unders...
by Alan Chatham
Thu Dec 23, 2010 8:14 pm
Forum: V-USB
Topic: Noob needing compile help
Replies: 7
Views: 7398

Re: Noob needing compile help

Yeahhhh.... It's a path issue. The other way is to move all the usb-related files into the usbdrv file, then look at the main file and adjust the #include "file.h"'s to #include "usbdrv/file.h". Yeah, it's a huge pain to figure out if you've not worked with this stuff before...
by Alan Chatham
Mon Oct 18, 2010 8:31 pm
Forum: V-USB
Topic: BootloadHID - device is not recognized
Replies: 23
Views: 18252

Re: BootloadHID - device is not recognized

I'm sorry I didn't see this earlier - I'm using a modified version of BootloadHID in my project (OpenChord.org), and I'm using a push-button. I just use an infinite loop, since I don't want the bootloader to ever exit once you enter it. This way, you hold down the push-button when you plug it in, it...
by Alan Chatham
Sat Oct 16, 2010 8:53 pm
Forum: V-USB
Topic: Problem with usb connection
Replies: 1
Views: 2781

Re: Problem with usb connection

Can you share your schematic with us? Is it exactly like the schematic for the Metaboard, or are there some changes? Can you try it on a different computer? I don't know much about electronics, but my first guess in this situation would be to think that it might be an EMI issue? Do you have decoupli...
by Alan Chatham
Wed Oct 13, 2010 10:30 am
Forum: V-USB
Topic: Possible to use V-USB as a Host
Replies: 5
Views: 6073

Re: Possible to use V-USB as a Host

You could also get all hardcore and re-wire the internals of your racing wheel into a new controller board that takes in data from the wheel, buttons, etc. and uses V-USB to send the data to the PS3. There are a number of projects (including mine!) that work as controllers for the PS3. You could eve...
by Alan Chatham
Tue Sep 28, 2010 12:09 am
Forum: V-USB
Topic: USB MIDI Interface
Replies: 93
Views: 457826

Re: USB MIDI Interface

I finally managed to get the code working on the following: ATmega328p, Windows 7. I haven't tested it on other setups, but I assume it shouldn't be an issue elsewhere. Thanks so much, horo; with your work I've finally been able to add USB-MIDI to my guitar project, making for a very limited but ver...
by Alan Chatham
Sat Jul 31, 2010 1:35 am
Forum: V-USB
Topic: HID Joysticks not working in Windows 7
Replies: 1
Views: 2842

HID Joysticks not working in Windows 7

So I've been working on a joystick project in Windows XP, and it's so far been working fine. I haven't tested it on Mac or Linux yet, but it works on Playstation 3 as well, so I'm doing something right. However, for some reason, Windows 7 (and Vista) won't recognize it. It plugs it, but then returns...
by Alan Chatham
Mon Apr 05, 2010 1:53 am
Forum: V-USB
Topic: V-USB Build Error
Replies: 5
Views: 8239

Re: V-USB Build Error

I have the same problem. How can i link the usbdrvasm.s to AVRStudio ? A big thing I noticed when using AVR Studio is that you might need to change the source code to include the full relative path of the V-USB files, i.e., #include "usbdrv.h" should be #include "usbdrv/usbdrv.h Also...
by Alan Chatham
Sat Mar 06, 2010 7:54 pm
Forum: V-USB
Topic: Selling V-USB compatable Hardware
Replies: 3
Views: 3743

Re: Selling V-USB compatable Hardware

The genius of the dual-licensing model (like V-USB's) is that the software (or code) is available for free for anyone to use, under the GPL, but those free users have to in turn give out ALL their source code out to anyone who buys their products, meaning if the developer added anything particularly...
by Alan Chatham
Wed Mar 03, 2010 11:10 am
Forum: V-USB
Topic: Merging PS2USB with C64 Code
Replies: 1
Views: 2811

Re: Merging PS2USB with C64 Code

A couple things: 1., I'm confused about your report descriptor - it seems like the report descriptor is trying to say "I'm a joystick!", and if you're trying to emulate a keyboard, that's not going to work.. Although quickly glancing down at your code, I didn't see anything obviously keybo...
by Alan Chatham
Mon Mar 01, 2010 12:37 pm
Forum: V-USB
Topic: "Device Malfunction" Recommendations
Replies: 5
Views: 11407

Re: "Device Malfunction" Recommendations

So using an unshielded usb cable would probably mean huge issues? I am just using a custom made USB cable with wires soldered to the plug, and its about 3ft long. Eeeehhh, it depends. (Sorry about taking so long to reply, I've been moving!) I've generally had no problem working on a breadboard with...
by Alan Chatham
Mon Feb 22, 2010 2:07 am
Forum: V-USB
Topic: "Device Malfunction" Recommendations
Replies: 5
Views: 11407

Re: "Device Malfunction" Recommendations

Just to make sure, is the error you get when you plug in your device "Device not recognized"? I'm not totally sure what you mean by "device malfunctioning", but if it's the "Device Not Recognized" error (a little tooltip box shows up in your system tray with a little po...