Just recently purchased the AVR stick. The firmware appears to be broken (?). I have tried plugging it into two different computers and neither computer fully enumerates the device. Windows reports it as an unrecognised USB device. Which is not helpful.
Took the device home and it works in a different port, so I imagine it was a poor connection like everyone told me it was :). I suppose I’ll add a real USB connector to this one.
tremodian, perhaps you could try stripping and soldering a USB cable to the stick, or just wedging it into the port (USB extension cable can help here!) with a small shim.
ik:
[701568.972021] usb 1-1: new low speed USB device using uhci_hcd and address 37
[701569.096021] usb 1-1: device descriptor read/64, error -71
[701569.320021] usb 1-1: device descriptor read/64, error -71
[701569.480043] hub 1-0:1.0: unable to enumerate USB device on port 1
I’m assuming it’s a hardware issue rather than a firmware issue. Does anyone have any suggestions?
I’ve had some luck with both Windows XP and Linux, I see the ‘error -71’ message on Linux if I plug directly into a USB 2.0 port. I’ve had the best luck with plugging the AVR stick into an old USB 1.1 hub that then plugged into a USB 2.0 port. This configuration seems to work reliably.
For me at least, both LEDs light only when the device is first attached, when the device is sending readings, the LEDs are off.
I too had to use a 1.1 hub to get anything from the stick at first.
The source code needs a small change to get the device working under 2.0 hubs. All those LED effects take so long that by the time the disconnect command happens, the computer shuts down the device for not responding. So, include a:
usbDeviceDisconnect();
just after:
//odDebugInit();
at the start of ‘main’ routine. I left the later disconnect in place, but it can be removed.
Delete the main.o file and recompile with a ‘make’ in a cmd window, then use ‘make flash’ to write to AVR chip with suitable programmer (I just used parallel port, a few resistors and the part of the stick where one could put a DIP chip to sit the stick on some snapable headers in a breadboard and the ponyprog programmer descriptor–even had a 6 foot printer cable between the stick and the breadboard powered by external 5V supply). They really should send snappable header with the stick–two sections, 4 pins long each.