Hallo kann mir hierjemand helfen? Im Arduino ist eine ATmega328. 1. Frage Mit AVR Studio 5 kann ich ein C Programm für diesen Prozessor schreiben. Nicht jedoch "flashen". Hatt jemand mit AVR Studio schon eine ATmega328 programmiert und wie? 2. Frage Wie ist im Arduion der AVRDUDE - Aufruf in der DOS Umgebung? Danke
Danke für die Antwort. Habe 57600,8, N mit mode eingestellt und erhalte bei einem Chip m168 die Meldung "not in sync". Was kann ich da machen. Ist für avrdude unbedingt eine Konfigurationsdatei notwendig?
>> Im Arduino ist eine ATmega328. > und erhalte bei einem Chip m168 die Meldung "not in sync". Warum versuchst du einen m168 zu flashen? "not in sync" kann 1000 Ursachen haben: http://www.ladyada.net/learn/arduino/help.html avrdude: stk500_getsync(): not in sync: resp=0x00 If you get the following error message "avrdude: stk500_getsync(): not in sync: resp=0x00" that means that the Arduino is not responding. There are literally dozens of reasons this could be. Check the following: * If you have a NG Arduino, did you press reset just before selecting Upload menu item? * Is the correct Serial Port selected? * Is the correct driver installed? * Is the chip inserted into the Arduino properly? (If you built your own arduino or have burned the bootloader on yourself) * Does the chip have the correct bootloader on it? (If you built your own arduino or have burned the bootloader on yourself) Note that it is nearly impossible for anyone to debug this, as there are so many possible issues. Try everything.
max02 schrieb: > Hallo > kann mir hierjemand helfen? > > Im Arduino ist eine ATmega328. > 1. Frage > Mit AVR Studio 5 kann ich ein C Programm für diesen Prozessor > schreiben. Nicht jedoch "flashen". Kann AVR Studio 5 meines Wissens nicht, also den '328, den Arduino sowieso nicht. Überhaupt ist ein Arduino nicht einfach ein '328, der Arduino hat einen Bootloader. Wenn man den zerschiesst ist u.U. Ende Gelände. Einfach erstmal die Arduino-Software benutzen. > Hatt jemand mit AVR Studio schon eine ATmega328 programmiert und wie? Kann AVRS 5 wie gesagt nicht. Vielleicht später mal, mit einem Update. > 2. Frage > Wie ist im Arduion der AVRDUDE - Aufruf in der DOS Umgebung? Neuere Avrdudes kennen Arduino ("avrdude -c ?" listet die bekannten Programmer), keine Ahnung wie der genaue Aufruf sein muss. Die Option "-c arduino" müsste vorkommen. Doku lesen. Überleg Dir nochmal was Du da tun willst, ein Arduino ist mehr als ein '328, Du riskierst das Ding zu zerschiessen. Mach wenigstens ein Backup der Original-Software.
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.
