Search found 43 matches
- Mon Aug 16, 2010 8:25 pm
- Forum: V-USB
- Topic: USB ASP bootloader not working
- Replies: 5
- Views: 4936
Re: USB ASP bootloader not working
These are the settings I would use m So you are indeed using PD7 as the jumper? That pin must be an input and held low for the bootloader to activate. Make sure you are compiling for the right chip, and make sure the address of the bootloader is set correctly in the makefile, for the atmega162 this ...
- Mon Aug 16, 2010 6:25 pm
- Forum: V-USB
- Topic: Strange setting for USB_CFG_CLOCK_KHZ (solved)
- Replies: 2
- Views: 5133
Re: Strange setting for USB_CFG_CLOCK_KHZ
I don't use Eclipse, but it sounds like it's a defect with the plugin
so... I'd personally suggest use something else for compiling the project
give this a shot? http://code.google.com/p/avr-project-ide/
so... I'd personally suggest use something else for compiling the project
give this a shot? http://code.google.com/p/avr-project-ide/
- Mon Aug 16, 2010 6:21 pm
- Forum: V-USB
- Topic: USB ASP bootloader not working
- Replies: 5
- Views: 4936
Re: USB ASP bootloader not working
did you reconfigure the bootloaderCondition() ? you didn't mention it in your post
- Sun Aug 15, 2010 1:42 am
- Forum: V-USB
- Topic: Running V-USB on an ATmega8 without using a crystal
- Replies: 2
- Views: 3513
Re: Running V-USB on an ATmega8 without using a crystal
excellent, although calibration might get a little annoying when you try making multiple devices, thanks for the information.
the way you write numbers was a little confusing at first, then i remembered some countries use commas for decimals, where are you from?
the way you write numbers was a little confusing at first, then i remembered some countries use commas for decimals, where are you from?
- Thu Aug 12, 2010 9:30 pm
- Forum: V-USB
- Topic: Help needed HID Mouse w/ Attiny2313, unrecognized device
- Replies: 1
- Views: 2580
Re: Help needed HID Mouse w/ Attiny2313, unrecognized device
unable to enumerate usually means a bad config or hardware issues, assuming your initialization sequence is correct (interrupts enabled, watchdog disabled or taken care of, etc) if you really are seeing multiple packets being sent, then I suspect you have a bad config, so double check everything, es...
- Thu Aug 12, 2010 8:40 pm
- Forum: V-USB
- Topic: beginning with VUSB.. need help
- Replies: 9
- Views: 6908
Re: beginning with VUSB.. need help
if you are new to C, you need to get familiar with "make", "makefiles" and compiling C projects in general. That command is meant to be typed into the command line or console. To use AVR Studio with V-USB, only add usbdrv.c and usbdrvasm.S into the project, not the other stuff yo...
- Thu Aug 12, 2010 6:36 pm
- Forum: V-USB
- Topic: what is the transfer type of the hid-data example?
- Replies: 3
- Views: 3652
Re: what is the transfer type of the hid-data example?
you want to use usbFunctionWrite, not usbFunctionRead use usbFunctionSetup to determine whether or not you need to read data from the computer, if so, make sure usbFunctionSetup return USB_NO_MSG then just write your usbFunctionWrite to handle the data, it provides the data in an array and tells you...
- Tue Aug 03, 2010 4:38 am
- Forum: V-USB
- Topic: HID Joysticks not working in Windows 7
- Replies: 1
- Views: 2842
Re: HID Joysticks not working in Windows 7
Are you using 64 bit? There is a problem with 64 bit drivers not working if they are not signed. I know a joy stick is HID and thus should not require a driver though. I run both 32 bit and 64 bit Win7 and I've been able to build HID joysticks, mice, and keyboards for both, although my 64 bit machin...
- Sat Jul 31, 2010 1:33 am
- Forum: V-USB
- Topic: HID Device -> Rotary Encoder Problem
- Replies: 5
- Views: 4584
Re: HID Device -> Rotary Encoder Problem
i need exactly 360 possible values, its gonna be a flight simulation device, and a circle has 360 degrees does the encoder have exactly 360 discrete values? if not, then i suggest you either use the number of discrete values per full rotation of the encoder, or stick with 256, or maybe 65536, and t...
- Fri Jul 30, 2010 6:09 pm
- Forum: V-USB
- Topic: HID Device -> Rotary Encoder Problem
- Replies: 5
- Views: 4584
Re: HID Device -> Rotary Encoder Problem
359? uh, i'd suggest you avoid that, stick to 0-255 and use software to multiply the number by 1.40784314
- Wed Jul 28, 2010 6:09 pm
- Forum: V-USB
- Topic: Launch app on USB event (OS X)
- Replies: 1
- Views: 2467
Re: Launch app on USB event (OS X)
I'm pretty sure either you can make your device a HID keyboard with additional application keys, or write a background process as a "driver" and make it launch programs.
- Mon Jul 26, 2010 4:33 pm
- Forum: V-USB
- Topic: HID Device -> Rotary Encoder Problem
- Replies: 5
- Views: 4584
Re: HID Device -> Rotary Encoder Problem
two solutions: make your host application event driven (I can't help much with this) or elongate the period which your button appears pressed, using a hardware timer or loop counter int pressedFor; // counter while (1) { usbPoll(); if (buttonIsPressed()) { pressedFor = 0; // reset counter } if (pres...
- Sat Jul 24, 2010 5:04 am
- Forum: V-USB
- Topic: timeout error on stk500
- Replies: 1
- Views: 2490
Re: timeout error on stk500
com ports above 4 can't be simply written as com4
you need to write
//./COM10
try it
you need to write
//./COM10
try it
- Thu Jul 22, 2010 6:28 pm
- Forum: V-USB
- Topic: Need help regarding Mingw
- Replies: 3
- Views: 3549
Re: Need help regarding Mingw
Oh yea the provided LibUsbDotNet examples are great, just use the device finder to create the device and call the methods available on the device to communicate, like "ControlTransfer" for stuff you want to send to usbFunctionSetup to handle, really simple.
- Wed Jul 21, 2010 6:32 pm
- Forum: V-USB
- Topic: Need help regarding Mingw
- Replies: 3
- Views: 3549
Re: Need help regarding Mingw
If you are totally new to this, how about trying something less advanced than dealing with Mingw and makefiles and such? Go get Visual Studio (the express editions are free) and then use LibUsbDotNet (download it, install it, and in your Visual Studio project, "Add Reference" to the libusb...