Search found 55 matches

by Daid
Mon Jan 09, 2012 12:16 pm
Forum: V-USB
Topic: Need help! Trying to establish connection, but failed..
Replies: 4
Views: 3527

Re: Need help! Trying to establish connection, but failed..

Maybe I'm mistaken but I'm not seeing the pull up resistor to D-? It's R3 in this schematic: http://www.obdev.at/Images/vusb/circuit-zoomed.gif
It's very important for it identifies the device as a low speed device.
by Daid
Mon Jan 09, 2012 12:13 pm
Forum: V-USB
Topic: Anybody using PCINT instead of INT0?
Replies: 5
Views: 3665

Re: Anybody using PCINT instead of INT0?

For documentation not to get lost, you might want to put it on the wiki? http://vusb.wikidot.com/
by Daid
Wed Jan 04, 2012 12:50 pm
Forum: V-USB
Topic: Check my usb supply in schema
Replies: 2
Views: 1644

Re: Check my usb supply in schema

The schema looks fine.

Few things to check:
Make sure you really have 3.6v zener diodes.
Make sure your crystal matches your compiler settings.
Make sure your fuse settings have the external crystal configured.
by Daid
Tue Jan 03, 2012 12:55 pm
Forum: V-USB
Topic: Linux users, what is your V-USB device description?
Replies: 3
Views: 2624

Re: Linux users, what is your V-USB device description?

I'm very sure I've used my V-USB project with Ubuntu Linux 10.10 with proper Vendor and Product stings. But I haven't checked lsusb. I was using libusb to talk to my device as done in a few examples.
by Daid
Fri Dec 09, 2011 3:17 pm
Forum: V-USB
Topic: AVR - Doper and Windows 7
Replies: 11
Views: 20434

Re: AVR - Doper and Windows 7

I recommend against using the CDC drivers. As the drivers are hard to install, it violates the spec, and doesn't work with all USB chips.

It's much easier to use the HID mode as supported by AVRDude.
by Daid
Tue Dec 06, 2011 11:48 am
Forum: V-USB
Topic: Licence
Replies: 5
Views: 2995

Re: Licence

Also, GPL infects. Any source coming on contact with GPL code also needs to be GPL. So if you use an LCD library with V-USB for example, then you also need to put that under GPL. Just that part is unclear to me. I understand that all stuff in AVR (Firmware) must be released as source. But I'm not s...
by Daid
Mon Dec 05, 2011 6:51 pm
Forum: V-USB
Topic: Licence
Replies: 5
Views: 2995

Re: Licence

I'm not a lawyer, so if you want to be 100% sure then consult one. But GPL is not that hard to read, just try to read if. It's quite simple, with the binary (in any form, so also as firmware in a device) you need to give the source-code, or a way to give the source code. A simple text file say "...
by Daid
Mon Dec 05, 2011 1:22 pm
Forum: V-USB
Topic: Licence
Replies: 5
Views: 2995

Re: Licence

The license doesn't cover the PC side. The license also doesn't cover the schematics as far as I know. It only covers the microcontroller code. Just publish the source and have no fear. Many projects sell open source products, arduino being one of the major visible projects. And with only 8-10 custo...
by Daid
Fri Dec 02, 2011 2:22 pm
Forum: V-USB
Topic: host software
Replies: 6
Views: 3654

Re: host software

There are quite a few examples of reading/writing data to USB-HID devices. To name an example, BootloadHID: http://www.obdev.at/products/vusb/bootloadhid.html
by Daid
Tue Nov 22, 2011 5:45 pm
Forum: V-USB
Topic: endpoint descriptors in flash
Replies: 4
Views: 2395

Re: endpoint descriptors in flash

Because bulk endpoints are not supported by the low-speed spec officially. Some versions of Linux try to map bulk endpoints to interrupt endpoints on low speed devices and this mapping is broken. You need a kernel patch (included in the newest vanilla kernels >=2.6.23) on these kernels. Windows Vist...
by Daid
Thu Nov 17, 2011 12:59 pm
Forum: V-USB
Topic: solved: HIDKeys + ATMEGA16
Replies: 1
Views: 1821

Re: HIDKeys + ATMEGA16

Make sure you have F_CPU defined as 12000000 because of your 12Mhz crystal. In the main loop, only call usbPoll(); for now, until it works. Use a known working descriptor. I always use the hid-mouse example to test new v-usb hardware. Make sure your pin configuration matches (usbconfig.h), because t...
by Daid
Tue Nov 15, 2011 2:41 pm
Forum: V-USB
Topic: USB pins: INPUT or OUTPUT?
Replies: 1
Views: 1483

Re: USB pins: INPUT or OUTPUT?

Both. The USB pins are bi-directional. I think the USB code configures them anyhow, for bi-directional ports you need to change both the DDR and PORT register.
by Daid
Thu Nov 10, 2011 11:49 am
Forum: V-USB
Topic: HID-Data problem with one host (works with others)
Replies: 3
Views: 2411

Re: HID-Data problem with one host (works with others)

If it's just one machine it's most likely an electrical problem. Some machines are way more picky on the USB communication lines then others. Try a different USB cable, re-solder all your connections (I had one bad connection once, caused problems on only a single machine). Make sure you have a 100n...
by Daid
Tue Nov 01, 2011 3:49 pm
Forum: V-USB
Topic: problems, compile commandline tools under mac os x 10.6.8
Replies: 4
Views: 2390

Re: problems, compile commandline tools under mac os x 10.6.8

Those fuse settings select a low frequency crystal, you want a high frequency crystal selection. It's also better to turn on the brownout detector. I've used low: 0x3F high: 0xC9 with succes on the ATMega8A. You can check the fuse settings here: m I'm not sure if MacOS has the command "lsusb&qu...