ERSKY9X Coding

erskyTx runs on many radios and upgrade boards
ersky9x was a port of er9x for use on the sky9x board.
User avatar
MikeB
9x Developer
Posts: 16609
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ERSKY9X Coding

Post by MikeB » Wed Jul 10, 2019 10:21 pm

There are three files built for Atmel based boards:
ersky9xs_rom.bin - Specifically for the SKY board with the 256K processor (ATSAM3S4).
ersky9xr_rom.bin - Specifically for the 9XR-PRO.
ersky9x_rom.bin - For the AR9X board (with either '3S8 or '4S8 CPU) and the SKY board if the processor is upgraded to either a '3S8 or '4S8.

The '3S8 and '4S8 processors have 512K of flash.

There is a setting for the AR9X board in the hardware menu, with a level of auto detection, although this might be wrong if you have a '3S8 processor on the SKY board (I don't think anyone has done this update). My SKY board radio is standard, I have a '4S8 on an AR9X board.

These builds will not change, just the ersky9xs_rom,bin may stop being updated much.

However, I've done an experiment today and I can build for the SKY board with the bootloader limited to using 28K instead of 32K, and the main application therefore loading 4K lower in flash, giving 4K more flash available to it. To use this will need the bootloader to be updated on the radio first, then the updated application may be flashed. I may be able to move the application down another 1K as the bootloader does fit in 27K.

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


User avatar
RCHH
Posts: 465
Joined: Sun Jun 24, 2012 2:48 pm
Country: -
Location: Plymouth

Re: ERSKY9X Coding

Post by RCHH » Wed Jul 10, 2019 11:04 pm

Crackin. Thanks Mike.
The simpleton asked "Hows about ErSky9X for Horus???". And the Genius from Dorset replied "Why not indeed? I shall get right onto it!" And then there was light on Horus! And it was good!

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

Re: ERSKY9X Coding

Post by jhsa » Wed Jul 10, 2019 11:08 pm

Mike, what are limitations because of this bootloader change?

Thanks

João

Sent from my BLN-L21 using Tapatalk

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
Kilrah
Posts: 10271
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: ERSKY9X Coding

Post by Kilrah » Thu Jul 11, 2019 7:22 am

Only the difficulty/impossibility to add more functionality to the bootloader in the future

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

Re: ERSKY9X Coding

Post by MikeB » Thu Jul 11, 2019 8:16 am

With the ability to run "apps" this may not be a huge problem.
It is also why I looked at using up only 4K of the spare bootloader space, leaving around 1.5K for possible bootloader upgrades.

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


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

Re: ERSKY9X Coding

Post by jhsa » Thu Jul 11, 2019 11:13 am

So, no real limitations as far as I understand.. :)

Thanks

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: 16609
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ERSKY9X Coding

Post by MikeB » Wed Oct 16, 2019 10:23 pm

I've just posted a new test version. This includes support for MULTI_TELEMETRY.
I've also included versions for the X9Lite and the T16.
Support is also included for the multi module operating as a receiver for trainer purposes.

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

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

Re: ERSKY9X Coding

Post by jhsa » Wed Oct 16, 2019 11:40 pm

Thanks Mike

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

antlerhanger
Posts: 163
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: ERSKY9X Coding

Post by antlerhanger » Thu Oct 17, 2019 12:57 am

I am using the latest test version on my 9x pro's and x9d plus ..I can update bootloader on the pros but I have never been able to update bootloaders on my taranis with any version.. It just says no files .. The pro's have a maintenance mode if you go into general settings the Tarranis does not. I start the Taranis with trim buttons outward and it says update bootloader , but no files .. If I start up with trims in there is no run apps option.. So how do I update the bootloader on the Taranis ?

Thanks
Allen

With the bootloader it has ver 2.? I can update fw without a problem either thru the radio or with eepsky

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

Re: ERSKY9X Coding

Post by jhsa » Thu Oct 17, 2019 1:09 am

Create a folder on your radio's SD Card called "firmware", then place the correct firmware file inside that folder.
Now you should see it when you start the radio with the horizontal trims pressed inwards.

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

antlerhanger
Posts: 163
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: ERSKY9X Coding

Post by antlerhanger » Thu Oct 17, 2019 1:13 am

I've have done that.. I can update the fw but the bootloader doesnt show up to update it

Thanks
Allen

antlerhanger
Posts: 163
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: ERSKY9X Coding

Post by antlerhanger » Thu Oct 17, 2019 1:35 am

My Tarianis bootloader version is 2.16 ..I have the x9dp file on my sd card in the firmware ..It updates the firmware no problem just can't update the bootloader ..it says no files

Thanks
Allen

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

Re: ERSKY9X Coding

Post by jhsa » Thu Oct 17, 2019 1:35 am

Turn the radio ON while holding the horizontal trims away from each other, select upload bootloader, select the firmware file you have on the SD Card, and update the bootloader from it.

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
jhsa
Posts: 19021
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa » Thu Oct 17, 2019 1:36 am

Hmm, if the file doesn't show up, I don't know then :(

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

antlerhanger
Posts: 163
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: ERSKY9X Coding

Post by antlerhanger » Thu Oct 17, 2019 1:55 am

It shows up and updates on my pro's just not either one of the Taranis

Thanks
Allen

antlerhanger
Posts: 163
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: ERSKY9X Coding

Post by antlerhanger » Thu Oct 17, 2019 2:12 am

Thanks for your help João ..It's probably ok ..Maybe Mike will know ..I'm sure I am missing something..
Just can't figure out why there is no file and there is no way to run an app .

Thanks again
Allen

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

Re: ERSKY9X Coding

Post by jhsa » Thu Oct 17, 2019 8:14 am

And do you have the apps installed on the SD Card in a folder with the proper name?

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

budavaril
Posts: 53
Joined: Wed Feb 17, 2016 9:34 am
Country: United Kingdom
Location: London

Re: ERSKY9X Coding

Post by budavaril » Thu Oct 17, 2019 10:42 am

jhsa wrote:
Thu Oct 17, 2019 8:14 am
And do you have the apps installed on the SD Card in a folder with the proper name?

João
Is there any difference between file structure or how the folders should be named on 9XR Pro and on the Taranis?
So actually can using same SD card just remove from 9XR Pro and insert to the Taranis and vica versa?

antlerhanger
Posts: 163
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: ERSKY9X Coding

Post by antlerhanger » Thu Oct 17, 2019 12:30 pm

As far as as apps and file structure yes the are the same .. When I bought the first Taranis , João and Mike helped me to get the files I needed .Actually They also straightened out my pro's too . I have not tried switching to a 9xr pro card ..I will try that ...I have the x9dp bin file in the firmware folder and can update fw from the radio or eepsky .. There is no option on the Taranis to run apps anywhere and in general settings there is no maintenance mode to choose from ( like the pro's have ). But I can get to bootloader update by holding trims apart ...Just no files

Thanks for your help
Allen

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

Re: ERSKY9X Coding

Post by jhsa » Thu Oct 17, 2019 12:36 pm

You run apps from bootloader mode
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

antlerhanger
Posts: 163
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: ERSKY9X Coding

Post by antlerhanger » Thu Oct 17, 2019 1:15 pm

I Took a sd card from a pro and put it in the Taranis and was able to update the bootloader . So I am missing something on the Taranis card .

Thanks again
Allen

antlerhanger
Posts: 163
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: ERSKY9X Coding

Post by antlerhanger » Thu Oct 17, 2019 3:06 pm

When I moved both Taranis to erskyTx I did it thru eepskye ..I must of not got everything copied to the sd card ..I formatted both cards and copied a card from the pro ..Then I was able to update the bootloader and fw from the card . I did copy the newest test version and it updated , All the models copied just fine . Bootloader is ver. 3.0 now

Thanks again for your help
Allen

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

Re: ERSKY9X Coding

Post by MikeB » Thu Oct 17, 2019 3:45 pm

budavaril wrote:
Thu Oct 17, 2019 10:42 am
Is there any difference between file structure or how the folders should be named on 9XR Pro and on the Taranis?
So actually can using same SD card just remove from 9XR Pro and insert to the Taranis and vica versa?
No difference, I try to keep everything a similar as possible.

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

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

Re: ERSKY9X Coding

Post by MikeB » Thu Oct 17, 2019 3:51 pm

antlerhanger wrote:
Thu Oct 17, 2019 12:30 pm
As far as as apps and file structure yes the are the same .. When I bought the first Taranis , João and Mike helped me to get the files I needed .Actually They also straightened out my pro's too . I have not tried switching to a 9xr pro card ..I will try that ...I have the x9dp bin file in the firmware folder and can update fw from the radio or eepsky .. There is no option on the Taranis to run apps anywhere and in general settings there is no maintenance mode to choose from ( like the pro's have ). But I can get to bootloader update by holding trims apart ...Just no files

Thanks for your help
Allen
Make certain you have the files in a "firmware" folder, not a "firmwares" folder.
I've only added the option in general settings to get to maintenance mode on Atmel processor based radios (so far). To run maintenance mode actually needs a reboot. I write a special value to a processor location that doesn't get modified by a reset, then this is check on a reset and runs maintenance mode if requested. I need to locate a similar processor location on the STM processors to be able to add the feature to them.

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

antlerhanger
Posts: 163
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: ERSKY9X Coding

Post by antlerhanger » Thu Oct 17, 2019 4:26 pm

Thanks Mike .. After I reformatted the Taranis card and copied the pro cards onto them it works . I updated them with the latest test version and all works .. I now can see the files in the bootloader screen and updated to bootloader 3.0...

Thanks again
Allen

User avatar
Galand
Posts: 35
Joined: Tue Dec 27, 2011 8:19 pm
Country: -
Location: Long Island, NY USA

Re: ERSKY9X Coding

Post by Galand » Sat Oct 19, 2019 8:10 pm

MikeB wrote:
Wed Oct 16, 2019 10:23 pm
I've just posted a new test version. This includes support for MULTI_TELEMETRY.
I've also included versions for the X9Lite and the T16.
Support is also included for the multi module operating as a receiver for trainer purposes.

Mike
Hi Mike,
I have now OpenTx on my T16.
I would rather like to use ErskyTx.
I found the:
erskyTx bootloader and flash multi app for T16
What do I do next?

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

Re: ERSKY9X Coding

Post by MikeB » Sat Oct 19, 2019 9:58 pm

Download "ersky9xProvR222d5.zip" from the test version thread and extract "t16_rom.bin".
If you don't have eepskye installed, please install that.
First off, try starting the T16 in bootloader mode (trims held inwards), run eepskye and try the "Flash firmware to Tx" button, select the t16_rom.bin file and see if it gets written. I believe the openTx bootloader should work with eepskye.
If that doesn't work try flashing the file using companion.
Once you have erskyTx running, we can look to get the bootloader updated.

You will need all the voice files etc. on the SD card. You may download these from here: http://www.er9x.com//SdCard/SdCard.zip.

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

budavaril
Posts: 53
Joined: Wed Feb 17, 2016 9:34 am
Country: United Kingdom
Location: London

Re: RE: Re: ERSKY9X Coding

Post by budavaril » Sat Oct 19, 2019 10:34 pm

antlerhanger wrote:I Took a sd card from a pro and put it in the Taranis and was able to update the bootloader . So I am missing something on the Taranis card .

Thanks again
Allen
Hi Allen,
Happy to hear that the 9XR pro SDcard solved. I have no Taranis (yet), so that's why I was not sure how useful the idea to change. But good to know in troubleshooting can use that and also thanks to Mike this thinking method how he keep compatible everything as much as possible.

User avatar
Galand
Posts: 35
Joined: Tue Dec 27, 2011 8:19 pm
Country: -
Location: Long Island, NY USA

Re: ERSKY9X Coding

Post by Galand » Sun Oct 27, 2019 7:47 pm

MikeB wrote:
Sat Oct 19, 2019 9:58 pm
Download "ersky9xProvR222d5.zip" from the test version thread and extract "t16_rom.bin".
If you don't have eepskye installed, please install that.
First off, try starting the T16 in bootloader mode (trims held inwards), run eepskye and try the "Flash firmware to Tx" button, select the t16_rom.bin file and see if it gets written. I believe the openTx bootloader should work with eepskye.
If that doesn't work try flashing the file using companion.
Once you have erskyTx running, we can look to get the bootloader updated.

You will need all the voice files etc. on the SD card. You may download these from here: http://www.er9x.com//SdCard/SdCard.zip.

Mike
Thanks for the help.
I was able to install erskyTx by using Companion.
However when using eepskye to connect to the Tx, I get this damned "Tx disc not mounted" message, even with the SD card installed.
So I can manually program on the Tx but not with eepskye.
I had this problem with the Ar9x board also, so it is a driver issue but then why does the Companion work and eepskye not?

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

Re: ERSKY9X Coding

Post by MikeB » Sun Oct 27, 2019 9:39 pm

The bootloader declares the volume name of the (pseudo) drive that is the flash and EEPROM memory. It may be that the openTx bootloader is now using a different name. If you connect the USB to your computer, what is the volume name of that drive?

What revision of eepskye are you using (revision and date)?

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


Post Reply

Return to “erskyTx (was ersky9x)”