er9x development
Re: er9x development
Now you have everything more organized.. You go to an "Index" menu, and you enter the menu you need to edit..
You can still use the "Pot Scroll" feature if you want, or even better, "Stick Scroll".. You can use the sticks to navigate and edit the different menus..
João
You can still use the "Pot Scroll" feature if you want, or even better, "Stick Scroll".. You can use the sticks to navigate and edit the different menus..
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
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
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: er9x development
I changed to an index to the menus as this is, I believe, easier to follow, as well as saving flash space. Using the pots to navigate should still work however. You also can use one of the sticks as a "mouse", if you turn it on. (as João said!).
There is a new manual that helps explain what the menus are. If you download and install eepe, then the pdf of the manual is placed in the eepe install directory.
Mike.
There is a new manual that helps explain what the menus are. If you download and install eepe, then the pdf of the manual is placed in the eepe install directory.
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: 2
- Joined: Fri Dec 30, 2016 11:50 am
- Country: -
Re: er9x development
I dont know if I missed it somewhere but is there a changelog file for the latest rev 821?
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: er9x development
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: 2
- Joined: Fri Dec 30, 2016 11:50 am
- Country: -
Re: er9x development
thanks Mike
Re: er9x development
Mike,
I didn't check this myself, but there is an error reported related to switch warnings on power on. When switch warning is set to THR and ID0 in eePe, it actually sets RUD and ID0 on the radio. If the warnings are corrected on the radio (set to THR and ID0), then eePe shows them as ELE and ID0. This is with the eePe r421 and er9x-frsky.hex r820.
I didn't check this myself, but there is an error reported related to switch warnings on power on. When switch warning is set to THR and ID0 in eePe, it actually sets RUD and ID0 on the radio. If the warnings are corrected on the radio (set to THR and ID0), then eePe shows them as ELE and ID0. This is with the eePe r421 and er9x-frsky.hex r820.
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: er9x development
I just posted a test version of eepe (here: viewtopic.php?f=5&t=4598) that should fix this bug.
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: er9x development
Reading and saving data from / to the radio seem to work fine now.
But setting switch warnings within the eePe itself is broken. There's a simple test (doesn't even need a radio):
- Create a new eeprom in eePe
- Open any model slot
- Set switch warning to something (e.g. ID1, ELE, THR) and close the window
- Reopen model settings again. Switch warning will be set differently (RUD and ID0 in the suggested example).
But setting switch warnings within the eePe itself is broken. There's a simple test (doesn't even need a radio):
- Create a new eeprom in eePe
- Open any model slot
- Set switch warning to something (e.g. ID1, ELE, THR) and close the window
- Reopen model settings again. Switch warning will be set differently (RUD and ID0 in the suggested example).
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: er9x development
I've just posted another eepe that should fix that.
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: er9x development
Still one issue remaining: ID2 changes itself to ID0
I'll check to see if I will find any other "strange" combinations...
I'll check to see if I will find any other "strange" combinations...
Re: er9x development
(Updated post)
There seem to be an incompatibility between AIL and IDx, and some issues with IDx itself:
ID1 changes itself to ID0
ID2 changes itself to ID0
AIL + ID1 changes itself to ID0 (missing AIL)
AIL + ID2 changes itself to AIL + ID0
THR + RUD + ELE + AIL + ID1 + GEA changes itself to THR + RUD + ELE + ID0 + GEA (missing AIL and ID1 changed to ID0)
There seem to be an incompatibility between AIL and IDx, and some issues with IDx itself:
ID1 changes itself to ID0
ID2 changes itself to ID0
AIL + ID1 changes itself to ID0 (missing AIL)
AIL + ID2 changes itself to AIL + ID0
THR + RUD + ELE + AIL + ID1 + GEA changes itself to THR + RUD + ELE + ID0 + GEA (missing AIL and ID1 changed to ID0)
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: er9x development
Try the one I've just posted.
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: er9x development
This one seem to work Ok! Thanks a lot!!!
Re: er9x development
I have just updated my Turnigy TGY 9X to ER9X (revision 821) downloaded from http://www.er9x.com/, but when I check the "Version" screen it says SVN: er9x-r820, as shown here:
Does that mean that I have done something wrong during the update, or is the revision number in the update file incorrect?
Dennis
Does that mean that I have done something wrong during the update, or is the revision number in the update file incorrect?
Dennis
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: er9x development
I got the revision number wrong. The date indicates you do have r821.
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: er9x development
Hi MikeB,
I am new in this forum, and you do the great contribution for ER9X firmware, I am using the TH9X with ER9X (previous ver. upgraded to R820), its work great for me, I have a request which could you consider to add one more option in the mixer->multiplex, there are three option in the multiplex (add , multiply and replace) recently, the forth option is it get the absolute value from each mixed channels and compare all the channels, and send the max value to output.
e.g. In channel 6 which mixed channel 1 and 2, when channel 1 with -60 and channel 2 with 40, first step is convert each channel value to absolute value, channel 1 and 2 become 60 and 40 respectively, then compare both value and send the max value to output, output is 60
I am new in this forum, and you do the great contribution for ER9X firmware, I am using the TH9X with ER9X (previous ver. upgraded to R820), its work great for me, I have a request which could you consider to add one more option in the mixer->multiplex, there are three option in the multiplex (add , multiply and replace) recently, the forth option is it get the absolute value from each mixed channels and compare all the channels, and send the max value to output.
e.g. In channel 6 which mixed channel 1 and 2, when channel 1 with -60 and channel 2 with 40, first step is convert each channel value to absolute value, channel 1 and 2 become 60 and 40 respectively, then compare both value and send the max value to output, output is 60
Re: er9x development
What output? A channel?
What are you trying to achieve? I'm just trying to understand
João
What are you trying to achieve? I'm just trying to understand
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
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
Re: er9x development
the scenario is channel 6 which included both channel 1 and 2, not use the word "mixed", because both are not mixed actually
first step - convert each channel (1 and 2) value to absolute value,
e.g. channel 1 with value -60 and channel 2 with 40, then become 60 and 40 respectively
second step - compare both value and get max value to channel 6, channel 6 output with 60
first step - convert each channel (1 and 2) value to absolute value,
e.g. channel 1 with value -60 and channel 2 with 40, then become 60 and 40 respectively
second step - compare both value and get max value to channel 6, channel 6 output with 60
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: er9x development
This seems the wrong sort of thing for the multiplex field, particularly as it only applies to a single mix. It is also a very specific requirement.
You can achieve what you require with some mixing, and use of a couple of channels above channel 8 and a logical switch.
CH6: +100% CH1 Curve(|x|)
R +100% CH2 Curve(|x|) Switch(L1) - Corrected
CH15: +100% CH2 Curve(|x|)
CH16: +100% CH1 Curve(|x|)
L1: v1>v2 CH15 CH16
Mike.
You can achieve what you require with some mixing, and use of a couple of channels above channel 8 and a logical switch.
CH6: +100% CH1 Curve(|x|)
R +100% CH2 Curve(|x|) Switch(L1) - Corrected
CH15: +100% CH2 Curve(|x|)
CH16: +100% CH1 Curve(|x|)
L1: v1>v2 CH15 CH16
Mike.
Last edited by MikeB on Thu Feb 23, 2017 10:04 am, edited 1 time in total.
Reason: Second mix on CH6 corrected.
Reason: Second mix on CH6 corrected.
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: er9x development
Hi MikeB,
I had tried your setting, its not exactly what i expected, but almost close (ONE channel work ONLY)
i will try to modify your setting, thanks you for your help
I had tried your setting, its not exactly what i expected, but almost close (ONE channel work ONLY)
i will try to modify your setting, thanks you for your help
Re: er9x development
Mike, shouldn't L1 control the mix on CH6?
João
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
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
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: er9x development
Yes, I've edited the post to put it in!
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: er9x development
Its work now, Thanks you very much, Mike
Re: er9x development
It seems the Github code is about three month old.
My serial LCD does not initialise properly with published hex (I need do add an additional delay loop in lcd_init, and re-compile).
Is there any other place I can download the source code from?
My serial LCD does not initialise properly with published hex (I need do add an additional delay loop in lcd_init, and re-compile).
Is there any other place I can download the source code from?
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: er9x development
I haven't done anything much to the source code for er9x since the the Github update for the last release.
If you give me details for your extra delay I can see about including it.
Mike.
If you give me details for your extra delay I can see about including it.
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: er9x development
I was hoping to see LQI values in Frsky telemetry.
I've needed a rather long delay at power up for my serial LCD to initialise properly, so I've inserted the following lines in lcd.cpp (lcd_init):
PORTC_LCD_CTRL |= (1<<OUT_C_LCD_RES);
for (uint8_t i = 0; i<4; i++ )delay_1_5us(30000);
before line 1026 (PORTC_LCD_CTRL &= ~(1<<OUT_C_LCD_RES); //LCD_RES):
and then the same again in the second lcd_init (before current line 1130).
Also, I have to compile with 'CUSTOM9X = YES' option.
I use Atmega128 chip.
I've needed a rather long delay at power up for my serial LCD to initialise properly, so I've inserted the following lines in lcd.cpp (lcd_init):
PORTC_LCD_CTRL |= (1<<OUT_C_LCD_RES);
for (uint8_t i = 0; i<4; i++ )delay_1_5us(30000);
before line 1026 (PORTC_LCD_CTRL &= ~(1<<OUT_C_LCD_RES); //LCD_RES):
and then the same again in the second lcd_init (before current line 1130).
Also, I have to compile with 'CUSTOM9X = YES' option.
I use Atmega128 chip.
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: er9x development
Have you two, different transmitters with different LCDs then? Only one of the lcd_init() functions will be compiled at one time.
I've only just started to add the code for things like LQi from the multi module, and that to ersky9x for ARM processors.
It may well be I can only get this in to er9x for '128 and '2561 processors.
Mike.
I've only just started to add the code for things like LQi from the multi module, and that to ersky9x for ARM processors.
It may well be I can only get this in to er9x for '128 and '2561 processors.
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: er9x development
Bootloader on m2561 would also be nice
João
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
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
Re: er9x development
"Only one of the lcd_init() functions will be compiled at one time."
Yes, you are right. In my case only delay before line 1130 is actually required.
I'm glad you are working on LQi code. I've had an impression it is already implemented (from Rcgroups forum?)
Yes, you are right. In my case only delay before line 1130 is actually required.
I'm glad you are working on LQi code. I've had an impression it is already implemented (from Rcgroups forum?)
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: er9x development
I have the LQi being handled on ARM processor versions (ersky9x), I just need to add it in to er9x and post a test version.
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!