Search found 1013 matches

by christian
Sun Oct 25, 2009 11:07 pm
Forum: V-USB
Topic: HID keyboard - receiving data from PC
Replies: 3
Views: 3019

Re: HID keyboard - receiving data from PC

You can either send custom requests on endpoint 0 if your device decodes them as such and if Windows allows you to open the device. Or you can send configuration descriptors through the HID mechanism.
by christian
Sun Oct 25, 2009 11:05 pm
Forum: V-USB
Topic: trouble with ddk and bootloader command line
Replies: 3
Views: 3353

Re: trouble with ddk and bootloader command line

I've never tried the Microsoft DDK, only MinGW wich comes with a DDK compatible set of libraries. This worked for me.
by christian
Sun Oct 25, 2009 11:04 pm
Forum: V-USB
Topic: Where to get a small number of PIDS
Replies: 5
Views: 4270

Re: Where to get a small number of PIDS

You can buy V-USB Hobby licenses which come with a USB ID. It's more expensive than if somebody would sell USB IDs, but still viable.
by christian
Sat Oct 24, 2009 11:15 pm
Forum: V-USB
Topic: bulk in often lose packet
Replies: 2
Views: 2578

Re: bulk in often lose packet

Bulk endpoints with V-USB are really tricky. The USB polling consumes most if not all of the CPU time. If the interrupt service routine comes too late, you lose a packet. Since V-USB does not implement error handling (no CRC checks etc), you may lose packets.
by christian
Sat Oct 24, 2009 11:07 pm
Forum: V-USB
Topic: Mass Storage class over V-USB
Replies: 26
Views: 24927

Re: Mass Storage class over V-USB

Has anybody tested this?

If it's indeed a mass storage implementation, I'd like to add it to our products section.

The download via depositfiles.com is a pain. Long time to wait and full screen ads in the background...
by christian
Sat Oct 24, 2009 10:51 pm
Forum: V-USB
Topic: May be missing somthing ... 2 bugs in first 10 lines of code
Replies: 3
Views: 3559

Re: May be missing somthing ... 2 bugs in first 10 lines of code

rjburke377 wrote:DBG1() statement used before odDebugInit().


Thanks for this hint! It's indeed a bug!

Regarding the 16 MHz version: Have you checked with a simple non-USB program which blinks an LED that the clock rate is OK?
by christian
Sat Oct 24, 2009 10:45 pm
Forum: V-USB
Topic: some problem in "bulk in transfer"
Replies: 1
Views: 2028

Re: some problem in "bulk in transfer"

Still don't know why...

You can experiment with data toggling: Whether you start with a DATA0 or DATA1 packet. But this was not a solution for me.
by christian
Sat Oct 24, 2009 10:44 pm
Forum: V-USB
Topic: how to implements bulk in?
Replies: 1
Views: 2021

Re: how to implements bulk in?

It's the same as interrupt-in: You must call usbSetInterrupt() to send the data. The difference is only in the endpoint descriptor, not in the logic. [Except, of course, that bulk endpoints are polled MUCH faster than interrupt endpoints.]
by christian
Thu Oct 08, 2009 1:23 pm
Forum: V-USB
Topic: Error while "Select Configuration"
Replies: 5
Views: 4069

Re: Error while "Select Configuration"

I don't know how the fix works and I'm not an expert for descriptors either...

I would guess that it has something to do with the bulk endpoints.
by christian
Thu Oct 08, 2009 10:19 am
Forum: V-USB
Topic: Error while "Select Configuration"
Replies: 5
Views: 4069

Re: Error while "Select Configuration"

I have not looked in to your descriptors in detail, but I read the comment that you use CDC. You DO know that Vista does not support CDC for low speed devices any more? The spec does not allow bulk endpoints for low speed USB and since Vista Windows enforces this limitation. It may work in a virtual...
by christian
Wed Oct 07, 2009 10:43 am
Forum: V-USB
Topic: Lost connection with PC: any way to restore?
Replies: 14
Views: 9835

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

I have read about this when doing support. Somebody found out that the program was executing normally, but the I/O registers were reset to their RESET state. I have not verified this myself, so it may have been some other unexpected behavior. On the other hand, I have seen lots of EMI problems with ...
by christian
Mon Oct 05, 2009 11:51 am
Forum: V-USB
Topic: Can't compile hidtool from examples
Replies: 13
Views: 10899

Re: Can't compile hidtool from examples

OK. But it's still a kind of internal error: CreateProcess for gcc fails.
by christian
Mon Oct 05, 2009 10:37 am
Forum: V-USB
Topic: Can't compile hidtool from examples
Replies: 13
Views: 10899

Re: Can't compile hidtool from examples

You probably need MinGW's bin directory in PATH, not the MinGW directory itself.
by christian
Sun Oct 04, 2009 9:00 pm
Forum: V-USB
Topic: Can't compile hidtool from examples
Replies: 13
Views: 10899

Re: Can't compile hidtool from examples

Then it's probably an issue with search paths (the environment variable PATH).
by christian
Sun Oct 04, 2009 5:53 pm
Forum: V-USB
Topic: Can't compile hidtool from examples
Replies: 13
Views: 10899

Re: Can't compile hidtool from examples

I've looked at the error message again. This is an internal error of your gcc. The compiler frontend can't create a process for the preprocessor or another stage of the compiler chain. Your gcc installation seems to be broken.