Category Archives: Uncategorized

Upgrading Turnigy 9x with er9x firmware

A couple of weeks ago I ordered a Turnigy 9x RC radio transmitter. This is a cheap but capable transmitter sold by HobbyKing. I’m very impressed by the quality of the hardware and the thing have more buttons, switches and channels than I’ll ever use, but I’m not really satisfied with the firmware.

Luckily there are a lot of custom firmwares for this radio and from what I’ve read, the one named er9x is currently the preferred one. Guides on how this update is done can be found on many places (for example here), this is how I did it:

I used a USBasp AVR programmer, these can be bought off eBay for a couple of dollars. Since i generally prefer PIC processors, this was nothing I had so I ordered one. But I guess you could use any programmer supported by AVRDUDE.

When you have your programmer, there is a software called eepe that is a specially made AVRDUDE frontend for programming er9x firmware. I downloaded and installed that program.

Then you need to connect your programmer to the processor, this is the hardest part, but not really that hard. First unscrew the six screws on the back of the radio. Then disconnect the cable hold the two halves of the radio together.

Disconnect

Disconnect this cable

after that you need to locate the connection points where the programmer should be connected. These are all around the processor in the lower part of the radio. NOTE: I have the v2 version of this radio, the connection points differ on the older v1 of this radio!

Connection points

These are the six connection points that needs to be connected to the programmer. Note that I have the v2 version of this radio, these could differ on older versions.

To connect the USBasp programmer I made a custom cable like this

Programming cable

The programming cable made from a 10 pole flat cable and a 2×5 connector.

AVR connector

These are the different signals in the 2×5 AVR programming connector, with the connector in the same orientation as on the image above.

Note that the leads 3, 6, 8 & 10 are cut off and not used.

I soldered the cable to the connection points and followed the instructions for eepe. When I was done, I left the soldered cable inside the radio if I want to flash it again someday.

 

Some catching up to do

No posts for a couple of days since I’ve been busy with other things. As you may have noticed, to this point, I have only written about some old projects I’ve done in the past. There is some catching up to do but I will mix old projects with new stuff until all my old projects are well documented here (at least the interesting ones).

Here are a list of projects I will try to write all little about in the near future.

  • One more Depron RC aircraft. (SAAB J-35 Draken)
  • More about my quadrocopter
  • At least two electric bikes, one MTB and one Puch Maxi Moped conversion
  • Electronics for electric bikes, controller and motor modifications, BMU, DC/DC converter, LED-lights…
  • Mechanics for electric bikes, motor mount, battery box…
  • Maybe some pure programming projects for either Android, Windows or the web

Test post

This is a first test. Later on I will post about my DIY projects here.

Trying a little code:

?Download TestClass.cs
15
16
17
18
19
20
21
22
23
24
25
26
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
 
        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Hello World!");
        }
    }