Hallo guten Tag,
ich habe einen in circuit programmer
mysmartUSBlight
https://shop.myavr.de/index.php?sp=article.sp.php&artID=200006
Da ich keine Verbindung per USB mit meinem Arduino Nano aufbauen kann,
wollte ich einen Bootloader per ISP drauf flashen.
Wenn ich mit der GUI avrdudess
https://blog.zakkemble.net/avrdudess-a-gui-for-avrdude/
Den Befehl
avrdude -c stk500 -p m328p -P /dev/ttyUSB0 -U hfuse:r:-:h -U lfuse:r:-:h
-U efuse:r:-:h
1 | ERRORUC: _FUSELOCKREADFAIL
|
2 |
|
3 | avrdude: ser_open(): can't open device "/dev/ttyUSB0": Input/output error
|
4 |
|
5 | avrdude done. Thank you.
|
es kommt erst nach tausendfachem testen
1 | >>>: avrdude -c stk500 -p m328p -P /dev/ttyUSB0 -U flash:w:"/home/...tloader/optiboot_atmega328.hex":a
|
2 | _SUCCESSUC: _READHFUSE
|
3 | _SUCCESSUC: _READLFUSE
|
4 | _SUCCESSUC: _READEFUSE
|
Wenn ich etwas flashen will
kommt
1 | avrdude: ser_open(): can't open device "/dev/ttyUSB0": Input/output error
|
2 |
|
3 | avrdude done. Thank you.
|
Nano:
1 | 16440] usb 1-9.3.1: new full-speed USB device number 31 using xhci_hcd
|
2 | [20232.276218] usb 1-9.3.1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
|
3 | [20232.276223] usb 1-9.3.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
|
4 | [20232.276225] usb 1-9.3.1: Product: USB2.0-Serial
|
5 | [20232.303255] ch341 1-9.3.1:1.0: ch341-uart converter detected
|
6 | [20232.331272] usb 1-9.3.1: ch341-uart converter now attached to ttyUSB1
|
7 | [20232.756301] usb 1-9.3.1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
|
8 | [20232.770483] ch341-uart ttyUSB1: ch341-uart converter now disconnected from ttyUSB1
|
9 | [20232.770506] ch341 1-9.3.1:1.0: device disconnected
|
10 | [20235.000932] usb 1-2.1: usbfs: USBDEVFS_CONTROL failed cmd brltty rqt 128 rq 6 len 255 ret -110
|
11 | [20235.089455] usb 1-2.4: usbfs: USBDEVFS_CONTROL failed cmd brltty rqt 128 rq 6 len 255 ret -4
|
MySmartUSB:
1 | 841268] usb 1-2.1: new full-speed USB device number 29 using xhci_hcd
|
2 | [20105.105079] usb 1-2.1: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 2.04
|
3 | [20105.105084] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
|
4 | [20105.105086] usb 1-2.1: Product: myAVR - mySmartUSB light
|
5 | [20105.105087] usb 1-2.1: Manufacturer: Silicon Labs
|
6 | [20105.105088] usb 1-2.1: SerialNumber: mySmartUSBlight-0001
|
7 | [20105.130129] cp210x 1-2.1:1.0: cp210x converter detected
|
8 | [20105.142179] usb 1-2.1: cp210x converter now attached to ttyUSB0
|
Warum kann der Programmer denn geöffnet werden?
avrdude: ser_open(): can't open device "/dev/ttyUSB0": No such file or
directory
Danke