-
Hallo M.a.r.v.i.n
habe Eclipse doch nicht aufgegeben, sondern endlich mit Forumhilfe zum Laufen gebracht. Es lag im Prinzip an der Kommandozeile des AVR C++ Linkers an den 2 Strichen vor "-- cref". Ist ´ne echt tolle Oberfläche.
Nun habe ich aber zeitweise ein Problem beim flaschen was echt nervt.
Code:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.05s
avrdude: Device signature = 0x1e950f
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "Kucky_2.hex"
avrdude: input file Kucky_2.hex auto detected as Intel Hex
avrdude: writing flash (7272 bytes):
Writing | ################################################## | 100% 3.62s
avrdude: 7272 bytes of flash written
avrdude: verifying flash memory against Kucky_2.hex:
avrdude: load data flash data from input file Kucky_2.hex:
avrdude: input file Kucky_2.hex auto detected as Intel Hex
avrdude: input file Kucky_2.hex contains 7272 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 3.09s
avrdude: verifying ...
avrdude: 7272 bytes of flash verified
avrdude done. Thank you.
avrdude finished
Lt dieser Meldung ist doch alles OK, trotzdem wird nicht immer geflasht. Manchmal hilft nur ein Rechnerneustart, oder ein kurzzeitige lösen der COM-Verbindung.
Ich hatte mal irgendwo gelesen, das der Reset-Button am Arduino zu einem bestimmten Zeitpunkt gedrückt werden muss. Ist das so? Und wenn Ja, wann?
Kannst Du auch in diesem Falle helfen?
-
Sorry Marvin,
wer lesen kann ist klar im Vorteil. https://www.roboternetz.de/phpBB2/im...s/icon_sad.gif Du warst es selber mit dem Reset-Button. Hatte ich übesehen. Habe das Problem eben wohl gelöst. Ich hatte wohl vergessen, das Terminal zu schließen. Nichts für ungut.
Gruß Kucky
-
Hallo M.a.r.v.i.n
ich muss Dich nochmal behelligen. Mein Arduino läuft mittlerweile mit Eclipse. Habe viel dazu gelernt. Mein Projekt macht ebenfalls Fortschritte auf der C-Seite. Nun ist es aber so, dass der Arduino nicht mehr geflasht wird. Obwohl diese Meldung kommt:
Code:
Launching C:\WinAVR\bin\avrdude -pm328p -cstk500v1 -P//./COM4 -b57600 -F -Uflash:w:Kucky_2.hex:a
Output:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.05s
avrdude: Device signature = 0x1e950f
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "Kucky_2.hex"
avrdude: input file Kucky_2.hex auto detected as Intel Hex
avrdude: writing flash (7276 bytes):
Writing | ################################################## | 100% 3.63s
avrdude: 7276 bytes of flash written
avrdude: verifying flash memory against Kucky_2.hex:
avrdude: load data flash data from input file Kucky_2.hex:
avrdude: input file Kucky_2.hex auto detected as Intel Hex
avrdude: input file Kucky_2.hex contains 7276 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 3.08s
avrdude: verifying ...
avrdude: 7276 bytes of flash verified
avrdude done. Thank you.
avrdude finished
Nach einem Rechner-Neustart funktioniert es ca. 3mal, dann erscheint diese Meldung, aber das alte Programm ist noch aktiv. Ich kann das an einer Datumsanzeige im Programm sehen.
Die Meldung "not sync...." erscheint auch immer öfter, obwohl kein Terminal aktiv ist.
Weißt Du Rat?
Gruß Kucky
-
Nachdem ich nicht weiter kam, habe ich mir einen AVRISPMK2 gekauft. Nun kann ich meinen Arduino mit Eclipse flashen so oft ich will :-). Wenn ich aber den Programmer von der USB-Schnittstelle löse, tut sich nichts mehr. Das kann doch nicht richtig sein. Weiß jemand Rat?
Gruß Kucky