Search found 43 matches

Go to advanced search

by frank26080115
Mon Aug 16, 2010 8:25 pm
Forum: V-USB
Topic: USB ASP bootloader not working
Replies: 5
Views: 1964

Re: USB ASP bootloader not working

These are the settings I would use http://frank.circleofcurrent.com/fusecalc/fusecalc.php?chip=atmega162&LOW=FF&HIGH=98&EXTENDED=FF&LOCKBIT=FF 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...
by frank26080115
Mon Aug 16, 2010 6:25 pm
Forum: V-USB
Topic: Strange setting for USB_CFG_CLOCK_KHZ (solved)
Replies: 2
Views: 2488

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/
by frank26080115
Mon Aug 16, 2010 6:21 pm
Forum: V-USB
Topic: USB ASP bootloader not working
Replies: 5
Views: 1964

Re: USB ASP bootloader not working

did you reconfigure the bootloaderCondition() ? you didn't mention it in your post
by frank26080115
Sun Aug 15, 2010 1:42 am
Forum: V-USB
Topic: Running V-USB on an ATmega8 without using a crystal
Replies: 2
Views: 1567

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?
by frank26080115
Thu Aug 12, 2010 9:30 pm
Forum: V-USB
Topic: Help needed HID Mouse w/ Attiny2313, unrecognized device
Replies: 1
Views: 1090

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...
by frank26080115
Thu Aug 12, 2010 8:40 pm
Forum: V-USB
Topic: beginning with VUSB.. need help
Replies: 9
Views: 2965

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...
by frank26080115
Thu Aug 12, 2010 6:36 pm
Forum: V-USB
Topic: what is the transfer type of the hid-data example?
Replies: 3
Views: 1393

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...
by frank26080115
Tue Aug 03, 2010 4:38 am
Forum: V-USB
Topic: HID Joysticks not working in Windows 7
Replies: 1
Views: 998

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...
by frank26080115
Sat Jul 31, 2010 1:33 am
Forum: V-USB
Topic: HID Device -> Rotary Encoder Problem
Replies: 5
Views: 2029

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, an...
by frank26080115
Fri Jul 30, 2010 6:09 pm
Forum: V-USB
Topic: HID Device -> Rotary Encoder Problem
Replies: 5
Views: 2029

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
by frank26080115
Wed Jul 28, 2010 6:09 pm
Forum: V-USB
Topic: Launch app on USB event (OS X)
Replies: 1
Views: 984

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.
by frank26080115
Mon Jul 26, 2010 4:33 pm
Forum: V-USB
Topic: HID Device -> Rotary Encoder Problem
Replies: 5
Views: 2029

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...
by frank26080115
Sat Jul 24, 2010 5:04 am
Forum: V-USB
Topic: timeout error on stk500
Replies: 1
Views: 1198

Re: timeout error on stk500

com ports above 4 can't be simply written as com4

you need to write

//./COM10

try it
by frank26080115
Thu Jul 22, 2010 6:28 pm
Forum: V-USB
Topic: Need help regarding Mingw
Replies: 3
Views: 1344

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.
by frank26080115
Wed Jul 21, 2010 6:32 pm
Forum: V-USB
Topic: Need help regarding Mingw
Replies: 3
Views: 1344

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...

Go to advanced search