Search found 1013 matches
- Sat Apr 11, 2009 3:50 pm
- Forum: V-USB
- Topic: avrusb with external power source
- Replies: 2
- Views: 2807
Re: avrusb with external power source
It is possible to use an external supply. I'd recommend taking all the power from your own supply and leave the USB 5V unused. This violates the spec, I think, because your pull-up delivers current when the host is powered off, but that should not cause any real problems.
- Sat Apr 11, 2009 3:46 pm
- Forum: V-USB
- Topic: Voltage Question
- Replies: 6
- Views: 4947
Re: Voltage Question
If your AVR tears down the USB supply, it must be broken (take more than 500 mA) or your USB port is broken.
BTW: I'd recommend 1k5 instead of 2k2 for the pull-up. You probably don't reach the threshold voltage on D- with 2k2 due to the current through the zener diodes.
BTW: I'd recommend 1k5 instead of 2k2 for the pull-up. You probably don't reach the threshold voltage on D- with 2k2 due to the current through the zener diodes.
- Sat Apr 11, 2009 3:43 pm
- Forum: V-USB
- Topic: disable the UART transmitter on the 88
- Replies: 4
- Views: 3925
Re: disable the UART transmitter on the 88
The USART is disabled after reset. AVR-USB leaves it disabled unless you have turned on debugging.
- Sat Apr 11, 2009 3:42 pm
- Forum: V-USB
- Topic: Can't find device in windows, please help
- Replies: 22
- Views: 13976
Re: Can't find device in windows, please help
Since the open fails, the device may be opened by another application on your machine. Don't know what error code 5 means, though.
- Sat Apr 11, 2009 3:40 pm
- Forum: V-USB
- Topic: bootloadHID atmega128
- Replies: 7
- Views: 7714
Re: bootloadHID atmega128
I'm surprised to hear that pgm_read_byte_far() works in this case because the address is only 16 bit. If anybody has a good point WHY this works, we can add an #ifdef to usbportability.h (but on what condition?) or add a usbconfig.h option.
- Sat Apr 11, 2009 2:36 pm
- Forum: V-USB
- Topic: about avrusb library
- Replies: 11
- Views: 8191
Re: about avrusb library
You need the latest version of bootloadHID for 12.8 MHz because all other boot loaders won't fit. And you need to wire D- to the interrupt because the continuous oscillator synchronization code is used.
- Sat Apr 11, 2009 2:30 pm
- Forum: V-USB
- Topic: Device not recognized after PC start
- Replies: 5
- Views: 4783
Re: Device not recognized after PC start
This may be an issue with RC oscillator calibration. Which method of calibration do you use?
Re: avrdoper
This is a chicken and egg problem. For the first time programming, you must use another programmer. If you have a friend who has a programmer, ask this friend. Otherwise make a web search for parallel port based programmers. They consist just of two connectors wired together. You need a PC with para...
- Mon Feb 16, 2009 4:24 pm
- Forum: V-USB
- Topic: Detect Master presence?
- Replies: 1
- Views: 2506
- Mon Feb 16, 2009 4:18 pm
- Forum: V-USB
- Topic: USB remote wakeup
- Replies: 1
- Views: 2522
The value returned by GET_CONFIGURATION is the same as set with SET_CONFIGURATION. See the implementation in usbdrv.c. If the host is in sleep mode (you know that the host is sleeping when there are no frame pulses every 1 ms on D-), you can wake it with a SE0 condition: Tie D+ and D- to 0 for (I th...
- Mon Feb 16, 2009 4:15 pm
- Forum: V-USB
- Topic: how to remove the notice "found x busses"
- Replies: 1
- Views: 2568
This is a libusb-win32 issue. The info log comes directly from the libusb-win32 dll. Don't know whether there are versions without this log. The time to enumerate all USB devices depends on the implementation of libusb on the particular platform. You can implement a logic which searches on the "...
- Wed Feb 11, 2009 4:25 pm
- Forum: V-USB
- Topic: avrusb 18MHz port incl crc check
- Replies: 3
- Views: 3438
- Fri Feb 06, 2009 12:40 pm
- Forum: V-USB
- Topic: Device stuck in "suspend" and blocking USB port
- Replies: 5
- Views: 5011
When you change the Timer0 prescaler, you change the timing unless you also modify the code. With a prescaler of 64, you get ca. one interrupt every 1 ms, that should not cause problems when you declare the ISR as ISR_NOBLOCK. Disabling the Timer0 overflow interrupt only instead of cli() is a good i...
- Tue Feb 03, 2009 3:30 pm
- Forum: V-USB
- Topic: is low latency communication possible?
- Replies: 2
- Views: 3128
When the host initiates communication, the control transfer is one of your best options for low speed devices. Full speed devices would benefit from a bulk endpoint, though. In your case, just do a control-in, do your processing and then a control-out. 1 ms latency may be possible, but better measur...