Page 150 of 152

Re: ERSKY9X Coding

Posted: Wed Jul 10, 2019 10:21 pm
by MikeB
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

Re: ERSKY9X Coding

Posted: Wed Jul 10, 2019 11:04 pm
by RCHH
Crackin. Thanks Mike.

Re: ERSKY9X Coding

Posted: Wed Jul 10, 2019 11:08 pm
by jhsa
Mike, what are limitations because of this bootloader change?

Thanks

João

Sent from my BLN-L21 using Tapatalk


Re: ERSKY9X Coding

Posted: Thu Jul 11, 2019 7:22 am
by Kilrah
Only the difficulty/impossibility to add more functionality to the bootloader in the future

Re: ERSKY9X Coding

Posted: Thu Jul 11, 2019 8:16 am
by MikeB
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

Re: ERSKY9X Coding

Posted: Thu Jul 11, 2019 11:13 am
by jhsa
So, no real limitations as far as I understand.. :)

Thanks

João

Re: ERSKY9X Coding

Posted: Wed Oct 16, 2019 10:23 pm
by MikeB
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

Re: ERSKY9X Coding

Posted: Wed Oct 16, 2019 11:40 pm
by jhsa
Thanks Mike

João

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 12:57 am
by antlerhanger
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

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 1:09 am
by jhsa
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

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 1:13 am
by antlerhanger
I've have done that.. I can update the fw but the bootloader doesnt show up to update it

Thanks
Allen

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 1:35 am
by antlerhanger
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

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 1:35 am
by jhsa
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

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 1:36 am
by jhsa
Hmm, if the file doesn't show up, I don't know then :(

João

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 1:55 am
by antlerhanger
It shows up and updates on my pro's just not either one of the Taranis

Thanks
Allen

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 2:12 am
by antlerhanger
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

Re: ERSKY9X Coding

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

João

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 10:42 am
by budavaril
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?

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 12:30 pm
by antlerhanger
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

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 12:36 pm
by jhsa
You run apps from bootloader mode

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 1:15 pm
by antlerhanger
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

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 3:06 pm
by antlerhanger
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

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 3:45 pm
by MikeB
budavaril wrote: Thu Oct 17, 2019 10:42 amIs 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

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 3:51 pm
by MikeB
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

Re: ERSKY9X Coding

Posted: Thu Oct 17, 2019 4:26 pm
by antlerhanger
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

Re: ERSKY9X Coding

Posted: Sat Oct 19, 2019 8:10 pm
by Galand
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?

Re: ERSKY9X Coding

Posted: Sat Oct 19, 2019 9:58 pm
by MikeB
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

Re: RE: Re: ERSKY9X Coding

Posted: Sat Oct 19, 2019 10:34 pm
by budavaril
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.

Re: ERSKY9X Coding

Posted: Sun Oct 27, 2019 7:47 pm
by Galand
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?

Re: ERSKY9X Coding

Posted: Sun Oct 27, 2019 9:39 pm
by MikeB
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