Search found 1013 matches

by christian
Mon Jul 16, 2007 3:59 pm
Forum: V-USB
Topic: AVR-USB-Driver: Which registers must stay untouched?
Replies: 1
Views: 4454

This question is not specific to AVR-USB, it's a general gcc question. I've found the following with a web search (can't remember where, though): What registers are used by the C compiler? Data types: char is 8 bits, int is 16 bits, long is 32 bits, long long is 64 bits, float and double are 32 bits...
by christian
Mon Jul 16, 2007 3:57 pm
Forum: V-USB
Topic: AVR USB device and UART Polling
Replies: 6
Views: 8159

With this code, you'll not only run into troubles with AVR-USB, you will also get hit by the watchdog. I don't know what your rxChar_poll() routine looks like, but I suspect that it busy-waits for a character to arrive on the UART. Since it may take a long time until 12 bytes are received, your main...
by christian
Mon Jul 16, 2007 3:50 pm
Forum: V-USB
Topic: PowerSwitch questions: ISP Connector and ATtiny2313
Replies: 2
Views: 5303

Thanks, iphi, for answering these questions. I should mention that we already have a Makefile target for programming the fuses. Type

make fuse_tiny2313

to set the fuse bits to the correct values.
by christian
Mon Jul 16, 2007 10:58 am
Forum: V-USB
Topic: Powerswitch Delphi demo-libusb
Replies: 10
Views: 14326

OK. I've removed the URL from the Readme file.
by christian
Mon Jul 16, 2007 10:20 am
Forum: V-USB
Topic: Question on PowerSwitch
Replies: 5
Views: 7355

Yes, I should have mentioned that. In order to save space, I've removed the initial USB disconnect.
by christian
Sat Jul 14, 2007 2:39 pm
Forum: V-USB
Topic: Powerswitch Delphi demo-libusb
Replies: 10
Views: 14326

A non-existing link has the same value as a broken link, so I think I'll leave the file as it is just out of laziness.

BTW: It's not us who support Delphi, we just re-distribute a contributed package. Thanks to everyone who supports the project by contributing code!
by christian
Sat Jul 14, 2007 2:24 pm
Forum: V-USB
Topic: Zener diodes at D+ D-
Replies: 26
Views: 43163

Please see the example projects such as e.g. Automator. The circuit diagram is in PDF format, you should have a viewer for that.
by christian
Fri Jul 13, 2007 8:52 pm
Forum: V-USB
Topic: Question on PowerSwitch
Replies: 5
Views: 7355

I think this minimal main() should suffice, but we have not tested this recently. It is primarily to check the size of the compiled binary.

I don't have a PowerSwitch hardware available for testing now, so I can't really confirm whether or not it should work with TEST_DRIVER_SIZE defined.
by christian
Fri Jul 13, 2007 8:05 pm
Forum: V-USB
Topic: Powerswitch Delphi demo-libusb
Replies: 10
Views: 14326

Thanks a lot! I have downloaded the package. It should be on our main server tomorrow morning.
by christian
Fri Jul 13, 2007 6:41 pm
Forum: V-USB
Topic: Powerswitch Delphi demo-libusb
Replies: 10
Views: 14326

I'd like to update the Delphi project on our site, but since I have no idea about Delphi, I'm not sure what to do with the new LibUSB.

Can you please download our package, make and test a new package with the new LibUSB and mail me the resulting zip file?

Thanks in advance!
by christian
Fri Jul 13, 2007 6:33 pm
Forum: V-USB
Topic: Question on PowerSwitch
Replies: 5
Views: 7355

The action timers are for timed on/off pulses on the outputs. The USB driver does not need any timer interrupts.

If the device is not recognized after your change, you must have broken something in the main module. Maybe it crashes and the driver is therefore unable to respond to requests...
by christian
Thu Jul 12, 2007 7:16 pm
Forum: V-USB
Topic: Support for at90usbkey
Replies: 6
Views: 9185

We at Objective Development don't have any plans to support chips with USB hardware. But you are free to re-use any parts of our code under GPL and we would be happy to set a link to any related library.
by christian
Sun Jul 08, 2007 9:23 pm
Forum: V-USB
Topic: need help for deeper understanding of USB with AVRs
Replies: 3
Views: 5913

The app note is correct: All transfers are initiated by the host. However, from an application logic point of view, you don't care how initiates the transfer. For interrupt endpoints, all polling is done by the host controller hardware or the driver. The application on the host does not have to worr...
by christian
Sat Jul 07, 2007 10:41 pm
Forum: V-USB
Topic: need help for deeper understanding of USB with AVRs
Replies: 3
Views: 5913

In order to send notifications to the host, you need an Interrupt In endpoint. See our RemoteSensor example. I don't know how to handle these on Windows, though, if you need a callback called. Maybe you need a separate thread for that if you use libusb. You could also implement a HID device and send...
by christian
Mon Jul 02, 2007 1:58 pm
Forum: V-USB
Topic: building a small audiocontroller with the help of avr-usb
Replies: 3
Views: 5647

I think OSC would be the most versatile solution, if Traktor supports it. You could still make your device HID and write a daemon which connects to it and sends OSC events. That's a bit more installation and configuration work since you need a separate daemon, but you could easily control other soft...