Search found 43 matches
- Fri Jun 18, 2010 6:45 pm
- Forum: V-USB
- Topic: PPM RC to USB interface
- Replies: 1
- Views: 2041
Re: PPM RC to USB interface
I'm looking at the source code and it looks like the firmware does not come with a makefile, normally you build the project with the makefile (or some other way) to get a *.hex file to upload to the ATmega with a programmer. Apparently there are *.a90 files in the release folder for specific chips, ...
- Wed Jun 16, 2010 6:04 pm
- Forum: V-USB
- Topic: VUSB on Windows 7
- Replies: 1
- Views: 2546
Re: VUSB on Windows 7
did you change USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH ?
- Mon Jun 14, 2010 3:52 am
- Forum: V-USB
- Topic: ATMEGA328P on V-USB
- Replies: 43
- Views: 52076
Re: ATMEGA328P on V-USB
There is no equivalent for the ATmega328P You may also try defining "USB_INTR_VECTOR" as "INT0_vect" in "usbconfig.h", or replacing "SIG_INTERRUPT0" with "INT0_vect" in "usbdrvasm.S" (around line 60 in version 20090822). That last sentence ...
- Thu Jun 10, 2010 6:48 pm
- Forum: V-USB
- Topic: possible to jump between bootloader and the main program?
- Replies: 3
- Views: 3194
Re: possible to jump between bootloader and the main program?
Hmm... I don't think this is practical. The problem is probably due to memory (what variables is saved where). If the generated HEX file is identical for both the application code and bootloader code (obviously with a offset in the flash address), then your bootloader can probably just skip usbInit ...
- Wed Jun 09, 2010 11:44 pm
- Forum: V-USB
- Topic: possible to jump between bootloader and the main program?
- Replies: 3
- Views: 3194
Re: possible to jump between bootloader and the main program?
typedef void (*AppPtr_t)(void) __attribute__ ((noreturn)); AppPtr_t AppStartPtr = (AppPtr_t)0x0000; AppStartPtr(); That's code I found here m So modify it with the bootloader address instead. typedef void (*AppPtr_t)(void) __attribute__ ((noreturn)); AppPtr_t BootloaderPtr = (AppPtr_t)0xAddressGoes...
- Sat Jun 05, 2010 10:20 pm
- Forum: V-USB
- Topic: - resolved -Compatible with ATTINY44 ?
- Replies: 2
- Views: 3300
Re: Compatible with ATTINY44 ?
it sounds like you got things right
maybe it is another commonly overlooked detail, like defining clock speed, setting the right clock fuses, boot reset vector being enabled, or something regarding the watchdog timer.
maybe it is another commonly overlooked detail, like defining clock speed, setting the right clock fuses, boot reset vector being enabled, or something regarding the watchdog timer.
- Wed May 05, 2010 5:06 am
- Forum: V-USB
- Topic: Trouble fitting USBaspLoader
- Replies: 3
- Views: 3550
Re: Trouble fitting USBaspLoader
i did some code changes to "USBaspLoader.2009-03-20" file usbdrvasm.S line 59 # define USB_INTR_VECTOR INT0_vect this change made V-USB work with the ATmega328P whereas before it would not due to a mis-defined interrupt vector name refer to this post http://forums.obdev.at/viewtopic.php?f=...
- Wed May 05, 2010 3:29 am
- Forum: V-USB
- Topic: Trouble fitting USBaspLoader
- Replies: 3
- Views: 3550
Re: Trouble fitting USBaspLoader
ok i've compiled it for the atmega328p with the 4k bootloader setting (instead of 2k so it will fit) and my own pin configuration and it works, so now i just have to figure out how to compile it under 2k so it works with other chips.
did you manually optimize the disassembly or something?
did you manually optimize the disassembly or something?
- Tue May 04, 2010 5:27 am
- Forum: V-USB
- Topic: Trouble fitting USBaspLoader
- Replies: 3
- Views: 3550
Trouble fitting USBaspLoader
I can't seem to compile USBaspLoader to fit within 2048 bytes with any of the settings (all chips ranging from atmega8 to atmega328p, all supported clocks from 12 to 20 MHz) I uploaded the resulting hex files to my chip (atmega168 with a 12mhz clock) anyways and the computer won't enumerate my devic...
- Mon May 03, 2010 5:36 am
- Forum: V-USB
- Topic: HIDKeys (and other examples) dont seem to work [ATMEGA32]
- Replies: 4
- Views: 5331
Re: HIDKeys (and other examples) dont seem to work [ATMEGA32]
Your fuses might be wrong, double check them
Here are your current settings
http://frank.circleofcurrent.com/fuseca ... LOCKBIT=FF
I'd recommend these settings
http://frank.circleofcurrent.com/fuseca ... LOCKBIT=FF
The change was from a low frequency crystal setting to a high frequency crystal setting (I think anything greater than 8 MHz counts as "high frequency")
Here are your current settings
http://frank.circleofcurrent.com/fuseca ... LOCKBIT=FF
I'd recommend these settings
http://frank.circleofcurrent.com/fuseca ... LOCKBIT=FF
The change was from a low frequency crystal setting to a high frequency crystal setting (I think anything greater than 8 MHz counts as "high frequency")
- Sat May 01, 2010 2:04 am
- Forum: V-USB
- Topic: Wii Nunchuk as USB Gamepad and Mouse
- Replies: 0
- Views: 4274
Wii Nunchuk as USB Gamepad and Mouse
This projects let's you use a Nintendo Nunchuk controller as an USB gamepad on your computer (a joystick, 2 buttons, and it also 3 axis of acceleration data). It also let's you use it as an USB mouse, but this function can be disabled by a jumper. Tilting the Nunchuk is the same as moving the mouse ...
- Sat May 01, 2010 12:32 am
- Forum: V-USB
- Topic: Can't get rid of old device name for joystick [FIXED]
- Replies: 2
- Views: 2896
Re: Can't get rid of old device name for joystick
that fixed it, I did a search in the registry for "PS2USB" and deleted all the entries i found, thanks
- Fri Apr 30, 2010 6:53 am
- Forum: V-USB
- Topic: Can't get rid of old device name for joystick [FIXED]
- Replies: 2
- Views: 2896
Can't get rid of old device name for joystick [FIXED]
I made a copy of the PS2USB project posted at m and got it working, but now I made my own gamepad using a nunchuk and edited the usbconfig.h to say "Nunchuk Joystick". In "Devices and Printers" of Windows 7's control panel, it says "Nunchuk Joystick" but if I right clic...