Search found 6 matches
- Wed Dec 17, 2008 11:07 pm
- Forum: V-USB
- Topic: How to debug? AVR-USB device does not respond to host
- Replies: 6
- Views: 7048
- Wed Dec 17, 2008 4:54 pm
- Forum: V-USB
- Topic: How to debug? AVR-USB device does not respond to host
- Replies: 6
- Views: 7048
OK, I discovered one issue: I was not using the INT0 pin for D+, since I kept the PB0 and PB2 pin assignments when I ported the code from ATtiny45. Now I switched to PB6=INT0 for D+ and PB3 for D-. But the host still can't communicate with the device. I used an LED to verify that the code invokes th...
- Wed Dec 17, 2008 2:22 am
- Forum: V-USB
- Topic: How to debug? AVR-USB device does not respond to host
- Replies: 6
- Views: 7048
I'm still having problems. I now run the AVR at 3.3V with a regulator, to avoid the zener-diode issues. D- is now at 3V at rest, pulled up by a 1.5k. But the host still can't communicate with the device. I tried to see what is going on by turning on an LED at critical points in the code, but I am no...
- Tue Dec 16, 2008 5:10 am
- Forum: V-USB
- Topic: How to debug? AVR-USB device does not respond to host
- Replies: 6
- Views: 7048
Thanks. I can try to move the 2.2k resistor to the D- line (right now it's after the 68 Ohm), but I can't see why that would make a difference; the extra 68 Ohm don't make a real difference for a 2.2k. Maybe something else is wrong with my board. I'll try to do some more testing tomorrow with just a...
- Mon Dec 15, 2008 9:04 pm
- Forum: V-USB
- Topic: How to debug? AVR-USB device does not respond to host
- Replies: 6
- Views: 7048
- Mon Dec 15, 2008 7:06 pm
- Forum: V-USB
- Topic: How to debug? AVR-USB device does not respond to host
- Replies: 6
- Views: 7048
How to debug? AVR-USB device does not respond to host
Hi, I built an AVR-USB device using an ATtiny861 with a 16MHz crystal. The clock source works and I can program the chip using ISP. I programmed to it a project to control an I2C device. The chip runs at 5V and the D+ D- lines are protected by 3.6V zeners (but 1W zeners, not low-power ones as sugges...