Search found 29 matches
- Sun Dec 26, 2010 6:15 pm
- Forum: V-USB
- Topic: Need help with bootloaderHID
- Replies: 7
- Views: 7868
Re: Need help with bootloaderHID
Its a very common problem when switching to atmel devices. You picked the fuses wrong and choosed a wrong oscillator source. The normal solution is to feed the X1 pin with a 1Mhz clock from another device, like an lm555, living X2 unconnected, and reprogram the fuses with it to the right ones. I had...
- Thu Jan 22, 2009 7:22 pm
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17019
- Thu Jan 22, 2009 6:39 pm
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17019
How fast can AVR-USB transfer a buffer? I did some tests transferring 5000 times a buffer of 1800 bytes from the uC to PC doing most transfers in chuncks of 250 bytes. The result was a transfer rate of about 55 kb/s. The firmware does nothing more than blink a led each second and transfer the buffe...
- Thu Jan 22, 2009 3:05 pm
- Forum: V-USB
- Topic: Need help with bootloaderHID
- Replies: 7
- Views: 7868
The BOOTRST fuse isn't programmed -- try 0xC8 for the high fuse byte. I have now the fuses with C8, but also is not working. It is not being recogniced by linux. Fuses I only changed the boot condition to port D pin 7. #define USB_CFG_IOPORTNAME D #define USB_CFG_DMINUS_BIT 2 #define USB_CFG_DPLUS_...
- Wed Jan 21, 2009 10:40 pm
- Forum: V-USB
- Topic: Transfering more than 255 bytes.
- Replies: 1
- Views: 2980
- Wed Jan 21, 2009 10:27 pm
- Forum: V-USB
- Topic: Transfering more than 255 bytes.
- Replies: 1
- Views: 2980
Transfering more than 255 bytes.
Hi i need to transfer a big buffer from an ATmega32 to the computer. For that i have redefined "bytesRemaining" variable from uchar to usbWord_t and made some simple changes to usbFunctionWrite and Read. I test this writing 1800 bytes from the computer to the uC memory and reading it again...
- Wed Jan 21, 2009 4:57 am
- Forum: V-USB
- Topic: Need help with bootloaderHID
- Replies: 7
- Views: 7868
I have succesfully flashed the bootloader, but i cant get it to work. DEVICE = atmega32 BOOTLOADER_ADDRESS = 3800 F_CPU = 16000000 FUSEH = 0xc9 FUSEL = 0xef I can not find more information than this: usb 2-3: new low speed USB device using ohci_hcd and address 29 usb 2-3: device descriptor read/64, ...
- Wed Jan 21, 2009 3:47 am
- Forum: V-USB
- Topic: Need help with bootloaderHID
- Replies: 7
- Views: 7868
- Wed Jan 21, 2009 12:03 am
- Forum: V-USB
- Topic: Need help with bootloaderHID
- Replies: 7
- Views: 7868
Need help with bootloaderHID
HI. I am trying to make my previous work with avr-usb bootloadable. For that i needed to change the fuses and the device doesnt work any more. It is an ATmega32, previous fuses were H: 0xC9 L:0xEF It uses an external 16 Mhz Crystal. Now i changed the fuses to H: 0xC9 L:0xE9 to use the biggest boot l...
- Tue Jan 20, 2009 10:10 pm
- Forum: V-USB
- Topic: Linux Host Application for AVR-USB
- Replies: 2
- Views: 3786
- Tue Jan 20, 2009 10:09 pm
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17019
Hi. Nice done. How have you messured the sample rate? I need to fetch information from ADCs as fast as possible, but i may not need it to be circular. What microcontroller are you using? Crystal oscillator? ADC prescaler settings? How many channels are you sending? etc. How fast can AVR-USB transfer...
- Tue Oct 28, 2008 3:49 pm
- Forum: V-USB
- Topic: Can I use AVR-USB in At90usbXXX?
- Replies: 6
- Views: 7315
In USB you have a Host controller and an endpoint. It seems like you are trying to connect 2 devices with no computer. If so, one of the devices needs to have a host usb module, otherwise it wont work. If all of this is correct on your devices and still doesnt working, it may be that 16 Mhz could be...
- Tue Oct 28, 2008 1:34 am
- Forum: V-USB
- Topic: HID_data example has a number of errors in windows
- Replies: 4
- Views: 5730
Yes it works great with libusb under both OSes. Im glad that it worked for you, then it is not a code problem. It could be that i have windows xp inside a virtual machine, but all other usb devices and libusb-win32 on the same OS works fine. Anyway, using libusb was much easier than the instructions...
- Mon Oct 27, 2008 4:35 pm
- Forum: V-USB
- Topic: Can I use AVR-USB in At90usbXXX?
- Replies: 6
- Views: 7315
- Sun Oct 26, 2008 2:17 am
- Forum: V-USB
- Topic: Can I use AVR-USB in At90usbXXX?
- Replies: 6
- Views: 7315