Reloading models after firmware upgrade

How to use eePe
Post Reply
sdavies
Posts: 100
Joined: Wed Jan 21, 2015 6:46 am
Country: Australia
Location: Adelaide SA

Reloading models after firmware upgrade

Post by sdavies » Sat Feb 18, 2017 6:02 am

I have just upgraded my 9xr from er9x-128 v218 to v220 using eepe v422.
Before upgrading, I saved my 16 model definitions to file but since upgrading, I cannot work out how to reload the models.
When saving the models, I had a few issues with write errors (file not found/invalid format apparently due to issues reported elsewhere) but eventually managed to get a file that I can open with eepe and see all my models.
However, neither the read EEPROM from file nor open/load model/settings results in my models being restored.
Both wind up with a file browse that cannot see my data file.

I know that this question has come up many times before but none of the previous answers seem to help me.
What file extensions are the above options looking for? (I've tried all that I can think of.)
Is there a better way?

Cheers and thanks,
Stephen

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

Re: Reloading models after firmware upgrade

Post by jhsa » Sat Feb 18, 2017 8:57 am

First of all, do you have the 9XR radio or the 9XR-PRO?
I believe Ersky9x is at version 220 and is for the PRO.
Er9x for the normal 9XR is at much higher version. So what file did you download for your radio?

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

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

Re: Reloading models after firmware upgrade

Post by MikeB » Sat Feb 18, 2017 9:24 am

Upgrading the firmware should not require the models to be re-written to the EEPROM, they should still be there.
Have they disappeared?

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

sdavies
Posts: 100
Joined: Wed Jan 21, 2015 6:46 am
Country: Australia
Location: Adelaide SA

Re: Reloading models after firmware upgrade

Post by sdavies » Sat Feb 18, 2017 11:52 pm

Sorry. Yesterday was not my day for numbers.
The er9x-128 version is actually 820.
(My parallel upgrade of my Pro to v220 went without a hitch.)

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

Re: Reloading models after firmware upgrade

Post by MikeB » Sun Feb 19, 2017 10:23 am

You may need to change the fuse(s) in the processor, there is an option in the burn menu "Set fuses to protect EEPROM" for this. I'm guessing the fuse that erases the EEPROM along with the flash, is set.
Also, have a look in your PC "TEMP" directory. When you flash the firmware, eepe takes a backup of your EEPROM and puts it there (called eebackup.hex). You might copy this somewhere else and rename it to something better.

If you have your saved EEPROM open in eepe, you should be able to just use the menu option (in the burn menu) "Write Memory to Tx".

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


sdavies
Posts: 100
Joined: Wed Jan 21, 2015 6:46 am
Country: Australia
Location: Adelaide SA

Re: Reloading models after firmware upgrade

Post by sdavies » Mon Feb 20, 2017 3:18 am

Because I had repeated the flash step several times while trying to get the model load to work, the /tmp backup had been overwritten but I still had my own backup file.
I repeated the whole process from download to flash to model load and this time it worked.
I have no idea what I did differently this time.
After flashing the new download, I used File Open to open my backup file then Write memory to TX. No issues at all this time.

eepe tells me that the latest er9x version is 821 but the file I downloaded says 820.
v1.748-Mike
30/11/16 13:41:21
er9x-r820
FRSKY 128

Why FRSKY when I specifically downloaded the "standard" version for my 9XR.

Cheers and thanks,
Stephen

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

Re: Reloading models after firmware upgrade

Post by MikeB » Mon Feb 20, 2017 9:46 am

There is only one version for the '128 processor. There is a setting in the hardware menu to indicate if you have done the telemetry (Frsky) mod.
Don't forget to consider setting the fuses so the EEPROM doesn't get erased when you flash the firmware.

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

Post Reply

Return to “eePe”

Who is online

Users browsing this forum: No registered users and 2 guests