er9x development

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
User avatar
jhsa
Posts: 17914
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa » Tue Dec 13, 2016 12:24 am

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

Re: er9x development

Post by MikeB » Tue Dec 13, 2016 12:26 am

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.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

lawrencezarb
Posts: 2
Joined: Fri Dec 30, 2016 11:50 am
Country: -

Re: er9x development

Post by lawrencezarb » Fri Dec 30, 2016 11:52 am

I dont know if I missed it somewhere but is there a changelog file for the latest rev 821?

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

Re: er9x development

Post by MikeB » Fri Dec 30, 2016 12:46 pm

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

lawrencezarb
Posts: 2
Joined: Fri Dec 30, 2016 11:50 am
Country: -

Re: er9x development

Post by lawrencezarb » Fri Dec 30, 2016 2:00 pm

thanks Mike


andrewju
Posts: 722
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: er9x development

Post by andrewju » Thu Jan 19, 2017 8:06 pm

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.

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

Re: er9x development

Post by MikeB » Tue Jan 24, 2017 6:14 pm

I just posted a test version of eepe (here: viewtopic.php?f=5&t=4598) that should fix this bug.

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

andrewju
Posts: 722
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: er9x development

Post by andrewju » Wed Jan 25, 2017 5:56 pm

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).

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

Re: er9x development

Post by MikeB » Wed Jan 25, 2017 6:30 pm

I've just posted another eepe that should fix that.

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

andrewju
Posts: 722
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: er9x development

Post by andrewju » Wed Jan 25, 2017 6:38 pm

Still one issue remaining: ID2 changes itself to ID0

I'll check to see if I will find any other "strange" combinations...

andrewju
Posts: 722
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: er9x development

Post by andrewju » Wed Jan 25, 2017 6:42 pm

(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)

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

Re: er9x development

Post by MikeB » Wed Jan 25, 2017 11:22 pm

Try the one I've just posted.

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

andrewju
Posts: 722
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: er9x development

Post by andrewju » Thu Jan 26, 2017 4:45 am

This one seem to work Ok! Thanks a lot!!! :)

Taipan
Posts: 11
Joined: Wed Jun 03, 2015 12:07 pm
Country: Australia

Re: er9x development

Post by Taipan » Mon Jan 30, 2017 10:41 pm

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:
20170131_092834[1].jpg
Does that mean that I have done something wrong during the update, or is the revision number in the update file incorrect?

Dennis

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

Re: er9x development

Post by MikeB » Mon Jan 30, 2017 11:22 pm

I got the revision number wrong. The date indicates you do have r821.

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

Andrew168
Posts: 5
Joined: Mon Jan 06, 2014 5:00 am
Country: Hong Kong

Re: er9x development

Post by Andrew168 » Tue Feb 21, 2017 3:53 pm

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

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

Re: er9x development

Post by jhsa » Tue Feb 21, 2017 4:01 pm

What output? A channel?
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

Andrew168
Posts: 5
Joined: Mon Jan 06, 2014 5:00 am
Country: Hong Kong

Re: er9x development

Post by Andrew168 » Tue Feb 21, 2017 4:18 pm

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

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

Re: er9x development

Post by MikeB » Tue Feb 21, 2017 4:36 pm

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.
Last edited by MikeB on Thu Feb 23, 2017 10:04 am, edited 1 time in total.
Reason: Second mix on CH6 corrected.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Andrew168
Posts: 5
Joined: Mon Jan 06, 2014 5:00 am
Country: Hong Kong

Re: er9x development

Post by Andrew168 » Thu Feb 23, 2017 1:32 am

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

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

Re: er9x development

Post by jhsa » Thu Feb 23, 2017 9:26 am

Mike, shouldn't L1 control the mix on CH6?

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

Re: er9x development

Post by MikeB » Thu Feb 23, 2017 10:05 am

Yes, I've edited the post to put it in!

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

Andrew168
Posts: 5
Joined: Mon Jan 06, 2014 5:00 am
Country: Hong Kong

Re: er9x development

Post by Andrew168 » Fri Feb 24, 2017 4:07 pm

Its work now, Thanks you very much, Mike

JanRy
Posts: 19
Joined: Mon Dec 28, 2015 8:59 pm
Country: -

Re: er9x development

Post by JanRy » Fri Feb 24, 2017 11:23 pm

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?

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

Re: er9x development

Post by MikeB » Fri Feb 24, 2017 11:52 pm

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.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

JanRy
Posts: 19
Joined: Mon Dec 28, 2015 8:59 pm
Country: -

Re: er9x development

Post by JanRy » Sat Feb 25, 2017 3:37 am

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.

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

Re: er9x development

Post by MikeB » Sat Feb 25, 2017 9:44 am

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.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

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

Re: er9x development

Post by jhsa » Sat Feb 25, 2017 10:14 am

Bootloader on m2561 would also be nice ;)

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

JanRy
Posts: 19
Joined: Mon Dec 28, 2015 8:59 pm
Country: -

Re: er9x development

Post by JanRy » Sun Feb 26, 2017 3:20 am

"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?)

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

Re: er9x development

Post by MikeB » Sun Feb 26, 2017 10:59 am

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.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Post Reply

Return to “er9x”