Gentoo Archives: gentoo-user

From: Fernando Rodriguez <cyklonite@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT?]: CH340 working/not working with ESP286 Node MCU
Date: Sat, 09 Jul 2016 00:00:06
Message-Id: 221f45b5-c289-4473-319a-24e62db7b97d@gmail.com
In Reply to: [gentoo-user] [OT?]: CH340 working/not working with ESP286 Node MCU by Meino.Cramer@gmx.de
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 07/07/2016 11:22 PM, Meino.Cramer@×××.de wrote:
5 > Hi,
6 >
7 > I have bought an ESP8266 Lua NodeMCU board, which has
8 > an FTDI-like chip on board to map USB to serial and
9 > vice versa. It is an CH340 one.
10 > There is an according module in the driver (compiled
11 > and - to get shure - loaded by hand).
12 >
13 > When I connect the ESP8266 board to my Gentoo PC
14 > nothing happens (dmesg shows nothing).
15 > When pressing RST on the board, I see this sometimes:
16 >
17 > [ 4340.105221] usb 7-4: new full-speed USB device number 9 using ohci-pci
18 > [ 4340.630234] usb 7-4: device not accepting address 9, error -62
19 >
20 > (both lines are printed right after another - no delay...)
21 >
22 > or this:
23 >
24 > [ 4473.567739] usb 7-4: new full-speed USB device number 11 using ohci-pci
25 > [ 4473.712306] usb 7-4: New USB device found, idVendor=1a86, idProduct=7523
26 > [ 4473.712316] usb 7-4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
27 > [ 4473.712321] usb 7-4: Product: USB2.0-Serial
28 > [ 4473.763259] usbcore: registered new interface driver ch341
29 > [ 4473.763278] usbserial: USB Serial support registered for ch341-uart
30 > [ 4473.763295] ch341 7-4:1.0: ch341-uart converter detected
31 > [ 4473.786463] usb 7-4: ch341-uart converter now attached to ttyUSB1
32 > [ 4473.888987] usb 7-4: USB disconnect, device number 11
33 > [ 4473.889485] ch341-uart ttyUSB1: ch341-uart converter now disconnected from ttyUSB1
34 > [ 4473.889511] ch341 7-4:1.0: device disconnected
35 > [ 4474.292773] usb 7-4: new full-speed USB device number 12 using ohci-pci
36 >
37 > there is no new device under /dev/.
38 >
39 > Do I miss something seriously important here related to using the
40 > CH340 driver...or is this board simply demaged ???
41 >
42 > Thank you very much in advance for any help!
43 >
44 > Best regards,
45 > Meino
46
47 What's running on the board? I'm not familiar with it or arduinos at all but it looks like it's being
48 detected and then disconnected. Are you trying to program the board through USB? If so, and since
49 it's detected when you reset the board, my guess is that it's got some kind of bootloader that is
50 initializing the UART->USB adapter and passing control to whatever firmware is already loaded, and
51 that firmware is not driving the UART/USB adapter. If that's the case the board's manual should tell you how
52 to program it.
53
54 Fernan
55 -----BEGIN PGP SIGNATURE-----
56 Version: GnuPG v2
57
58 iQIcBAEBCAAGBQJXgD6zAAoJEPbOFX/5Ulwc7+QP/3q9pQunL9XJiWounkakNjZe
59 Yb3jNK0D+G50T2/DGzFSMK/sXsEcTAr/w9Dhm2txwutPf3wGibr8O3gdfneRy/Gm
60 ImMXAqjL9ag3SFT3o5D7t97qKxRBJKOYa9enzBUDQGpUpQYJPRvn9v7PWJFwEHza
61 jVZJcW4HfnGeTdDgeqOsM8nbi8GITDd+WOV1tnIv573ifs3TCW5nGisEtCqwoVui
62 knzOc9I+DLY0QEPEEBnZlmiOQR6nsJQNrX3ixs/2odTO/lX10xmdTSy94yWMBuqY
63 8d8FYyiizjx9rkJamks5P04Q7hvXZos32EgcWq4jKINL4fyOXhfg9uxNs2366Wwh
64 bOlvt5wJdwH5ABvEcN71jU8pm9UrrdfDnXgRZY/irGWAxsLSWhftVIAlIz4hTSUa
65 2uowKMvKULXUJLFdVSltAItuXe2WM0pqEzoKPb9iXFZY88aWvGomrZxlbCtBQ3Gg
66 t2TYSzOYljnzYs+dVm22JBLtgbrxfaJexisJ3O/7h8gs6ACm0M9zi33Rm1df5Cgp
67 6o9ihJynW9svsJVab72LsRmbe0lVv+HgNfwKr5O3IEIE1Y7BhPx5EAFrgfE6M/SK
68 2sKR4YzdRgpxM7Td4wHtiCaROCfGsxK4wd69n2H2bp7cYPofYa48C//wZJWV6gmr
69 X0oZGic3DDPrR+77Hzi6
70 =eEG4
71 -----END PGP SIGNATURE-----