FlySky ER9X/eepe Parameter Transfer?

Programing help and example for all firmwares based on thus's th9 firmware.
Post Reply
Cburg
Posts: 16
Joined: Sat Dec 27, 2014 1:10 am
Country: -

FlySky ER9X/eepe Parameter Transfer?

Post by Cburg » Sat Dec 27, 2014 1:44 am

Dear Group,

I have installed the ER9X firmware, and want to transfer a complete set of parameters from one radio to another.

I found the "Read Memory from Tx" button, but when I hit it I get errors:

avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.

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.

What do I need to do?

Thanks!

Mike
;)

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

Re: FlySky ER9X/eepe Parameter Transfer?

Post by jhsa » Sat Dec 27, 2014 3:27 am

Well. For a start DO NOT USE THE -F OPTION. It can brick your radio. Now, what programmer do you have? The SCK error makes me think you have a usbasp programmer. Did it ever work? What radio are you trying to read? Did you ever read or flash this radio successfully?

João
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

ReSt
Posts: 1477
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: FlySky ER9X/eepe Parameter Transfer?

Post by ReSt » Sat Dec 27, 2014 11:58 am

You may safely ignore the "cannot set sck period." message.
And in addition, it says, that AVRdude correctly recognizes your programmer.

But obviously the programmer can't correctly talk to the processor.
So really carefully check the connections between programmer and processor.
You may upload some high resolution pictures from the connections between the programmer and the processor.
Some of the programmers may have a signal on one pin that normally is stated as ground

And, as Joao said, NEVER use the -F option of AVRDude.

Reinhard

User avatar
KAL
Posts: 551
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: FlySky ER9X/eepe Parameter Transfer?

Post by KAL » Sat Dec 27, 2014 12:17 pm

In addition to Reinhards post a little image:
image001.jpg
image001.jpg (71.51 KiB) Viewed 2778 times
Please make shure you don't use pins 4 or 6 of the USBASP for ground as other images show:
image003.jpg
image003.jpg (16.82 KiB) Viewed 2778 times
To be on the safe side use pin 8 or 10 for ground!

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )

Cburg
Posts: 16
Joined: Sat Dec 27, 2014 1:10 am
Country: -

Re: FlySky ER9X/eepe Parameter Transfer?

Post by Cburg » Sun Dec 28, 2014 6:49 am

Hi Group!
Thanks for the replys.
I have successfully flashed the firmware with this USB programmer: USBasp USBISP AVR 10 Pin USB Programmer 3.3V/5V 51 ATMEGA8 w/ Cable & adapter
The firmware and radio are working fine
It is wired as per above 6 Pin diagram.
Thanks guys!


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

Re: FlySky ER9X/eepe Parameter Transfer?

Post by MikeB » Sun Dec 28, 2014 12:34 pm

Did you flash using eepe, but still can't read back the model memory?

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

Cburg
Posts: 16
Joined: Sat Dec 27, 2014 1:10 am
Country: -

Re: FlySky ER9X/eepe Parameter Transfer?

Post by Cburg » Mon Dec 29, 2014 6:55 am

That is correct.
Thanks Mike!

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

Re: FlySky ER9X/eepe Parameter Transfer?

Post by MikeB » Mon Dec 29, 2014 10:01 am

If you used the USBASP to flash er9x, then it should work to read the EEPROM as it is making exactly the same connections.
At this point I can only suggest checking all wiring and connections are correct and nothing has become disconnected since flashing er9x.

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

Post Reply

Return to “er9x / gruvin9x / th9 based firmwares”