Search found 18 matches

by Coda
Thu Jan 28, 2016 9:20 am
Forum: V-USB
Topic: USB MIDI Interface
Replies: 93
Views: 457872

Re: USB MIDI Interface

@jokkebk - no the USB does not cause an issue with 31250 baud serial comms, I have successfuly programmed a MIDI-USB cable using a tiny4313 which can handle large streams of sysex in both directions. It sounds like you are getting an overrun because you are not doing any flow-control. You need to ma...
by Coda
Thu Oct 16, 2014 10:17 pm
Forum: V-USB
Topic: USB "helper" for V-USB prototyping
Replies: 4
Views: 9862

Re: USB "helper" for V-USB prototyping

Here is mine. I have done several designs using V-USB. These have been done on the Mega8, Tiny2313, Tiny85 and Mega88 chips. To avoid the repeated exercise of doing a prototype for each processor I made a single pcb assembly that includes the USB connector for testing after code downloading, option...
by Coda
Wed Mar 20, 2013 12:56 pm
Forum: V-USB
Topic: Any working XInput compatible code?
Replies: 2
Views: 4763

Re: Any working XInput compatible code?

Well there may be a (not quite so easy) way. I have used X360ce in the past to remap my PS2 pad's USB HID to Xinput. It can be a PITA to set up but it works (if your HID device code is well written).
by Coda
Wed Sep 26, 2012 6:18 pm
Forum: V-USB
Topic: Composite device
Replies: 3
Views: 5248

Re: Composite device

If the software (MuseScore) can respond to keyboard maybe you can just map the piano keys to keyboard keys in your program? Composite devices can be done and they are easy to do by building your own report descriptor (the HUT1_12v2 document gives an example of some composite reports). The problem is...
by Coda
Fri Sep 21, 2012 10:40 pm
Forum: V-USB
Topic: ATmega329V
Replies: 2
Views: 4038

Re: ATmega329V

I don't have experience with those MCUs. But most MCUs allow higher frequency than specified. I played Atmega8L (says 8M) and Atmega168 (says 10M) at 12MHz, and both worked fine. Yeah I'm going to give it a go at 12mhz. Managed to solder an ISP harness to the board and dump the firmware and fuses, ...
by Coda
Fri Sep 21, 2012 3:55 pm
Forum: V-USB
Topic: ATmega329V
Replies: 2
Views: 4038

ATmega329V

I picked up an unknown board for a couple of euros that turns out to have an ATmega329v on it, a small LCD, a couple of relays, and a few very small unidentifable ICs (could be voltage reg, temp sensor, sram, eeprom etc). I guess it might be out of a central heating control. One thing, every single ...
by Coda
Thu Sep 20, 2012 11:34 pm
Forum: V-USB
Topic: Problem to compile a program with V-USB library [SOLVED]
Replies: 15
Views: 19159

Re: Problem to compile a program with V-USB library [SOLVED]

Ulao, you get provoked and yet you still try to help. You are a better man than me. Good job I am not a mod here. Out of respect for the kind people at ObDev who spent countless hours writing this library (not DRIVER!) for us to play with for FREE, I'm going to keep my mouth shut.
by Coda
Wed Sep 19, 2012 9:38 am
Forum: V-USB
Topic: Problem to compile a program with V-USB library [SOLVED]
Replies: 15
Views: 19159

Re: Problem to compile a program with V-USB library [SOLVED]

So how come V-USB does not come with a makefile? You're right it doesn't. It comes with 8 of them: $ find . -name Makefile ./vusb-20120109/examples/custom-class/commandline/Makefile ./vusb-20120109/examples/custom-class/firmware/Makefile ./vusb-20120109/examples/hid-custom-rq/commandline/Makefile ....
by Coda
Wed Sep 19, 2012 9:23 am
Forum: V-USB
Topic: microcontroller host using V-USB
Replies: 1
Views: 3318

Re: microcontroller host using V-USB

Hey, I have a project where an atmega8/16/32 or any microcontroller really, transfers data between two usb devices (in my case, pen drives). I do not want to use a host controller, that's done. I thought of implementing the usb protocol myself, but soon realized I may have overestimated my abilitie...
by Coda
Fri Sep 14, 2012 2:21 pm
Forum: V-USB
Topic: VUSB working at 8MHz?
Replies: 3
Views: 4802

Re: VUSB working at 8MHz?

I think you will be out of luck there, there are ASM source files that are included into the project depending on the speed that you have defined. If I remember correctly reading that 12Mhz is quite tight to get the timing right. Even if you do manage to get 8mhz working, how many cycles will be fre...
by Coda
Tue Sep 11, 2012 9:43 am
Forum: V-USB
Topic: avr-gcc-4 vs avr-gcc-3
Replies: 8
Views: 9321

Re: avr-gcc-4 vs avr-gcc-3

Thanks, didn't know about them. I got them them from Digikey, I think I paid about $1 each for 25 I'll have to check though.
by Coda
Tue Sep 11, 2012 8:00 am
Forum: V-USB
Topic: Bidirectional USB2MIDI converter
Replies: 3
Views: 5244

Re: Bidirectional USB2MIDI converter

Thanks, will give it a try and test with MacOSX. BTW - whats the reason it won't work under Win7?
by Coda
Mon Sep 10, 2012 11:47 pm
Forum: V-USB
Topic: V-USB doasnt work on atmega32 12MHz (mouse)
Replies: 7
Views: 9230

Re: V-USB doasnt work on atmega32 12MHz (mouse)

I'm not sure from reading your main post, but you've got 2 different boards right? An eval kit and a board you've made yourself? If so I think it's safe to assume that you have not changed the v-usb code to match the new hardware. As Martin said, INT0 is needed by default by V-USB so if instead you ...
by Coda
Mon Sep 10, 2012 11:36 pm
Forum: V-USB
Topic: avr-gcc-4 vs avr-gcc-3
Replies: 8
Views: 9321

Re: avr-gcc-4 vs avr-gcc-3

horo, I dont see where the OP was talking about the bootloader code size? Though this is a good point to make, bigger chips will not change that. If you need a chip with a lot of flash get the atmeg328. Right, the OP (me) wasn't talking about bootloader but it is a valid point as I've been thinking...
by Coda
Wed Jun 06, 2012 3:12 pm
Forum: V-USB
Topic: Attiny4313 @ 12.8Mhz
Replies: 2
Views: 3737

Re: Attiny4313 @ 12.8Mhz

I don't think the 4313 (4k Version of 2313) has an internal high speed oscillator. I thought the only MCUs with this were the 25/45/85 and maybe the x61 series.