1 |
On 07/25 02:24, R0b0t1 wrote: |
2 |
> On Tue, Jul 25, 2017 at 12:17 PM, <tuxic@××××××.de> wrote: |
3 |
> > Hi, |
4 |
> > |
5 |
> > (yes, I also have a FTDI USB<=>serial adapter...in this case I need to |
6 |
> > get my CH340 based work) |
7 |
> > |
8 |
> > this drives me crazy... |
9 |
> > |
10 |
> > My CH340G USB<=>serial adaptor is recognized as |
11 |
> > (lsusb) |
12 |
> > Bus 007 Device 011: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter |
13 |
> > (dmesg) |
14 |
> > [52255.016438] usb 7-4: new full-speed USB device number 11 using ohci-pci |
15 |
> > [52255.167432] usb 7-4: New USB device found, idVendor=1a86, idProduct=7523 |
16 |
> > [52255.167439] usb 7-4: New USB device strings: Mfr=0, Product=2, SerialNumber=0 |
17 |
> > [52255.167443] usb 7-4: Product: USB2.0-Serial |
18 |
> > [52255.169580] ch341 7-4:1.0: ch341-uart converter detected |
19 |
> > [52255.179543] usb 7-4: ch341-uart converter now attached to ttyUSB3 |
20 |
> > |
21 |
> > |
22 |
> > But that's it. |
23 |
> > |
24 |
> > It does not seem to react on any kind of action I try to achieve with |
25 |
> > avrdude (I skipped the arduino IDE to get one variable off this |
26 |
> > eqyitation...). |
27 |
> > |
28 |
> > I instructed avrdude to "speak to the board" like this: |
29 |
> > avrdude -p ATmega2560 -c arduino -P /dev/ttyUSB3 -b 9600 |
30 |
> > |
31 |
> > ...but the only reaction I get is ...timeouts... |
32 |
> > |
33 |
> > I have no clue what to do next. |
34 |
> > |
35 |
> > How can I devide the things which are working so far from those |
36 |
> > which are not working. |
37 |
> > |
38 |
> > The ATmega2560 board is working - I can flash it via buspirate (ICSP). |
39 |
> > I burned a bootloader with that...just to mention...not wanting to |
40 |
> > start an Arduino discussion on a Gentoo mailinglist...only to |
41 |
> > explain the context a little bit... |
42 |
> > |
43 |
> > What is the status of the ch340/ch341 driver? |
44 |
> > (I am running kernel 4.12.3 vanilla right off Linus desktop so to |
45 |
> > say...) |
46 |
> > |
47 |
> > Thanks a lot for any help in advance! |
48 |
> > Cheers |
49 |
> > Meino |
50 |
> > |
51 |
> |
52 |
> If the device creates a /dev node there is probably no issue with the |
53 |
> driver. The default Arduino speed is now 57,600, are you sure 9,600 is |
54 |
> right? Before that it was 38,400. Use the ICSP interface to flash a |
55 |
> program that prints things via serial and see if you can receive them. |
56 |
> If your serial connection is unreliable you will get garbled |
57 |
> characters. |
58 |
> |
59 |
> Avrdude should eventually time out with a message, what is that message? |
60 |
> |
61 |
> I have been experiencing similar problems that you have described with |
62 |
> various Arduino and Arduino-derived boards and so far have not been |
63 |
> able to explain it. Most of the time they work perfectly but some do |
64 |
> not and the bootloader seems to refuse to work. |
65 |
> |
66 |
> R0b0t1. |
67 |
> |
68 |
|
69 |
Hi R0b0t1, |
70 |
|
71 |
:) thank you very much for your reply! :) |
72 |
|
73 |
Since it will become nevertheless more Android loaden I will |
74 |
respond off list ... |
75 |
|
76 |
Cheers |
77 |
Meino |