Page 1 of 1

Reloading models after firmware upgrade

Posted: Sat Feb 18, 2017 6:02 am
by sdavies
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

Re: Reloading models after firmware upgrade

Posted: Sat Feb 18, 2017 8:57 am
by jhsa
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

Re: Reloading models after firmware upgrade

Posted: Sat Feb 18, 2017 9:24 am
by MikeB
Upgrading the firmware should not require the models to be re-written to the EEPROM, they should still be there.
Have they disappeared?

Mike.

Re: Reloading models after firmware upgrade

Posted: Sat Feb 18, 2017 11:52 pm
by sdavies
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.)

Re: Reloading models after firmware upgrade

Posted: Sun Feb 19, 2017 10:23 am
by MikeB
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.

Re: Reloading models after firmware upgrade

Posted: Mon Feb 20, 2017 3:18 am
by sdavies
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

Re: Reloading models after firmware upgrade

Posted: Mon Feb 20, 2017 9:46 am
by MikeB
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.