Search found 43 matches

by frank26080115
Fri Jul 16, 2010 6:34 pm
Forum: V-USB
Topic: USBaspLoader - Metaboard - UART
Replies: 2
Views: 2637

Re: USBaspLoader - Metaboard - UART

Once USBaspLoader finishes loading the new firmware, it is no longer a "USBaspLoader". Your application code will take care of everything, you can put CDC code into your application code if you wish.
by frank26080115
Thu Jul 08, 2010 6:24 pm
Forum: V-USB
Topic: PCINT instead of INT0?
Replies: 12
Views: 15032

Re: PCINT instead of INT0?

it looks like if you use external interrupts (as in INT0, INT1, etc), the interrupt is generated on a rising edge signal. Pin change interrupts occur regardless of rising or falling edge. This may be one problem.
by frank26080115
Wed Jul 07, 2010 6:30 pm
Forum: V-USB
Topic: 3 Bit Slider
Replies: 8
Views: 5684

Re: 3 Bit Slider

You are right I think, button 1 should be the usage minimum.

Now I have no idea what's wrong at all.
by frank26080115
Wed Jul 07, 2010 6:29 pm
Forum: V-USB
Topic: reading from a usb device
Replies: 1
Views: 2183

Re: reading from a usb device

I'm not sure if you can read data from devices that already have a driver loaded.
by frank26080115
Mon Jul 05, 2010 10:29 pm
Forum: V-USB
Topic: 3 Bit Slider
Replies: 8
Views: 5684

Re: 3 Bit Slider

Shouldn't the usage minimum for the button be "No Buttons Pressed"?
by frank26080115
Mon Jul 05, 2010 6:24 pm
Forum: V-USB
Topic: 3 Bit Slider
Replies: 8
Views: 5684

Re: 3 Bit Slider

What does the entire report descriptor look like?
by frank26080115
Sun Jul 04, 2010 7:20 am
Forum: V-USB
Topic: 3 Bit Slider
Replies: 8
Views: 5684

Re: 3 Bit Slider

I''m confused. What does this slider do? What software works with it? What are you using to get the readings? Also, why increments of 8191? You seem to want 3 bit resolution, so 8 total positions, which sounds right, so you'd want increments of 1, right? Also try to make sure everything is a whole b...
by frank26080115
Sat Jul 03, 2010 11:50 pm
Forum: V-USB
Topic: It took a month, but finally got VUSB working!
Replies: 4
Views: 3799

Re: It took a month, but finally got VUSB working!

ulao can i talk to you privately about seeed studio's kit service? send me a email at
frank at circleofcurrent dot com

I can't find the PM link on this site
by frank26080115
Thu Jul 01, 2010 8:07 am
Forum: V-USB
Topic: It took a month, but finally got VUSB working!
Replies: 4
Views: 3799

Re: It took a month, but finally got VUSB working!

ulao wrote:yeah I to ran in to issues with zerners the 1n747a work fine but the 1N4148 do not.



Where are you using the 1N4148? They are not Zener diodes at all.
by frank26080115
Tue Jun 29, 2010 9:40 pm
Forum: V-USB
Topic: USB transmitter
Replies: 1
Views: 2086

Re: USB transmitter

m static uchar buffer[64]; static uchar currentPosition, bytesRemaining; usbMsgLen_t usbFunctionSetup(uchar setupData[8]) { usbRequest_t *rq = (void *)setupData; // cast to structured data for parsing switch(rq->bRequest){ case VENDOR_RQ_WRITE_BUFFER: currentPosition = 0; // initialize position inde...
by frank26080115
Fri Jun 25, 2010 6:47 pm
Forum: V-USB
Topic: what is the transfer type of the hid-data example?
Replies: 3
Views: 3653

Re: what is the transfer type of the hid-data example?

control transfer, it's using usbFunctionWrite and usbFunctionRead

don't worry about setup and status stages, setup stage should be already finished in usbFunctionSetup, and status stage is taken care of automatically i think
by frank26080115
Fri Jun 25, 2010 6:40 pm
Forum: V-USB
Topic: Question about device descriptor
Replies: 1
Views: 2256

Re: Question about device descriptor

the device descriptor is generated automatically by v-usb using settings in usbconfig.h
by frank26080115
Fri Jun 25, 2010 6:39 pm
Forum: V-USB
Topic: Question about report descriptor
Replies: 1
Views: 2108

Re: Question about report descriptor

go read the official HID documentation from USB.org 1. Every "main item" in the report should have a usage, it's undefined in this case probably because there's no real set meaning to the data. Go read section 5.5 2. Every report can be either "input", "output", or &quo...
by frank26080115
Thu Jun 24, 2010 6:12 pm
Forum: V-USB
Topic: Easylogger (ATtiny45)
Replies: 3
Views: 2910

Re: Easylogger (ATtiny45)

The shear number of things that could be wrong is huge The number of people on this forum is not You definitely did not provide enough details for anybody to help, I myself am not familiar with the PLL clocks of the ATtinys... but double check your clock and compilation settings by running a LED bli...
by frank26080115
Wed Jun 23, 2010 9:19 am
Forum: V-USB
Topic: compilation error when compiling hidtool.c
Replies: 1
Views: 2060

Re: compilation error when compiling hidtool.c

a stab in the dark, but it looks like you are executing gcc from the mingw's bin directory, did you copy all of libusb's files to the bin directory? if not then that definitely won't work. You need to execute gcc where your project actually is so the header files included by the .c file can be found...