Arduino Polska Forum

Pełna wersja: Klon Pro Micro - Expected signature for ATmega32U4 is 1E 95 87. Wrong microcontroller
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Cześć wszystkim.
Jestem totalnie zielony, więc to mój pierwszy kontakt z programowaniem układów elektronicznych,
chociaż nie obce mi programowanie obiektowe.  Smile

Ostatnio postanowiłem zbudować klawiaturę mechaniczną i wszyscy polecają do tego celu klony Pro Micro.
Kupiłem więc na testy o takie cudo
https://pl.aliexpress.com/item/329520280...5c0fWrzaKv

Sprzedawca twierdzi, że jest wgrany bootloader "Arduino Leonardo" i nawet zamieścił zrzuty ekranu co trzeba ustawić w środowisku programistycznym. Kłopot w tym, że nijak nie mogę wgrać nawet zwykłego hello world.

Board info:
Kod:
BN: Arduino Leonardo
VID: 2341
PID: 8036
SN: (null)


Do tej pory osiągnąłem 3 rezultaty (pod Linuxem, jeśli ma to jakieś znaczenie).
A) samo wgrywanie
Kod:
avrdude: Expected signature for ATmega32U4 is 1E 95 87
         Double check chip, or use -F to override this check.
Wrong microcontroller found.  Did you select the right board from the Tools > Board menu?


B) wgrywanie poprzedzone zwarciem GND i RST

Kod:
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = ""; type =
Software Version = .; Hardware Version = ? ?

avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
        Double check connections and try again, or use -F to override
        this check.


avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader
the selected serial port avrdude: butterfly_recv(): programmer is not responding
does not exist or your board is not connected

C) dwukrotne zwarcie GND i RST
Kod:
processing.app.debug.RunnerException
    at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:152)
    at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
    at processing.app.SketchController.upload(SketchController.java:732)
    at processing.app.SketchController.exportApplet(SketchController.java:703)
    at processing.app.Editor$UploadHandler.run(Editor.java:2055)
    at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port '/dev/ttyACM0'.
    at processing.app.Serial.touchForCDCReset(Serial.java:107)
    at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:136)
    ... 5 more
Caused by: jssc.SerialPortException: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port busy.
    at jssc.SerialPort.openPort(SerialPort.java:164)
    at processing.app.Serial.touchForCDCReset(Serial.java:101)
    ... 6 more

Nie wstrzeliłem się z tym wgrywaniem?

Z góry dziękuję za porady, pozdrawiam.

EDYCJA

Znalazłem rozwiązanie.
https://hackingmajenkoblog.wordpress.com...-in-linux/

W wielkim skrócie:
Kod:
sudo usermod -a -G dialout $USER
sudo usermod -a -G tty $USER (niekoniecznie)
sudo apt-get remove modemmanager