ErskyTx on X20
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
ErskyTx on X20
I believe I have enough of erskyTx working on a X20 that it is now worth posting a test version for people to try out.
There is a lot still to be done, but enough is working to be useful.
I'll attach test version to this post.
In the .zip file are two files:
erskytx_x20_l.bin
erskytx_x20_h.bin
The _l version is standalone, and overwrites any firmware already flashed to the X20
The _h version loads high in flash memory and is the "dual boot" version.
To install erskyTx for the first time:
1. Download the Ethos firmware you are using (often named "firmware.bin), rename this to "ethos.bin" and place it in the root of the SD card.
2. Copy the "erskytx_x20_h.bin" file to the root of the SD card.
3. Copy the "erskytx_x20_l.bin" file to the root of the SD card, renaming it to "firmware.bin".
4. Start the radio in bootloader mode without the USB cable connected (or just unplug the USB cable). The firmware.bin file will be flashed to the radio.
5. Start the radio normally, erskyTx will run. Press the ENTER button (long) to obtain the main popup menu, select "Radio Setup", then select "Hardware" with the encoder and press ENTER to run it.
6. In the Hardware menu, select "Create Composite" and press ENTER to run this. A progress bar should appear, wait until this completes. This will create a file "Composite.bin" in the root of the SD card, this contains both Ethos and erskyTx. Choose the option to rename this to "firmware.bin" (press ENTER).
7. Power off the radio, then restart in bootloader mode. The composite file will be flashed to the radio. When this completes, power off the radio.
8. If you power on normally, then Ethos should run as before. Powering on normally will run the same firmware you last used, so Ethos to start with. If you hold the "RTN" button pressed at power on, then erskyTx will be selected to run if you last ran Ethos, and Ethos will be selected to run if you last ran erskyTx.
To update either Ethos or erskyTx, repeat the above, although you do not need to carry out steps 3 and 4 as erskyTx is already available to run to create the composite file.
For erskyTx, you will need to install voice files on the SD card. These are available from http://www.er9x.com/, click on the "SD Card Contents" to download a .zip file containing all the voice files. Unzip this onto the SD card, keeping the sub-directories. You should end with a "voice" directory in the root of the SD card, with 3 sub-directories, "system", "user" and "modelNames".
r2 includes support for external modules using PPM, and also supports the XJT-lite module and the Multiprotocol module.
The internal module is not yet supported, neither is the touch screen as I don't (yet) know what the interface is to it.
The display layouts also need work, but I'm dealing with the main functionality first.
The default colours for the background and text are set in the "Radio Setup|Display" menu.
There is a main screen displayed, and you may create more screens, for each model, in the "Model Setup|TelemetryHiRes" menu. When 1, or more, screens are defined, pressing the "DISP" button cycles through them.
Currently, the MDL button acts as "UP", the centre button acts as "DOWN", the SYS button acts as "LEFT" and the DISP button acts as "RIGHT", but these may change in the future.
Improvements and additions will be made as time permits.
Touch screen functions in r3 and later:
Tap the main screen to get the main, popup, menu, tap outside the popup to cancel it.
Tap the required item in the popup.
Radio and model indices, tap the required item, those with a popup, tap the popup item. Tap near the edge to cancel the index menu.
Statistics menus show two areas at the top right, tap these to move between menus.
All menus, after selecting an item to edit, using the scroll wheel and pressing ENTER, 4 boxes appear on the right to allow changing the selected value by 1 or a larger value. If you keep your finger on a box, it auto-repeats. Tap outside these boxes to exit editing.
r5 adds an on-screen EXIT button.
r8 includes "help" text at the bottom of screens listing possible entries. For this to work, place the "helptel.txt" file in the root of the SD card.
Mike
There is a lot still to be done, but enough is working to be useful.
I'll attach test version to this post.
In the .zip file are two files:
erskytx_x20_l.bin
erskytx_x20_h.bin
The _l version is standalone, and overwrites any firmware already flashed to the X20
The _h version loads high in flash memory and is the "dual boot" version.
To install erskyTx for the first time:
1. Download the Ethos firmware you are using (often named "firmware.bin), rename this to "ethos.bin" and place it in the root of the SD card.
2. Copy the "erskytx_x20_h.bin" file to the root of the SD card.
3. Copy the "erskytx_x20_l.bin" file to the root of the SD card, renaming it to "firmware.bin".
4. Start the radio in bootloader mode without the USB cable connected (or just unplug the USB cable). The firmware.bin file will be flashed to the radio.
5. Start the radio normally, erskyTx will run. Press the ENTER button (long) to obtain the main popup menu, select "Radio Setup", then select "Hardware" with the encoder and press ENTER to run it.
6. In the Hardware menu, select "Create Composite" and press ENTER to run this. A progress bar should appear, wait until this completes. This will create a file "Composite.bin" in the root of the SD card, this contains both Ethos and erskyTx. Choose the option to rename this to "firmware.bin" (press ENTER).
7. Power off the radio, then restart in bootloader mode. The composite file will be flashed to the radio. When this completes, power off the radio.
8. If you power on normally, then Ethos should run as before. Powering on normally will run the same firmware you last used, so Ethos to start with. If you hold the "RTN" button pressed at power on, then erskyTx will be selected to run if you last ran Ethos, and Ethos will be selected to run if you last ran erskyTx.
To update either Ethos or erskyTx, repeat the above, although you do not need to carry out steps 3 and 4 as erskyTx is already available to run to create the composite file.
For erskyTx, you will need to install voice files on the SD card. These are available from http://www.er9x.com/, click on the "SD Card Contents" to download a .zip file containing all the voice files. Unzip this onto the SD card, keeping the sub-directories. You should end with a "voice" directory in the root of the SD card, with 3 sub-directories, "system", "user" and "modelNames".
r2 includes support for external modules using PPM, and also supports the XJT-lite module and the Multiprotocol module.
The internal module is not yet supported, neither is the touch screen as I don't (yet) know what the interface is to it.
The display layouts also need work, but I'm dealing with the main functionality first.
The default colours for the background and text are set in the "Radio Setup|Display" menu.
There is a main screen displayed, and you may create more screens, for each model, in the "Model Setup|TelemetryHiRes" menu. When 1, or more, screens are defined, pressing the "DISP" button cycles through them.
Currently, the MDL button acts as "UP", the centre button acts as "DOWN", the SYS button acts as "LEFT" and the DISP button acts as "RIGHT", but these may change in the future.
Improvements and additions will be made as time permits.
Touch screen functions in r3 and later:
Tap the main screen to get the main, popup, menu, tap outside the popup to cancel it.
Tap the required item in the popup.
Radio and model indices, tap the required item, those with a popup, tap the popup item. Tap near the edge to cancel the index menu.
Statistics menus show two areas at the top right, tap these to move between menus.
All menus, after selecting an item to edit, using the scroll wheel and pressing ENTER, 4 boxes appear on the right to allow changing the selected value by 1 or a larger value. If you keep your finger on a box, it auto-repeats. Tap outside these boxes to exit editing.
r5 adds an on-screen EXIT button.
r8 includes "help" text at the bottom of screens listing possible entries. For this to work, place the "helptel.txt" file in the root of the SD card.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 3
- Joined: Fri Jun 05, 2015 3:17 pm
- Country: United Kingdom
Re: ErskyTx on X20
Would this work on an X12S that has the ISRM upgrade module running ETHOS?
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
No, this is for the X20 only. The X12 doesn't have enough flash memory to allow both Ethos and erskyTx to be combined.
Unfortunately, I only have a prototype X12, so I can't even add the ISRM module to put erskyTx on the X12 instead of Ethos.
Mike
Unfortunately, I only have a prototype X12, so I can't even add the ISRM module to put erskyTx on the X12 instead of Ethos.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 3
- Joined: Fri Jun 05, 2015 3:17 pm
- Country: United Kingdom
Re: ErskyTx on X20
Thanks for the update.
Re: ErskyTx on X20
Hello Mike, and what is with ErskyTX on the X10 Express?
regards KH
regards KH
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
Go to the erskyTx test versions thread, download the latest and extract "x10E_rom.bin". Just flash this to the X10 Express.
I need to do an actual release so this is on www.er9x.com.
Mike
I need to do an actual release so this is on www.er9x.com.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ErskyTx on X20
Would this mean it's also doable to get OpenTx on an X20?
Re: ErskyTx on X20
Was looking there and only found a x12d_rom.bin.
KH
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
By that I meant I need to actually do a release so that the x10 express firmware is there.
It is in the test versions thread.
Mike
It is in the test versions thread.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ErskyTx on X20
Hello
the programme does not run on my X20S, will there be a version for X20S at some point?
Thanks
the programme does not run on my X20S, will there be a version for X20S at some point?
Thanks
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
Please could you be more specific when you say it doesn't run on the X20S. Does anything display at all?
I only have a X20, so can't test on a X20S myself.
Mike
I only have a X20, so can't test on a X20S myself.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ErskyTx on X20
Hello,
I have renamed my ETHOS "firmware.bin" in the root directory to "ethos.bin" according to your instructions. I copied the file "erskytx_x20_h.bin" to the root directory. Copied the file "erskytx_x20_l.bin" into the root directory and renamed it "firmware.bin".
Start the transmitter in bootloader mode.
The "firmware.bin" runs through normally. Then switch off the transmitter and switch it on again normally. The display shows only Bootloader.
The transmitter can be switched off again with the power button.
Thank you
I have renamed my ETHOS "firmware.bin" in the root directory to "ethos.bin" according to your instructions. I copied the file "erskytx_x20_h.bin" to the root directory. Copied the file "erskytx_x20_l.bin" into the root directory and renamed it "firmware.bin".
Start the transmitter in bootloader mode.
The "firmware.bin" runs through normally. Then switch off the transmitter and switch it on again normally. The display shows only Bootloader.
The transmitter can be switched off again with the power button.
Thank you
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
I'm looking to see if there is a hardware difference on the X20S that is causing this, but I'm working from disassembled Ethos code to find out, so may take a while.
Does the "Bootloader" text appear immediately, or is there a delay?
I could build a special version that runs with delays between various startup functions.
This could indicate the flashed firmware is running, and the length of any delay before "Bootloader" appears would indicate how far through startup it got.
Would you be able to test such a build?
The other possibility is there is something in the bootloader that is checking the flashed firmware before allowing it to run.
Mike
Does the "Bootloader" text appear immediately, or is there a delay?
I could build a special version that runs with delays between various startup functions.
This could indicate the flashed firmware is running, and the length of any delay before "Bootloader" appears would indicate how far through startup it got.
Would you be able to test such a build?
The other possibility is there is something in the bootloader that is checking the flashed firmware before allowing it to run.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ErskyTx on X20
The "Bootloader" text appears immediately after pressing the power button.
Sorry, I don't want to do the test.
Sorry, I don't want to do the test.
Re: ErskyTx on X20
Hi Mike,
i'm going to install it on my X20, is the dual boot flash is a no return modification or it will be erased by installing firmware ethos bin file directly ?
Thanks
Régis
i'm going to install it on my X20, is the dual boot flash is a no return modification or it will be erased by installing firmware ethos bin file directly ?
Thanks
Régis
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
If you subsequently flash Ethos directly, the dual boot is removed. This is NOT a no return modification.
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ErskyTx on X20
hi,
i install it as your explain, but i only have a black screen with a blue start button if i press enter (right rotary center button) i just go back from bootloader to black screen.
tandem x20
ethos 1.017 EU
i install it as your explain, but i only have a black screen with a blue start button if i press enter (right rotary center button) i just go back from bootloader to black screen.
tandem x20
ethos 1.017 EU
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
OK. I believe my X20 is a pre-production one, so there may be something different.
At power on, erskyTx should display a "Starting screen" while the power button is held pressed for about 2 seconds, then go to the main erskyTx screen, so after flashing, power off, then power on holding the power button for 3 seconds. If erskyTx does start, there may be a "click" from the speaker as it starts. If it has started, but there is nothing on the display, you will need to hold the power button in for 2 seconds to get it to turn off.
Also, erksyTx, should create a directory on the SD card called "RADIO", and put three files in it.
Please have a look on the SD card to see if this exists.
Would you be prepared to test a special test version to try to find out why it isn't working?
Mike
At power on, erskyTx should display a "Starting screen" while the power button is held pressed for about 2 seconds, then go to the main erskyTx screen, so after flashing, power off, then power on holding the power button for 3 seconds. If erskyTx does start, there may be a "click" from the speaker as it starts. If it has started, but there is nothing on the display, you will need to hold the power button in for 2 seconds to get it to turn off.
Also, erksyTx, should create a directory on the SD card called "RADIO", and put three files in it.
Please have a look on the SD card to see if this exists.
Would you be prepared to test a special test version to try to find out why it isn't working?
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ErskyTx on X20
i have no directory called "RADIO" in the Root in fact when the firmware is installed the radio stay in bootloader when i press the start button it try to start i can see a flashing loop in the start button (it's really hard to see) but nothing appened if i want to stop the radio i have to push the enter button to get bootloader mode and after i can stop the radio by a long press
Re: ErskyTx on X20
yes send me a special version to try no problemo
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
That means it starts to run, then gets a fault that causes a reboot (error or watchdog), goes back to the bootloader and starts again. I'll do a test version that (hopefully) lights the LEDs on the six buttons in turn (with a delay between them) as it starts up. How many LEDs light up should tell me where the fault is.
I'll try to post it tomorrow.
Mike
I'll try to post it tomorrow.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
I've posted a special test version on the first post. This turns the LEDs on the 6-position buttons on in turn, with a delay between them as things are initialised.
Starts with the top left, then middle left, then bottom left, then bottom right, then middle right, then top right, then turns the top left one off.
The delay is around a second, so it should be easy to see how many light up.
Just rename the .bin file to firmware.bin and put it on the root of the SD card.
Mike
Starts with the top left, then middle left, then bottom left, then bottom right, then middle right, then top right, then turns the top left one off.
The delay is around a second, so it should be easy to see how many light up.
Just rename the .bin file to firmware.bin and put it on the root of the SD card.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ErskyTx on X20
hi,
all light up ! one after another as you describe in a loop. send you a video
all light up ! one after another as you describe in a loop. send you a video
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
Thank you.
I've posted a 2nd special test version. This moves the places where I light the LEDs further into the starting code.
Again, it lights the LEDs in turn, then starts turning them off in turn. This time, I'm expecting that not all the LEDs will light up.
It's looking like it may be the setup for the external RAM, that holds the screen image, that may be failing.
Mike
I've posted a 2nd special test version. This moves the places where I light the LEDs further into the starting code.
Again, it lights the LEDs in turn, then starts turning them off in turn. This time, I'm expecting that not all the LEDs will light up.
It's looking like it may be the setup for the external RAM, that holds the screen image, that may be failing.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ErskyTx on X20
This time only one and two (top left and middle left)
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
That's what I thought might happen. I've posted a 3rd version where I've changed the code that initialises the external RAM. I found something that suggests I needed a small delay added.
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ErskyTx on X20
same as before only one and two on the left
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
4th version. I've put most of the LED sequence in the external RAM startup. This might make it work as it increases the delays.
As the delays are software loops, and the compiler I'm using might generate "better" code, the delays may be shorter than required.
With this one, the LEDs light in order, then start going out in order.
Mike
Edit: I think I can see the main problem, Ethos initialises the external RAM before changing the processor clock up to full speed, while I'm changing the clock first. This means my software delays are too short (same counts as in Ethos).
If the 4th debug version works, try the full version I've also posted with the external RAM initialised before the clock is changed to full speed.
As the delays are software loops, and the compiler I'm using might generate "better" code, the delays may be shorter than required.
With this one, the LEDs light in order, then start going out in order.
Mike
Edit: I think I can see the main problem, Ethos initialises the external RAM before changing the processor clock up to full speed, while I'm changing the clock first. This means my software delays are too short (same counts as in Ethos).
If the 4th debug version works, try the full version I've also posted with the external RAM initialised before the clock is changed to full speed.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ErskyTx on X20
at first start in the first loop i've got one to four and after one to three.
the rom shows a black screen i have to unplug the battery to go back to bootloader.it seems there is no loop anymore
the rom shows a black screen i have to unplug the battery to go back to bootloader.it seems there is no loop anymore
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ErskyTx on X20
To confirm, you power on and the 3 LEDs on the left light up in turn, then the bottom right one, then it restarts and only the 3 on the left light up in turn, then it stops changing.
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!