Hallo
Der NIBO2 mit Graphic Display ist via UCOM-IR2-X an einem Linux Mint 17.3 PC verbunden. Die Inbetriebnahme des NIBO2 verleif wie in der Anleitung beschrieben problemlos. Alles funktioniert soweit. Linux erkennt den offenbar den Programmer an Port: /dev/ttyACM0. In Arduino Tools ist als Board: "nicai-systemsNIBO2 robot" und als Programmer "UCOM-IR2 / UCOM-IR2-X (stk500v2)" angegeben. Will ich nun ein Programm via den Programmer auf den NIBO2 laden (via Arduino) erscheint Fehlermeldung
stk500v2_command() commande failed / initialization failed, rc=-1
Via Terminal ergibt der folgende Command: ( -F flag wie in Fehlermeldung empfohlen!)
/home/kurt/Arduino/hardware/tools/avr/bin/avrdude -C/home/kurt/Arduino/hardware/tools/avr/etc/avrdude.conf -patmega128 -cstk500v2 -P/dev/ttyACM0 -F
bei ausgeschaltetem NIBO2:
avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature =
0xc827cb
avrdude: Expected signature for ATmega128 is 1E 97 02
avrdude done. Thank you.
bei eingeschaltetem NIBO2:
avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature =
0xc82736
avrdude: Expected signature for ATmega128 is 1E 97 02
avrdude done. Thank you.
wird der NIBO2 ausgeschalten und wieder eingeschalten, so kommt als device signature der code
avrdude: Device signature =
0xc81706 zurück.
Wobei, wie es scheint die device signature bei jedem neuen Command anders wird.
Konstant scheint nur der manufacturing Code "c8" zu bleiben!
Was kann hier das Problem sein? Komme nicht weiter - Bin auf Eure Hilfe angewiesen!
Herzlichen Dank.