Turnigy 9x: Unterschied zwischen den Versionen

Aus Technik-fan.de Wiki
Wechseln zu: Navigation, Suche
 
(4 dazwischenliegende Versionen des gleichen Benutzers werden nicht angezeigt)
Zeile 20: Zeile 20:
 
* Alle Schalter auf "AUS"
 
* Alle Schalter auf "AUS"
 
* Flachband Kabel der Rückseite des Senders (mit den Batterien) einstecken
 
* Flachband Kabel der Rückseite des Senders (mit den Batterien) einstecken
 +
* Sender Einschalten
  
  avrdude -c avrispmkII -p m64  -v -P usb
+
  '''avrdude -c avrispmkII -p m64  -v -P usb'''
  
 
  Reading | ################################################## | 100% 0.03s
 
  Reading | ################################################## | 100% 0.03s
Zeile 36: Zeile 37:
 
   
 
   
 
  avrdude done.  Thank you.
 
  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'''
 +
 +
<source lang=text>
 +
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: 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 "th9x.bin"
 +
avrdude: input file th9x.bin auto detected as raw binary
 +
avrdude: writing flash (44956 bytes):
 +
 +
Writing | ################################################## | 100% 9.47s
 +
 +
avrdude: 44956 bytes of flash written
 +
avrdude: verifying flash memory against th9x.bin:
 +
avrdude: load data flash data from input file th9x.bin:
 +
avrdude: input file th9x.bin auto detected as raw binary
 +
avrdude: input file th9x.bin contains 44956 bytes
 +
avrdude: reading on-chip flash data:
 +
 +
Reading | ################################################## | 100% 8.71s
 +
 +
avrdude: verifying ...
 +
avrdude: 44956 bytes of flash verified
 +
 +
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.
 +
</source>

Aktuelle Version vom 15. Februar 2012, 20:33 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
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: 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 "th9x.bin"
avrdude: input file th9x.bin auto detected as raw binary
avrdude: writing flash (44956 bytes):
 
Writing | ################################################## | 100% 9.47s
 
avrdude: 44956 bytes of flash written
avrdude: verifying flash memory against th9x.bin:
avrdude: load data flash data from input file th9x.bin:
avrdude: input file th9x.bin auto detected as raw binary
avrdude: input file th9x.bin contains 44956 bytes
avrdude: reading on-chip flash data:
 
Reading | ################################################## | 100% 8.71s
 
avrdude: verifying ...
avrdude: 44956 bytes of flash verified
 
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.