Arduino Nano laesst sich nicht flashen - avrdude: stk500_getsync() not in sync

Hallo,

kaum macht man mal etwas ein paar Monate nicht, geht alles Wissen den

formatting link
und einen zweiten identischen aktuell nichtmal das Blink-Example flashen:

|1 [16/6456]mh@drop:~ $ /usr/lib/arduino/hardware/tools/avr/bin/avrdude -v -v -v -C/usr/lib/arduino/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/ttyUSB5 -b57600 -D -Uflash:w:/tmp/arduino_build_892829/Blink.ino.hex:i | |avrdude: Version 6.3-20190619 | Copyright (c) 2000-2005 Brian Dean,

formatting link
| Copyright (c) 2007-2014 Joerg Wunsch | | System wide configuration file is "/usr/lib/arduino/hardware/tools/avr/etc/avrdude.conf" | User configuration file is "/home/mh/.avrduderc" | User configuration file does not exist or is not a regular file, skipping | | Using Port : /dev/ttyUSB5 | Using Programmer : arduino | Overriding Baud Rate : 57600 |avrdude: Send: 0 [30] [20] |avrdude: Send: 0 [30] [20] |avrdude: Send: 0 [30] [20] |avrdude: Recv: . [84] |avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x84 |avrdude: Send: 0 [30] [20] |avrdude: Recv: . [fc] |avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xfc |avrdude: Send: 0 [30] [20] |avrdude: Recv: . [94] |avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x94 |avrdude: Send: 0 [30] [20] |avrdude: Recv: D [44] |avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x44 |avrdude: Send: 0 [30] [20] |avrdude: Recv: . [04] |avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x04 |avrdude: Send: 0 [30] [20] |avrdude: Recv: . [fc] |avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xfc |avrdude: Send: 0 [30] [20] |avrdude: Recv: . [84] |avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x84 |avrdude: Send: 0 [30] [20] |avrdude: Recv: D [44] |avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x44 |avrdude: Send: 0 [30] [20] |avrdude: Recv: . [04] |avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x04 |avrdude: Send: 0 [30] [20] |avrdude: Recv: D [44] |avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x44 | |avrdude done. Thank you.

Systemumgebung. Debian unstable, arduino IDE 1.8.9, nach den Problemen updated auf 1.8.12. Die Fehlermeldung ist bei beiden IDEs dieselbe und tritt auch auf, wenn man die avrdude-Kommandozeile aus der IDE

Board: Arduino Nano Processor: Atmega 328P old Bootloader (Atmega328P geht auch nicht) Serial Port: /dev/ttyUSB5 (das ist das Device Node, das beim Einstecken des Arduino erscheint).

Wenn ich Tools -> Serial Monitor aufrufe und den Resetknopf des

- richtiger Port? (dito)

- Anderen Arduino probiert? Ja.

- Andres Kabel probiert? Ja.

Ich bin mir doch so halbwegs sicher dass das auf diesem System schonmal funktoniert hat.

Hat noch jemand eine Idee?

Marc

--
-------------------------------------- !! No courtesy copies, please !! ----- 
Marc Haber         |   " Questions are the         | Mailadresse im Header 
Mannheim, Germany  |     Beginning of Wisdom "     |  
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
Reply to
Marc Haber
Loading thread data ...

Am 14.02.2020 um 20:01 schrieb Marc Haber:

ano

  1. Vielleicht fehlt dem der richtige Bootloader?
  2. Irgendeine AV Software aktiv?

DoDi

Reply to
Hans-Peter Diettrich

Marc

--
-------------------------------------- !! No courtesy copies, please !! ----- 
Marc Haber         |   " Questions are the         | Mailadresse im Header 
Mannheim, Germany  |     Beginning of Wisdom "     |  
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
Reply to
Marc Haber

Ich kenne keinen Nano, dessen Bootloader bewirkt, dass eine ASCII-Tabelle ausgegeben wird.

Gregor

Reply to
Gregor Szaktilla

Auch auf einem zweiten Rechner mit Debian unstable gibt es dasselbe

erst installieren (gcc zu alt).

Marc

--
-------------------------------------- !! No courtesy copies, please !! ----- 
Marc Haber         |   " Questions are the         | Mailadresse im Header 
Mannheim, Germany  |     Beginning of Wisdom "     |  
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
Reply to
Marc Haber

Am 15.02.2020 um 08:05 schrieb Marc Haber:

in CH34x sein, mit dem hatte ich Treiber-Probleme unter Windows.

Ansonsten: im Arduino Forum fragen.

DoDi

Reply to
Hans-Peter Diettrich

Huch? Was geht da schief?

installiert. Meine Nanos brauchen "old bootloader" als Einstellung.

installiert. Nach Update auf die aktuelle 1.8.2 geht es aber immer noch.

cu Michael

Reply to
Michael Schwingen

Na, wenn das kein starker Hinweis auf einen falschen Bootloader ist.

Gregor

Reply to
Gregor Szaktilla

Unter Linux war der bei mir bisher unproblematisch (Windows *bei mir* auch, aber selten im Einsatz).

cu Michael

Reply to
Michael Schwingen

Dagegen spricht, dass es unter Windows mit denselben Einstellungen der Arduino IDE auf Anhieb funktioniert hat. Das ist in keinster Weise zufriedenstellend, aber immerhin tut's jetzt mal.

Marc

--
-------------------------------------- !! No courtesy copies, please !! ----- 
Marc Haber         |   " Questions are the         | Mailadresse im Header 
Mannheim, Germany  |     Beginning of Wisdom "     |  
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
Reply to
Marc Haber

Und Dein Bootloader gibt eine ASCII-Tabelle aus?!

Gregor

Reply to
Gregor Szaktilla

Ich vermute, dass das einfach der Standard-Sketch im Auslieferungszustand ist, der da programmiert ist wenn man das Ding so aus der Packung holt.

Marc

--
-------------------------------------- !! No courtesy copies, please !! ----- 
Marc Haber         |   " Questions are the         | Mailadresse im Header 
Mannheim, Germany  |     Beginning of Wisdom "     |  
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
Reply to
Marc Haber

Am 15.02.2020 um 17:43 schrieb Gregor Szaktilla:

schon eine Lieferung bei denen mehr als 50% keinen Bootloader hatten,

Arduino-IDE verwenden kann.

Bernd

Reply to
Bernd Laengerich

Meiner hat eine ASCII-Tabelle ausgegeben, und das war auch gut so, weil es die Fragen "richtiger serieller Port" und "serieller Port in Ordnung" beantwortet hat.

Marc

--
-------------------------------------- !! No courtesy copies, please !! ----- 
Marc Haber         |   " Questions are the         | Mailadresse im Header 
Mannheim, Germany  |     Beginning of Wisdom "     |  
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
Reply to
Marc Haber

Nunja, dann kauf doch ein Original und kopiere den Bootloader von dort. Ich bin sicher, dass der anders ist als der, mit dem Du zu tun hast.

Wie gesagt, ich kenne keinen Arduino, dessen Bootloader irgendetwas ausgibt.

Gregor

Reply to
Gregor Szaktilla

Am 16.02.2020 um 18:12 schrieb Gregor Szaktilla:

Bernd

Reply to
Bernd Laengerich

Wieso kopieren? der ist bei der IDE bei jeder Installation dabei: /opt/arduino-1.8.10/hardware/arduino/avr/bootloaders

Welchen man braucht, steht in /opt/arduino-1.8.10/hardware/arduino/avr/boards.txt.

bootloader"-Funktion.

ausser dem Bootloader *irgendein* Beispiel/Testprogramm 'drauf. Bei mir war das bisher immer nur LED-Blinken (bis auf die, wo nichtmal ein Bootloader drin war), aber ASCII-Tabelle ist ja nun eines der in der IDE eingebauten Beispielprogramme, also nicht wirklich exotisch.

cu Michael

Reply to
Michael Schwingen

Am 16.02.20 um 19:51 schrieb Bernd Laengerich:

Uh, stimmt ja. Das hatte ich ganz vergessen.

Gregor

Reply to
Gregor Szaktilla

Am 16.02.20 um 20:53 schrieb Michael Schwingen:

Marc behauptet das.

Bei Auslieferung eines Originals ist der Bootloader drauf und ein

Gregor

Reply to
Gregor Szaktilla

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.