Search found 122 matches

by maxi
Tue Apr 06, 2010 8:04 pm
Forum: V-USB
Topic: V-USB & PS/2 convertors
Replies: 2
Views: 2846

Re: V-USB & PS/2 convertors

IIRC USB-PS/2 adapters don't really convert USB to Serial just that most USB keyboards are backwards compatible with PS/2. If you want to connect to a PS/2 port then you're far better off using the hardware USART present on most AVR's
by maxi
Sun Apr 04, 2010 6:02 pm
Forum: V-USB
Topic: V-USB Build Error
Replies: 5
Views: 8243

Re: V-USB Build Error

vargata wrote:How can i link the usbdrvasm.s to AVRStudio ?

I would recommend you take a look at the AVR-CDC project for a good example of how it should be done. An AVR Studio project .aps is included with the source code.
by maxi
Sat Apr 03, 2010 6:23 pm
Forum: V-USB
Topic: Problem compiling examples with Visual Studio 2008
Replies: 22
Views: 22424

Re: Problem compiling examples with Visual Studio 2008

Ok, I just downloaded VC2008 and got exactly the same problem with my original solution. Seems there are some conflicts with the VC includes and the WDK includes that for some reason did not present themselves under VC2005. My solution: Under project properties C/C++ => Preprocessor set Ignore Stand...
by maxi
Thu Apr 01, 2010 9:01 pm
Forum: V-USB
Topic: Problem compiling examples with Visual Studio 2008
Replies: 22
Views: 22424

Re: Problem compiling examples with Visual Studio 2008

Hi, I could post a VS2005(Express) project file but I doubt it would help you, the dirs and versions will almost certainly be different to yours. Probably best you tell us a bit more about your setup, eg Operating System, which ddk libs you linked and directories included etc.
by maxi
Sat Mar 13, 2010 10:15 pm
Forum: V-USB
Topic: SOLVED! "device not recognized"
Replies: 10
Views: 9825

Re: "device not recognized"

At a guess i'd say the calibration is not being done correctly. Take a closer look at usbconfig.h & osccal.h #if USB_CFG_CLOCK_KHZ==16500 #define USB_CFG_HAVE_MEASURE_FRAME_LENGTH 1 #include "osccal.h" #else #define USB_CFG_HAVE_MEASURE_FRAME_LENGTH 0 #endif /* define this macro to 1 i...
by maxi
Sat Mar 13, 2010 9:51 pm
Forum: V-USB
Topic: hid-data on tiny45
Replies: 7
Views: 6298

Re: hid-data on tiny45

what did you change when you adapted easylogger to hid-data example? Sorry, that was a while back and I no longer have the code but IIRC very little change was required. Really more a matter of adapting the hid-data exampe for ATtiny45 not really anything to do with easylogger other than copying th...
by maxi
Fri Feb 05, 2010 12:46 am
Forum: V-USB
Topic: Windows DDK needed?
Replies: 6
Views: 5644

Re: Windows DDK needed?

I got it working fine with WDK: http://forums.obdev.at/viewtopic.php?f=8&t=3388 Also, MinGW ships with a free version of teh DDK, probably the easiest way to go if you only want to compile the sample. Edit: Sorry, I see you are using linux. In that case you can't use WDK and I don't suppose the ...
by maxi
Mon Dec 14, 2009 7:43 pm
Forum: V-USB
Topic: USB Device not recognized
Replies: 11
Views: 10741

Re: USB Device not recognized

Good quality, high power type AA batteries can give out as much as 2V when they're new, although I think it would be too much of a coincidence for both computers to be reading 8V. You don't by any chance have your meter set to AC?
by maxi
Mon Dec 14, 2009 1:45 am
Forum: V-USB
Topic: USB Device not recognized
Replies: 11
Views: 10741

Re: USB Device not recognized

i'm a little bit confised to. where do i get 7.6 V, if it should be 5 ? I would question the measuring device in this case. Try measuring the output from your usb port without the device connected, if it is 7.6V then you have some serious problem. I'd say it's more likely 5V and solution B would be...
by maxi
Sun Dec 13, 2009 3:51 pm
Forum: V-USB
Topic: USB Device not recognized
Replies: 11
Views: 10741

Re: USB Device not recognized

Since the device does not appear to be self-powered I cannot understand where the 7.6 Volts are comming from. You did detach the isp before plugging it into the usb port didn't you? At a guess I'd say the problem is lack of proper level conversion, whilst this setup may work on some systems it will ...
by maxi
Sat Nov 21, 2009 6:44 pm
Forum: V-USB
Topic: problem with LEDControl example
Replies: 20
Views: 16011

Re: problem with LEDControl example

Any thoughts on getting these names right in Ubuntu? I suspect that it's more a libusb issue than an OS specific one. Problem is that it's unconventional for two entirely different devices to have the same PID & VID, I guess the proper answer would be to use a unique VID/PID for each V-USB devi...
by maxi
Sat Nov 21, 2009 5:16 pm
Forum: V-USB
Topic: problem with LEDControl example
Replies: 20
Views: 16011

Re: problem with LEDControl example

Well, it could be that libusb is mistaking the LEDControl for your USBasp programmer. I have experienced similar situations under Windows when I have had connected multiple V-USB devices, probably because they all share the same VID & PID but I'm not entirely sure. The problem is resolved under ...
by maxi
Fri Nov 20, 2009 7:48 pm
Forum: V-USB
Topic: problem with LEDControl example
Replies: 20
Views: 16011

Re: problem with LEDControl example

I still can't see where the problem is but here are a few suggestions you may or may not have already tried. 1. I don't see the 100n cap anymore, I would recommend you include that as well as the 4u7 (10u should be fine btw) 2. Test resistance beetween the 'A' end of the usb cable and the actual uC ...
by maxi
Tue Nov 17, 2009 7:34 pm
Forum: V-USB
Topic: Where is clock frequency defined?
Replies: 2
Views: 3099

Re: Where is clock frequency defined?

For the example projects F_CPU is set in the makefile. Some other projects may define it in the source code, usually in usbconfig.h.
by maxi
Mon Nov 16, 2009 12:51 am
Forum: V-USB
Topic: problem with LEDControl example
Replies: 20
Views: 16011

Re: problem with LEDControl example

Ok going back to the OP you now say you have D- connected to PD4. D- should be connected to INT0 (Pin 4 PD2) unless otherwise specified in usbconfig.h. Looking at the photo again I think you may simply have D+ and D- the wrong way round. <edit /> Sorry my mistake D+ should be connected to the interr...