Gentoo Archives: gentoo-user

From: Stefan Mark <mark@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USB device (ATtiny86 w. mcronucleus bootloader) not recognized ?
Date: Mon, 07 Aug 2017 16:03:31
Message-Id: 20170807180301.17118380@vdhh-linux
In Reply to: Re: [gentoo-user] USB device (ATtiny86 w. mcronucleus bootloader) not recognized ? by tuxic@posteo.de
1 On Mon, 7 Aug 2017 17:53:35 +0200
2 tuxic@××××××.de wrote:
3
4 > On 08/07 11:21, Stefan Mark wrote:
5 > > On Sun, 6 Aug 2017 18:50:07 +0200
6 > > tuxic@××××××.de wrote:
7 > >
8 > > > Hi,
9 > > >
10 > > > sorry, this will become a little longish...
11 > > >
12 > > > Background: To program an ATMEL ATtiny85 via USB
13 > > > without a dedicated USB chip there is a bootloader
14 > > > called "micornucleys", which bitbangs the USB protocoll.
15 > > > This mechanism is used in Digistupms Digispark ATTtiny
16 > > > developmnent board (http://digistump.com/products/1).
17 > > >
18 > > > So far so ....nice?
19 > > >
20 > > > When I plug in such a little board into my PC, demesg
21 > > > reports:
22 > > > [ 1429.834140] usb 7-4: new low-speed USB device number 15 using
23 > > > ohci-pci [ 1429.965142] usb 7-4: device descriptor read/64, error
24 > > > -62 [ 1430.203151] usb 7-4: device descriptor read/64, error -62
25 > > > [ 1430.438161] usb 7-4: new low-speed USB device number 16 using
26 > > > ohci-pci [ 1430.569151] usb 7-4: device descriptor read/64, error
27 > > > -62 [ 1430.803174] usb 7-4: device descriptor read/64, error -62
28 > > > [ 1431.038184] usb 7-4: new low-speed USB device number 17 using
29 > > > ohci-pci [ 1431.456157] usb 7-4: device not accepting address 17,
30 > > > error -62 [ 1431.582204] usb 7-4: new low-speed USB device number
31 > > > 18 using ohci-pci [ 1432.000209] usb 7-4: device not accepting
32 > > > address 18, error -62 [ 1432.000244] usb usb7-port4: unable to
33 > > > enumerate USB device
34 > > >
35 > > > or similiar. lsusb does not show anything related at all.
36 > > >
37 > > That usually happens when the improvised USB is not good enough.
38 > > Try a different port, maybe put a USB Hub between. Check if the
39 > > resistors and diodes for the level shifting are the right ones
40 > > (measure the resistors, especially if you are not using 5% types).
41 > > If that does not work, try a different diode/resistor combination
42 > > (For example, usbasp uses 5v6 zener and 68/2k2 resistor, littlewire
43 > > 3v6 zener and 27/1k2 resistor. I have seen others too. I had at
44 > > least one which never worked with my laptop).
45 >
46 > The board is THAT tiny (http://digistump.com/products/1) that even
47 > a single proble will short circuit one half of the board... :)
48 Yeah, i know them. You need a smaller probe ;)
49 But i can understand that, i would not like to change parts on those.
50 Then better try other Ports :)