Turnigy 9x: Unterschied zwischen den Versionen

Aus Technik-fan.de Wiki
Wechseln zu: Navigation, Suche
Zeile 40: Zeile 40:
 
Backup anlegen:
 
Backup anlegen:
  
  avrdude -c avrispmkII -p m64 -U flash:r:backupflash.bin:r -v -P usb
+
  '''avrdude -c avrispmkII -p m64 -U flash:r:backupflash.bin:r -v -P usb'''
  
 
  avrdude: AVR device initialized and ready to accept instructions
 
  avrdude: AVR device initialized and ready to accept instructions
Zeile 56: Zeile 56:
 
  avrdude: safemode: Fuses OK
 
  avrdude: safemode: Fuses OK
 
  avrdude done.  Thank you.
 
  avrdude done.  Thank you.
 +
 +
'''avrdude -c avrispmkII -p m64 -U eeprom:r:backupeeprom.bin:r -v -P usb'''
 +
 +
avrdude: AVR device initialized and ready to accept instructions
 +
Reading | ################################################## | 100% 0.03s
 +
avrdude: Device signature = 0x1e9602
 +
avrdude: safemode: lfuse reads as E
 +
avrdude: safemode: hfuse reads as 89
 +
avrdude: safemode: efuse reads as FF
 +
avrdude: reading eeprom memory:
 +
Reading | ################################################## | 100% 0.43s
 +
avrdude: writing output file "backupeeprom.bin"
 +
avrdude: safemode: lfuse reads as E
 +
avrdude: safemode: hfuse reads as 89
 +
avrdude: safemode: efuse reads as FF
 +
avrdude: safemode: Fuses OK
 +
avrdude done.  Thank you.
 +
 +
Flashen:
 +
 +
Datei: th9x.bin in Ordner "C:\Program Files\WinAVR-20100110\bin" kopieren...
 +
'''C:\Program Files\WinAVR-20100110\bin>avrdude -c avrispmkII -p m64 -U flash:w:th9x.bin:a -v -P usb'''

Version vom 15. Februar 2012, 20:32 Uhr

In diesem Artikel wird beschrieben wie eine alternative Firmware auf den Modellbau Sender Turnigy 9x aufgespielt werden kann.

avrdude: stk500v2_command(): command failed
avrdude: stk500v2_command(): unknown status 0xc9
avrdude: stk500v2_program_enable(): cannot get connection status
avrdude: initialization failed, rc=-1
        Double check connections and try again, or use -F to override
        this check.

Um den Fehler zu beseitigen:

  • Sender Ausschalten
  • Alle Kabel zum Programmer und PC verbinden
  • Alle Schalter auf "AUS"
  • Flachband Kabel der Rückseite des Senders (mit den Batterien) einstecken
  • Sender Einschalten
avrdude -c avrispmkII -p m64  -v -P usb
Reading | ################################################## | 100% 0.03s

avrdude: Device signature = 0x1e9602
avrdude: safemode: lfuse reads as E
avrdude: safemode: hfuse reads as 89
avrdude: safemode: efuse reads as FF

avrdude: safemode: lfuse reads as E
avrdude: safemode: hfuse reads as 89
avrdude: safemode: efuse reads as FF
avrdude: safemode: Fuses OK

avrdude done.  Thank you.

Backup anlegen:

avrdude -c avrispmkII -p m64 -U flash:r:backupflash.bin:r -v -P usb
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.03s
avrdude: Device signature = 0x1e9602
avrdude: safemode: lfuse reads as E
avrdude: safemode: hfuse reads as 89
avrdude: safemode: efuse reads as FF
avrdude: reading flash memory:
Reading | ################################################## | 100% 12.38s
avrdude: writing output file "backupflash.bin"
avrdude: safemode: lfuse reads as E
avrdude: safemode: hfuse reads as 89
avrdude: safemode: efuse reads as FF
avrdude: safemode: Fuses OK
avrdude done.  Thank you.
avrdude -c avrispmkII -p m64 -U eeprom:r:backupeeprom.bin:r -v -P usb
avrdude: AVR device initialized and ready to accept instructions 
Reading | ################################################## | 100% 0.03s
avrdude: Device signature = 0x1e9602
avrdude: safemode: lfuse reads as E
avrdude: safemode: hfuse reads as 89
avrdude: safemode: efuse reads as FF
avrdude: reading eeprom memory:
Reading | ################################################## | 100% 0.43s
avrdude: writing output file "backupeeprom.bin"
avrdude: safemode: lfuse reads as E
avrdude: safemode: hfuse reads as 89
avrdude: safemode: efuse reads as FF
avrdude: safemode: Fuses OK
avrdude done.  Thank you.

Flashen:

Datei: th9x.bin in Ordner "C:\Program Files\WinAVR-20100110\bin" kopieren...
C:\Program Files\WinAVR-20100110\bin>avrdude -c avrispmkII -p m64 -U flash:w:th9x.bin:a -v -P usb