maxi wrote:I still can't see where the problem is but here are a few suggestions you may or may not have already tried.
1. I don't see the 100n cap anymore, I would recommend you include that as well as the 4u7 (10u should be fine btw)
2. Test resistance beetween the 'A' end of the usb cable and the actual uC pins. Also test that D+ & D- are not shorted.
3. Try different values for the pull-up on D- (1K - 2K2)
4. Try a different xtal if you have one, and/or try it with the calibrated internal RC method.
5. Try a different uC if you have one.
6. Try a different example project, maybe HID data.
I'm sure it'll just be something simple, best of luck!
Ok, I think we may be getting somewhere. I first tried 1, 2 (67.8 and 68.7 Ohm), 3 and 4. I then tried another atmega8 but that one appears to be broken because I couldn't program it. But then I tried another one which I thought was broken, because LEDs connected to PORTC were always very faint no matter which resistor I used. When I connect using that one, dmesg says
Code: Select all
[34374.430024] usb 5-2: new low speed USB device using ohci_hcd and address 118
[34374.616128] usb 5-2: configuration #1 chosen from 1 choice
lsusb gives me
Code: Select all
Bus 005 Device 118: ID 16c0:05dc VOTI USBasp AVR Programmer
although the programmer is not connected anymore. Of course the host software says
Code: Select all
Could not find USB device "LEDControl" with vid=0x16c0 pid=0x5dc
but at least it appears to be connected. What should I do next?
Thanks a lot for the assistance!
Pieter
edit: I tried it on my netbook as well, and there the device shows up as "VOTI" in the lsusb list.