Flashing the Turnigy 9x TX

download Flashing the Turnigy 9x TX

of 29

Transcript of Flashing the Turnigy 9x TX

  • 8/12/2019 Flashing the Turnigy 9x TX

    1/29

    How to Flash Firmware in the Turnigy/FlySky/Eurgle/IMAX 9x Transmitter

    This guide is intended as a cookbook solution to flashing new or alternate firmware to the various

    labeled brands of the OEM FlySky 9x. One way to do it is resented! which works well. "lternativesare generally not shown to revent confusion. #f you follow these stes exactly! you should have good

    luck. #f you do something else! this guide will be of only general hel. Everything on the list is

    available from $S suliers! excet as noted. # don%t know about shiing to other countries.

    Disclaimer

    &hile # believe the instructions in this document are accurate! # make no guarantee that you will be

    successful! and won%t brick your 9x. "nything you do to your 9x based on this document is entirely at

    your own risk. The 9x and it%s rocessor are tough but not indestructible. 'ou%ve been warned((

    &")*#*+, #f you have never soldered before! and articularly if you have never soldered on a

    rinted circuit board before! now is not a good time to start(( -ave someone exerienced do the

    soldering on the mainboard of your 9x.

    e!uirements

    'ou will need the following,

    TurnigyFlySkyEurgle#M"/ 9x Transmitter

    &indows based comuter with &indows /0 or higher and one free $S1 ort

    "2) 0ocket 0rogrammer! available here, htts,www.sarkfun.comcommerceroduct3info.h4roducts3id59678

    *OTE, #%ve also been told that these rogrammers also work well. They have different driversavailable on their websites! and will re:uire different settings in 1$)*;O;M"T. # have *O exerience

    with them.

    "vailable for worldwide shiing from "ustralia,

    htt,www.rotostack.comindex.h4main3age5roduct3infoAeba>@b9f8d?9

    "vailable in Euroe,

    htt,sho.myavr.comindex.h4s5article.s.h

  • 8/12/2019 Flashing the Turnigy 9x TX

    2/29

    htt,www.radioshack.comsearchindex.Hs4kwIat#d5

  • 8/12/2019 Flashing the Turnigy 9x TX

    3/29

    Iarefully searate the case front from the back! noting the cable that connects the front and the back ofthe case. Iarefully remove the connector on the cable from the transmitter back to the main rinted

    circuit board 0I1G on the front half of the transmitter. Set the back of the case aside for now.

  • 8/12/2019 Flashing the Turnigy 9x TX

    4/29

    Take the color coded cableconnector combination you got from Cigiey. #f you look 2E)' closely!you will see that there is a small arrow on one side of the connector. #t S-O$NC be on the end that the

    1rown wire is on. Iut off all but about > to 8 inches BA to B7.8 cmG of cable attached to the

    connector. Scissors work well to cut the cable. Iarefully searate the wires in the cable from eachother! using your fingernails to searate them. Searate them back about 7 inches 8 cmG or so.

  • 8/12/2019 Flashing the Turnigy 9x TX

    5/29

  • 8/12/2019 Flashing the Turnigy 9x TX

    6/29

    Iarefully stri the insulation no more than BB? BmmG from the end of each of the remaining wires!

    and tin the ends with solder.

    Nook at the ictures below! and note where each of the colored wires will be soldered to the main 0I1.

    *ote that # colored in the black wire to show the correct color code.

    1lack

    )ed

    &hite

  • 8/12/2019 Flashing the Turnigy 9x TX

    7/29

    0urle

    1lack

    )ed

    )ed

    1lack

  • 8/12/2019 Flashing the Turnigy 9x TX

    8/29

    *ote, There are two versions of the main 0I1 in the 9x. The later ones have a ad where the 0urle

    wire will be connected. The early ones do not. #f you have an early style board! you can still do themod! you Hust have to be very careful with your soldering! as you will be soldering to the end of the

    0urle

    +reen

    &hite

    1rown

    0urle

    0urle

    0urle

    1rown

    &hite

  • 8/12/2019 Flashing the Turnigy 9x TX

    9/29

    surface mount resistor shown. The early style is shown in the icture below. *ote the blue circle. One

    the old style! you cannot use that ad. The IO))EIT ad is connected to the @thresistor from the left

    on the late style boards,

    Iarefully tin each of the round ads where the wires will attach to the 0I1. Kust a small amount of

    solder is necessary! but it hels to :uickly solder the leads to the 0I1. #f you have an early board! you

    don%t need to tin the connection at the resistor. Puickly solder each of the color coded wires to theindicated sot on the 0I1. #f you have an early 9x! Hust touch the very ti of the soldering iron to the

    end of the resistor and the 0urle colored wire simultaneously! and remove the iron :uickly.

    Couble check that you have soldered each wire to the correct location on the 0I1. There are extraround ads that we don%t use! so it is easy to make a mistake.

    +ather the individual wires together in a bundle! and hot glue them to the to of the main rocessor.This acts as a strain relief on the solder Hoints.

    0urle*ote attachment to end of resistor

    &rong ad on early style(((

  • 8/12/2019 Flashing the Turnigy 9x TX

    10/29

    *ote the osition of the connector in the transmitter case on the ictures below.

  • 8/12/2019 Flashing the Turnigy 9x TX

    11/29

    *ote hilighted arrow. Should be on the

    end that 1rown wire is on.

  • 8/12/2019 Flashing the Turnigy 9x TX

    12/29

    Measure the sie of the oening of the BA in cable connector from the rogrammer and add about

    BB? BmmG to the dimensions all around. Crill and file a hole in the bottom of the case to allow thecable from the rogrammer to ass thru the hole. *ote that the side of the connector on the cable from

    the rogrammer that the cable comes out of will re:uire extra clearance. Crill two holes to

    accommodate two long 7;8? screws! and mount the cable connector to the bottom of the transmittercase with the 7;8? bolts and nuts. Ensure that the cable from the rogrammer can still be inserted.

    'ou can unlug the soldering iron and hot glue gun as you are done with them.

  • 8/12/2019 Flashing the Turnigy 9x TX

    13/29

    Take the back of the transmitter case and lug the cable connector from it back into the main 0I1. Fit

    the two halves of the case together! and while holding them! turn on the transmitter and make sure

    everything works normally. #f they don%t! recheck your solder Hoints for shorts and bridges.

    So#tware Installation

    The driver for the "2) 0ocket 0rogrammer does not have an installer! so it will need to be installed

    manually. $ni the driver ackage! making sure everything in it is in a single folder. #nstallationvaries a bit for the various flavors of &indows. Some of the alternate rogrammers have installation

    rograms. Follow their instructions instead.

    On &indows @ and 2isa! lug in the the rogrammer with the $S1 cable to the comuter.

    &indows should say that it is installing the driver firmware. "fter it churns for awhile! it should come

    u and say that the driver was not successfully installed.

    "t this oint! go to StartIontrol 0anel! and oen u QCevice Manager.

    "bout halfway down the list you should see a Q4 and $nknown $S1 device.

  • 8/12/2019 Flashing the Turnigy 9x TX

    14/29

    )ight click on it! and select Q$date Criver Software... 'ou will get the &indow below,

    "t the resulting window! browse for the folder that you unied! and select ok.

  • 8/12/2019 Flashing the Turnigy 9x TX

    15/29

    Ilick *ext! and &indows should start installing the driver software. 'ou may get the followingwarning,

  • 8/12/2019 Flashing the Turnigy 9x TX

    16/29

    Select as shown above. &hen it is done! close the resulting window! and the Cevice Manager window.

    This concludes driver installation.

    On /0! when you lug in the rogrammer! it will give you the otion of installing the drivers.

    1rowse to the unied folder! and allow it to install.

    *ext! install &in"2). #t is a huge rogram! over 7AAmb installed! we don%t use most of it! but itcontains "2)dude! which is the main rogram we do use! and this is the only way to get it. Kust doubleclick the installer! and allow it to install! using the default buttons along the way. 'ou might get a

    minor error message! but don%t worry! it will kee installing and finish.

  • 8/12/2019 Flashing the Turnigy 9x TX

    17/29

  • 8/12/2019 Flashing the Turnigy 9x TX

    18/29

    $nfortunately! "2)dude is a command line rogram! and unless you are familiar with using the

    command romt! it is a ain to use. -ere%s where "2) 1urn;O;M"T comes in. #t rovides a +$#interface to "2)dude. #t also has an install rogram. Couble click on the install rogram! accet the

  • 8/12/2019 Flashing the Turnigy 9x TX

    19/29

    defaults! being sure to accet the license agreement. # also recommend checking the box to allow it to

    install a deskto icon.

  • 8/12/2019 Flashing the Turnigy 9x TX

    20/29

  • 8/12/2019 Flashing the Turnigy 9x TX

    21/29

  • 8/12/2019 Flashing the Turnigy 9x TX

    22/29

  • 8/12/2019 Flashing the Turnigy 9x TX

    23/29

    #n the same dialog box! look at the dro down box for 0rogrammer! and select Qusbtiny. #f there is

    nothing in the dro down box! select O at the bottom! then close 1urn;O;M"T and reoen it. Select

    SettingsR"2)C$CE again. *ow usbtiny should be in the dro down box for 0rogrammer. Select it.Then select $S1 in the 0ort dro down box. Neave all other boxes on the age unchecked! and select

    ok at the bottom. *OTE, #f you are using a different rogrammer! use the name from the dro down

    box that matches your rogrammer.G

    On the main screen of 1$)*;O;M"T! select "tmega?> from the drodown "2) tye box. Select raw

    in both dro down boxes! next to FN"S- and EE0)OM.

    $acking u% Flash an" EE&'M

    Since the first thing we are going to do is backu the FN"S- and EE0)OM in your 9x! we need to

    secify file locations for the files we are going to download. # suggest I,$sersusernameRCesktoflash.bin and I,$sersuser nameRCesktoeerom.bin for the flash and eerom

    files! resectively.

  • 8/12/2019 Flashing the Turnigy 9x TX

    24/29

    &e are almost there( *ow! lug the rogrammer cable into the transmitter noting the key of theconnector. Con%t force it in the wrong way. Nook at the 0ocket 0rogrammer. On the end next to the

    cable connection to the 9x! there is a very small switch which allows the comuter to ower the 9x thru

    the rogrammer. Make sure the switch is set to the Q0ower Target side.

    *ow lug the usb cable from the rogrammer into the comuter. #f everything is connected correctly!

  • 8/12/2019 Flashing the Turnigy 9x TX

    25/29

    the main screen of the transmitter should ower u. Make sure to clear any Switch Error screens by

    fliing the switches to the uback osition. #f it doesn%t ower u! disconnect everything! and double

    check the connections inside the 9x. 0lug Hust the rogrammer into the comuter! and make sure the

    leds on it light u. There should be two blue ones and one red one lit. #f everything looks correct! lugeverything u again.

    "ssuming you get the main screen on the 9x! hit the )ead button under FN"S- on 1urn;O;M"T. Thiswill read your current firmware from the 9x and save it to your comuter. More leds will light u on

    the rogrammer. 'ou should see the status in the ane on the lower art of the 1$)*;O;M"T window.

    "fter about =A seconds or so! it should show comlete. -ow hit the 2erify 1utton under FN"S-. Thiswill check the file you Hust saved to the firmware on the 9x and make sure they are identical.

    *ow do the same thing for the EE0)OM ortion of 1$)*;O;M"T. That will save and verify theEE0)OM which contains all of your models settings and other saved information.

    #f all of that went well! you have now backed u everything on your 9x! and are ready to flash newfirmware.

    Flashing (ew Firmware

    Since you are here! you must be wanting to flash different firmware to your 9x. The latest er9x

    firmware is here,

    htt,code.google.comer9x

    http://code.google.com/p/er9x/http://code.google.com/p/er9x/
  • 8/12/2019 Flashing the Turnigy 9x TX

    26/29

    The latest Thus firmware is here,

    htt,code.google.comth9x

    "nd Turnigy 27 firmware can be found in this thread,

    htt,www.rcgrous.comforumsshowthread.h4t5BA=88@8

    &ith the Turnigy firmware! you also need an eerom file! and flash it too. #t can usually be found withthe 27 firmware. 'ou can 0)O1"1N' use your backed u eerom file! but either check any saved

    settings carefully after flashing! or reset the entire eerom to defaults after flashing it. 'ou do this by

    ressing and holding the E/#T button on the 9x as you turn it on. #t will emit a continuous bee. "fterBA or B8 seconds! the bee will sto! and you will be given the default screen on your 9x.

    &ith either the er9x or the th9x firmware! you do not need to flash the eerom if this is your first time

    flashing either firmware. The firmware will reset the eerom once you have flashed the firmware.

    Ok. Fire u 1$)*;O;M"T. To flash the firmware! navigate to your new firmware on your comuter

    by hitting the File button under Flash.

    Find it! and click Oen. *ote that 1$)*;O;M"T assumes you are looking for a .hex file! so hit the

    drodown box! and select "ny File.

    http://code.google.com/p/th9x/http://www.rcgroups.com/forums/showthread.php?t=1035575http://code.google.com/p/th9x/http://www.rcgroups.com/forums/showthread.php?t=1035575
  • 8/12/2019 Flashing the Turnigy 9x TX

    27/29

    The er9x and the th9x firmwares are always rovided in a .bin format. The Turnigy firmware can be

    found in either .bin or .hex format. Once you have selected your firmware! make sure the dro downbox under Flash says raw for a .bin file! or #ntel -ex for a .hex file. &hen you are sure 1$)*;O;M"T

    is ointed to the correct file! ress the &rite button.

    'ou should see the status in the lower ane.

  • 8/12/2019 Flashing the Turnigy 9x TX

    28/29

    #t will automatically verify what you wrote! so you don%t need to do a searate verify after writing. #feverything went well! you will get an error screen on your 9x about the eerom. For the er9x and th9x

    firmware! ress any key! and the eerom will be formatted. For the Turnigy 27 firmware! you will

    need to load an eerom file. Kust follow the instructions above for flashing the firmware! only use theEE0)OM area of 1$)*;O;M"T and be sure to select the right file.

    A#ter Flashing )our Firmware

    "fter flashing your new firmware and eerom! if alicableG! you will need to calibrate the sticks onyour 9x for centers and endoints. 'ou calibrate the sticks in the er9x and th9x firmware by following

    the instructions in the th9x manual! here,

    htt,th9x.googlecode.comsvntrunkdocth9x;en.df

    The instructions to calibrate the Turnigy firmware are below. They are a direct lift from my ost on )I

    +rous here! based on instructions on a +erman site,

    htt,www.rcgrous.comforumsshowost.h45B8=76=>BB8

    0ush the right lower trim tab to the left aileron on a mode 7 T/G! and the left side trim tab u Throttletrim on a mode 7 txG! and while holding them! turn the Tx on. 'ou will get a screen that shows theversion number of the firmware! with four eroes AAAAG at the to of the screen. Ienter both sticks in

    their range in all axis! and ress the menu button until it bees and release. The screen number will

    change to AAAB Move the right stick to the uer right corner! and ress menu! and you should get abee! and the number on the screen will change to AAA7. 0ut the right stick in the lower left corner! and

    ress menu! and get a bee! and the number will change to AAA=. )elease the right stick! and ut the left

    stick in the uer right corner! and ress menu! get the bee! and the number will change to AAA>. 0utthe left stick in the lower left corner! and ress menu again! get the bee and the number will change to

    http://th9x.googlecode.com/svn/trunk/doc/th9x-en.pdfhttp://www.rcgroups.com/forums/showpost.php?p=15328341&postcount=2415http://th9x.googlecode.com/svn/trunk/doc/th9x-en.pdfhttp://www.rcgroups.com/forums/showpost.php?p=15328341&postcount=2415
  • 8/12/2019 Flashing the Turnigy 9x TX

    29/29

    AAA8. Ienter both sticks! and ress menu! get the bee. 'ou are done calibrating the sticks.

    &hile at the same screen! ress the U key! the screen will change! and you will get the osition of the

    controls in hex code. 'ou can see the numbers change as you move the sticks or knobs. 0ress ; to goback to the firmware version screen. Exit the firmware screen! and go to the Cislay menu item. "s

    long as you haven%t turned the T/ off! you will see the hex codes for stick ositions for the > rimary

    controls. Once you turn the tx off and back on! and go back to the Cislay menu item! the numbers willdisaear.

    That%s it.

    *onclusion

    That%s all folks( #f you have :uestions about this or other firmware :uestions! visit the thread on )I

    +rous! here,

    htt,www.rcgrous.comforumsshowthread.h4t5B7??B?7