Flashing er9x over ersky9x

Help with any software/desktop related issues. e.g. companion9x, eePe, etc
Post Reply
Rad
Posts: 173
Joined: Wed Apr 20, 2016 3:43 pm
Country: -

Flashing er9x over ersky9x

Post by Rad » Wed Dec 06, 2017 7:13 am

Hi everyone!

Long story short: I had a radio with a 9xtreme and I was using ersky on that radio. Now I have the 9xtreme board in other radio and I would like to flash the radio with er9x using a smartieparts programer (I think is the rev 2.4)

But for some reason it seems I can not do it. I am trying to flash it with eepe and the error I get is this:

Arrancando AVRDUDE
C:/Program Files (x86)/eePe/avrdude.exe -c usbasp -p m64 -U eeprom:r:C:/Users/rad_d/AppData/Local/Temp/eebackup.hex:i
=================================================================================

avrdude.exe: error: programm enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.


avrdude.exe done. Thank you.

What can I do? Is it possible to use the 9xtreme to flash the stock firmware in the radio, and then install 9x with the smartieparts programmer?

Thanks!

Rad
Posts: 173
Joined: Wed Apr 20, 2016 3:43 pm
Country: -

Re: Flashing er9x over ersky9x

Post by Rad » Wed Dec 06, 2017 7:23 am

Also I checked the connection and I cleaned the pads.

and in config:
Programmer: usbasp
mcu m64
port: Nothing.


Aaaaand I am using the same usb wire that I use for the other radio with the 9xtreme, and works.

User avatar
MikeB
9x Developer
Posts: 15527
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Flashing er9x over ersky9x

Post by MikeB » Wed Dec 06, 2017 9:46 am

There is no reason you shouldn't be able to flash er9x.
If the radio has been used with the 9Xtreme, then if you power it on now, it should display "9XTREME" in the middle of the display. Does this happen?

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Rad
Posts: 173
Joined: Wed Apr 20, 2016 3:43 pm
Country: -

Re: Flashing er9x over ersky9x

Post by Rad » Wed Dec 06, 2017 4:43 pm

MikeB wrote:
Wed Dec 06, 2017 9:46 am
There is no reason you shouldn't be able to flash er9x.
If the radio has been used with the 9Xtreme, then if you power it on now, it should display "9XTREME" in the middle of the display. Does this happen?

Mike.
Hi, It happened at the beginning, but not now...

Then I discovered the problem. Remember the post I opened about a non working taranis gimbal? Well, it seems I shorted the small gimbal PCB, so with the gimbal connected, the radio just does not power on. Im an sure thats what fried my 9xtreme....

I removed the gimbal and now indeed the radio says 9xtreme... Now lets see if I remember how to flash the plain er9x...
Last edited by Rad on Wed Dec 06, 2017 7:22 pm, edited 1 time in total.

Rad
Posts: 173
Joined: Wed Apr 20, 2016 3:43 pm
Country: -

Re: Flashing er9x over ersky9x

Post by Rad » Wed Dec 06, 2017 4:52 pm

The error I get now, is this:

=================================================================================
Arrancando AVRDUDE
C:/Program Files (x86)/eePe/avrdude.exe -c usbasp -p m64 -U eeprom:r:C:/Users/rad_d/AppData/Local/Temp/eebackup.hex:i
=================================================================================

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude.exe: Device signature = 0x1e9702
avrdude.exe: Expected signature for ATMEGA64 is 1E 96 02
Double check chip, or use -F to override this check.

avrdude.exe done. Thank you.


=================================================================================
AVRDUDE terminado - codigo de retorno de error 1
====================================




EDIT[/b] I put this in config:
Programmer usbasp
Mcu m128
Puerto nothing.

I tried to flash the last test version... And it works and rocks!!!

Now I only need to fix or replace the small PCB in the gimball.

Hope this thread helps somebody.
Last edited by Rad on Wed Dec 06, 2017 7:21 pm, edited 1 time in total.


User avatar
MikeB
9x Developer
Posts: 15527
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Flashing er9x over ersky9x

Post by MikeB » Wed Dec 06, 2017 5:05 pm

Did you flash er9x.hex or er9x-128.hex?
With a '128 processor you want er9x-128.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Rad
Posts: 173
Joined: Wed Apr 20, 2016 3:43 pm
Country: -

Re: Flashing er9x over ersky9x

Post by Rad » Wed Dec 06, 2017 5:12 pm

MikeB wrote:
Wed Dec 06, 2017 5:05 pm
Did you flash er9x.hex or er9x-128.hex?
With a '128 processor you want er9x-128.

Mike.
I flashed er9x, but after reading you I flashed the er9x 128.
Vers V1 784 Mike, 16.01.2017 Er9x pr822 Mod FRSKY 128.

Is this the latest version and that I should flash, right?

Rad
Posts: 173
Joined: Wed Apr 20, 2016 3:43 pm
Country: -

Re: Flashing er9x over ersky9x

Post by Rad » Wed Dec 06, 2017 7:27 pm

Ok, now I have everything working except the gimbals. When installing the taranis gimbals I tried to do it as nice and clean as possible, so I tried to desolder the wires and solder the gimbal ones straight to the board... Well, its pretty obvious that it went wrong in one of the gimbals. After soldering, resoldering, desoldering and resoldering again and repeating at least ten times, that part of the PCB is useless so I think the best thing I can do is to cut it away and solder the gimbal wires straight to the pads.

Finally I installed the taranis gimbals in a brand new radio but I took the easy way of just cutting and soldering the wires together... And now I am trying to rescue this other flysky from oblivion.

MikeB, in my taranis gimbals post you posted a diagram of the 9x, but for me it is almost imposible to follow it. Could you please guide me in this valley of shadows of death and tell me where should I solder every wire? I mean from the stock flysky gimbal to the small PCB, keeping in mind I fried where I was supposed to solder them.


IMG_20171206_201548.jpg
Thanks in advance!

User avatar
bob195558
Posts: 1832
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

Re: Flashing er9x over ersky9x (Wiring M9 Gimbals)

Post by bob195558 » Wed Dec 06, 2017 10:18 pm

Is this helpful ? (viewtopic.php?f=95&t=2974)
100_3696.JPG
100_3690.JPG
100_3637.JPG
Last edited by bob195558 on Fri Dec 08, 2017 2:59 pm, edited 1 time in total.
ErSky9x on Taranis, Sky9x, 9Xtreme, Er9x on 9x with Smartieparts Programmer with TelemetrEZ Board
(http://openrcforums.com/forum/viewtopic.php?f=95&t=7182).
CR10 3D Printer: (http://openrcforums.com/forum/viewtopic.php?f=85&t=10702)

Rad
Posts: 173
Joined: Wed Apr 20, 2016 3:43 pm
Country: -

Re: Flashing er9x over ersky9x

Post by Rad » Thu Dec 07, 2017 7:26 am

bob195558 wrote:
Wed Dec 06, 2017 10:18 pm
Is this helpful ? (viewtopic.php?f=95&t=2974)
Hi Bob, thanks for the help but it is not exactly what I need. Please see the picture attached.

100_3696.JPG

User avatar
MikeB
9x Developer
Posts: 15527
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Flashing er9x over ersky9x

Post by MikeB » Thu Dec 07, 2017 6:31 pm

I've marked where the tracks go:
100_3696.jpg
Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Rad
Posts: 173
Joined: Wed Apr 20, 2016 3:43 pm
Country: -

Re: Flashing er9x over ersky9x

Post by Rad » Thu Dec 07, 2017 7:55 pm

MikeB wrote:
Thu Dec 07, 2017 6:31 pm
I've marked where the tracks go:
100_3696.jpg

Mike.
That is exactly what I needed! Tomorrow I'll try to do it following your diagram. There is still hope for the radio! :)

THANKS with big letters.

User avatar
bob195558
Posts: 1832
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

Re: Flashing er9x over ersky9x (Wiring M9 Gimbals)

Post by bob195558 » Thu Dec 07, 2017 7:57 pm

So I think, correct me if I am wrong,
Purple: Signal connection for Horizontal Stick (Rudder or Aileron, Mode 2).
Yellow: Signal connection for Vertical Stick (Throttle or Elevator, Mode 2).
Blue: + 5 volts
Red: - Ground
9x Gimbal wire connections trim board.jpg
9x Gimbal Wiring Schematic.jpg
Last edited by bob195558 on Fri Dec 08, 2017 2:59 pm, edited 3 times in total.
ErSky9x on Taranis, Sky9x, 9Xtreme, Er9x on 9x with Smartieparts Programmer with TelemetrEZ Board
(http://openrcforums.com/forum/viewtopic.php?f=95&t=7182).
CR10 3D Printer: (http://openrcforums.com/forum/viewtopic.php?f=85&t=10702)

User avatar
jhsa
Posts: 17662
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Flashing er9x over ersky9x

Post by jhsa » Thu Dec 07, 2017 8:25 pm

This might also help.

João
Attachments
Turnigy 9X Service Manual.pdf
(179.45 KiB) Downloaded 21 times
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Rad
Posts: 173
Joined: Wed Apr 20, 2016 3:43 pm
Country: -

Re: Flashing er9x over ersky9x

Post by Rad » Fri Dec 08, 2017 10:56 am

Im startint to solder the wires to the PCB. I will update when I finish. Meanwhile I noticed the two pcb are different. How should I wire the other one?
100_3690.JPG

Rad
Posts: 173
Joined: Wed Apr 20, 2016 3:43 pm
Country: -

Re: Flashing er9x over ersky9x

Post by Rad » Fri Dec 08, 2017 11:16 am

First stick fixed! Works perfect! :D Im very happy, guys.

Now I only need some info regarding the other stick layout. I thought it was going to be the same.

User avatar
bob195558
Posts: 1832
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

Re: Flashing er9x over ersky9x (Wiring M9 Gimbals)

Post by bob195558 » Fri Dec 08, 2017 12:59 pm

I believe it is a mirror image and may use the same 9x wire colors (Black,Red,White),
But, better to use your multimeter to be sure.

I think it could be ?
9x Black wire may be the: + 5V
9x Red wire may be the: Ground
9x, one White wire goes to Vertical Elevator and the other White wire goes to the Horizontal Aileron.
100_3637.JPG
9x Gimbal wiring_L.jpg
9x Gimbal wiring_Le.jpg
Better to use your multimeter so to know what is what to be sure.


Bob B.
ErSky9x on Taranis, Sky9x, 9Xtreme, Er9x on 9x with Smartieparts Programmer with TelemetrEZ Board
(http://openrcforums.com/forum/viewtopic.php?f=95&t=7182).
CR10 3D Printer: (http://openrcforums.com/forum/viewtopic.php?f=85&t=10702)

Rad
Posts: 173
Joined: Wed Apr 20, 2016 3:43 pm
Country: -

Re: Flashing er9x over ersky9x

Post by Rad » Fri Dec 08, 2017 4:49 pm

Hey, I tried following your diagram, Bob, and it WORKS!

At the beginning I even did not trie because I saw no track from the connector to anywere, but yeah, the track was at the other side of the board, lol.

So thanks to you, guys, I managed to save one radio from destruction.

Change the title from litlte to BIG.
https://www.youtube.com/watch?v=Sr3XHHMtrHw
Last edited by Rad on Fri Dec 08, 2017 5:35 pm, edited 1 time in total.

User avatar
bob195558
Posts: 1832
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

Re: Flashing er9x over ersky9x

Post by bob195558 » Fri Dec 08, 2017 5:14 pm

Your welcome ! :)
ErSky9x on Taranis, Sky9x, 9Xtreme, Er9x on 9x with Smartieparts Programmer with TelemetrEZ Board
(http://openrcforums.com/forum/viewtopic.php?f=95&t=7182).
CR10 3D Printer: (http://openrcforums.com/forum/viewtopic.php?f=85&t=10702)

Post Reply

Return to “Software”