Turnigy 9x
Aus Technik-fan.de Wiki
In diesem Artikel wird beschrieben wie eine alternative Firmware auf den Modellbau Sender Turnigy 9x aufgespielt werden kann.
- Kabel einlöten
- Programmer anstecken
- Treiber herunterladen: http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/libusb-win32-bin-1.2.6.0.zip/download
- Win AVR herunterladen: http://sourceforge.net/projects/winavr/files
- Programmieren:
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.