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.
minno
Posts: 18
Joined: Fri Sep 07, 2018 8:48 pm
Country: -

Re: er9x development

Post by minno »

Hi Mike, thanks, Yes I do see rx Voltage on A1 as well. er9x is really great. I used scaler just to name A1, where I redirect A1 to SC1 with name as RxV. and put SC1 to custom telemetry screen. so obviusly, no divider is needed, when we have A1 or rxV+Scaler.. thats great . thanks

kmargos
Posts: 86
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x development

Post by kmargos »

Hi,
I use M2561 /Testing this firmware er9xProv822j
I need a bootloader ?


avrdude.exe: verification error, first mismatch at byte 0x1fd00
0xff != 0x90
avrdude.exe: verification error; content mismatch


Even with this error, it seems to work.

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

Re: er9x development

Post by MikeB »

Works OK for me, but I'm using an AVRISP-II programmer. It may be your programmer is not handling the flash space on the '2561 properly, or AvrDude is not doing it.
What version of AvrDude are you using?

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: er9x development

Post by Kilrah »

This is a known issue with some programmers.
kmargos
Posts: 86
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x development

Post by kmargos »

MikeB wrote: Sat Sep 29, 2018 3:12 pm Works OK for me, but I'm using an AVRISP-II programmer. It may be your programmer is not handling the flash space on the '2561 properly, or AvrDude is not doing it.
What version of AvrDude are you using?

Mike
Hi,
I reviewed everything except the version of avdude, it was version 5.1, I changed to 6.3 and it worked. Sorry for the inattention.
Tks!!!
Marco.

Skyscraper90
Posts: 15
Joined: Thu May 22, 2014 11:14 am
Country: -

Re: er9x development

Post by Skyscraper90 »

Hello!

I haven't used my tx for a long time. I'm using a Turnigy 9XR (not Pro). It has the Version V1.438-Mike, 09.05.2015 21:23:35, SVN: er9x-r818, MOD: FRSKY NT.

My question: is there a newer that it's worth to update to? And if yes: where do i find it?

Thank you!

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

Re: er9x development

Post by jhsa »

Yes there is, and yes it is worth it to update :) Many features added including support for the multiprotocol module. You can get the latest release version at www.er9x.com
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
Skyscraper90
Posts: 15
Joined: Thu May 22, 2014 11:14 am
Country: -

Re: er9x development

Post by Skyscraper90 »

Thank
jhsa wrote: Fri Nov 16, 2018 2:50 pm You can get the latest release version at www.er9x.com
And whats the correct file? er9x for M64-FrSky, German?

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

Re: er9x development

Post by jhsa »

Depends on what processor your radio has. Some 9XR were sold with an m64 processor, and others were sold with an m128 processor.., so, you need to find out which of them your radio has..

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
JonnyQuest
Posts: 3
Joined: Thu Oct 18, 2018 2:56 pm
Country: -

Re: er9x development

Post by JonnyQuest »

good afternoon friends! Happy Holidays !!! I would like to ask a question about the versions of er9x. I found and flashed er9x v2. which one is developing on now? which changes and updates are made more quickly? what is the difference between v1 and v2? I also noticed that there is no possibility in the logical switches to create a condition of the form v <val Gvr1 -50. can not be compared with the negative. only> = 0. but equating Gvr1 with a negative value is possible. Is this a bug or a normal behavior? thank!!!
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

I am updating both V1 and V2, so both are being developed. I created V2 so I could do a major change to the EEPROM structure, resulting in a significant saving in flash memory use, and rationalising several things, e.g. the AND switch in logical switches is restricted in V1.
The flash saving is needed for those radios using the M64 processor.
Not being able to test a GVAR for negative values is a bug, it will be fixed in the next test version (both V1 and V2).

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
JonnyQuest
Posts: 3
Joined: Thu Oct 18, 2018 2:56 pm
Country: -

Re: er9x development

Post by JonnyQuest »

MikeB wrote:Not being able to test a GVAR for negative values is a bug, it will be fixed in the next test version (both V1 and V2).

Mike

So I use V2. I print gvar on telemetry screen and see negative values. I can output this values in channel and it ok. But! When I try make a log.switch I can’t set negative value on it. Only 0 and more...
Thank you!
User avatar
martin555
Posts: 16
Joined: Thu Mar 29, 2012 2:38 pm
Country: Hungary

Re: er9x development

Post by martin555 »

MikeB wrote: Mon Dec 24, 2018 6:29 pm Mike
Dear Mike, and all dear devolopers,

I am using the ye goode olde turnigy 9x transmitters again.

please be so kind:

-to link me an actual changelog where I can read the HISTORY:

I have now V1.438-MIKE
09.05.2015
21.23.35
er9x-r818
MOD frsky NT

and wonder, what HISTORICAL changes would I face if I install the latest er9x FRSKY.

(so that some mixes or inputs winn or will NOT be inverted etc.. )

see I am teaching my young kid and dont want any trouble

keep up the good work, let me know your paypal so that I can buy you a large pizza!! PM me!

cheers.
our airfield www.nemesikle.hu facebook: https://www.facebook.com/nemesikle.hu

photos http://tinyurl.com/h5tnc2d

videos https://www.youtube.com/user/martin5martin5/videos
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

The changelog is here: https://github.com/MikeBland/mbtx/blob/ ... ngelog.txt.

I would expect you to be able to update to the latest release without any problems. As always, when doing this, if you backup your EEPROM and the firmware currently on the radio, if there are any unexpected problems, you may simply replace these and so restore the Tx to the current state.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
bob195558
Posts: 2377
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

Re: er9x development

Post by bob195558 »

Newest er9x firmware release and newest eepe, found here: (http://www.er9x.com/).

er9x manual, found here: (viewtopic.php?f=5&t=6473#p90349).
Er9x on 9x radio, with Smartieparts Programmer and TelemetrEZ Board.
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).
kockaszabi
Posts: 1
Joined: Sun May 19, 2019 9:13 am
Country: Hungary

Re: er9x development

Post by kockaszabi »

Hi!
Is there any chance that i can compile this code: https://github.com/MikeBland/mbtx/tree/ ... o/er9x/src
in Atmel Studio 7 ? I included all files but still gives an error that there is no opentx.h , and when i copy it from an opentx github project it gives more errors and warnings :D . I'd like to use is to buid an altitude logger for my turnigy 9x and DJT module combo.(I only need that part code which communicate with the module via usart, but when i copy the usart rx interrupt, other files also needed, and it gives errors again :D )
Last edited by kockaszabi on Sun May 19, 2019 3:38 pm, edited 1 time in total.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

There is a makefile and you need to normally need to run a make from the command line with the correct options for the make you want.
I've never tried to build from the Atmel Studio, partly because I use a specific version of the compiler that creates the smallest code for the M64. Newer versions create more code that doesn't fit in the M64 processor.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

I just followed up a couple of ideas I had and this has resulted in saving 264 bytes of flash and 9 bytes of RAM on the M64 (V1) version.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

When we thought you cannot shrink that code anymore, you surprise us again.. If you keep doing it, we will start taking bets ;) :D

Thank you 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
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

Just saved over 100 bytes more! The '64 version doesn't have Templates, but does need to use the basic, 4-channel template when creating a new model. I was using the templates code, cut down, but I just wrote a "only 4-channel template" routine that therefore saved all these extra bytes.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
bob195558
Posts: 2377
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

Re: er9x development

Post by bob195558 »

Also the templates can still be used in eepe's (computer) ?
So maybe there could be more stuff remove that would then be available only in eepe for setup purposes ?
Er9x on 9x radio, with Smartieparts Programmer and TelemetrEZ Board.
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

A dream I would like to see come true is a totally open source radio system. I mean radio hardware and software, and also RF module and receivers. All DIY.
The multiprotocol module is already a good start, but I would like the open source community to create our own killer protocol. I bet that with time, we would come up with something way better that any commercial equipment.
I know, this is just a dream..
But if I look at what I use, I actually fly my models with DIY radio (upgrade boards), DIY RF module, and DIY receivers.. So, we are quite close. :)
Ahhhh, forgot the DIY openXsensor project as well :)
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
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: er9x development

Post by Kilrah »

jhsa wrote: Tue Jul 23, 2019 6:10 pm The multiprotocol module is already a good start, but I would like the open source community to create our own killer protocol.
Kiiller for what? Once you go custom and give up the convenience of off-the-shelf hardware people tend to want something that fully caters to their own little niche and can't be bothered with a compromise, so that'll mean more like 10 different protocols.

Someone actually recently developed a custom protocol but I doubt you'll like it since it has short range and only has 4 proportional channels, 12 on/off channels and no telemetry.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

Killer for what?? Hmm, better than the protocols we have now? ;)
And I am not talking about short range. I am also not talking about long range as most of that equipment does not transmit using legal frequencies anyway, and if they do, the power is way over the maximum allowed.
I am talking about gear for normal model flying.
At the moment I am using frsky protocol even if all hardware is DIY.
As I said my "Dream" is to have some gear which would be created by the model flying community, for the model flying community. And that would also include an "open source" protocol that could also be improved and updated if needed.
Model flying radio gear really improved since Erazz, Mike, and a few others started developing the systems we all know and love. Yes, frsky for example is what it is due to the efforts and ideas of the open source community. And not only frsky :)
And much more can still be done.

The open source community can for example start by developing an even more powerful hardware...

I remember many people saying that the 9x radio would never speak because the code would never fit in the processor, and that the processor wasn't powerful enough.. Well, Mike proved everybody wrong, and not only the 9x radio spoke, as it is still being developed today and getting new features.. yes, I am talking about the stock 9x radio.. This is the real DIY and open source.. This is taking knowledge to the limit and beyond. THANKS MIKE.

So, in my opinion, let the spirit of DIY and open source live :) ;) :D

It was great in the beginning, and it stopped being fun when commercial stuff got in the way.. :(

Just my 2 cents of course.. :)

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

Re: er9x development

Post by MikeB »

Well, I've just hit a total of 500 bytes of flash saved on the M64! I'm slightly surprised I've managed to save this many. I've also saved 13 bytes of RAM.
Bob: I think I've already removed all the items worth removing from the hardware menu, I'm not sure it is a good idea to remove anything else.

I now have the question of what to add in. Some candidates are (all are present in the '128/'2561 firmware):
Extras to scalers (MOD and destination)
XYcurve
FrSky and DSM bind options
Volume display on main screen
Failsafe setting from Tx
FrSky R9M support
6 extra logical switches

At this point I have no idea whether these will fit, and/or what combinations will fit.

At present I don't have the time or inclination to work on an open source RF protocol, it sounds like work not (hobby) fun.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

As I said, it is just an idea.. It would be nice if a radio system was 100% open source and DIY :)

Thanks for all Mike

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
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

I've just posted test versions of er9x (V1). The total flash space saving on the M64 is 604 bytes now (12 bytes of RAM saved)!
Support for converting the RUD, AIL and GEA switches to 3-position switches is included. The .zip file also includes an updated eepe.exe (needs to be copied to your eepe directory) that supports setting these switches to 3-position. This is needed for the M64 version as the hardware menu doesn't include the settings.

Technical details of space saving.
When adding the 3-pos switch support I re-wrote the code to display the current switch positions allowing several areas to be merged to subroutines.
Each menu had a C++ object that stored the current vertical position in the menu. I've removed this object and put the data on a stack. Now we only need 5 bytes of RAM instead of nearly 20. This change than allows the simplification of detecting whether any particular menu line needs highlighting, removing a test from many lines.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

I can´t believe that you're still saving space on that code :)

Thank You

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
Kotello
Posts: 16
Joined: Fri Sep 20, 2019 10:16 am
Country: Russian Federation
Location: Yaroslavl
Contact:

Re: er9x development

Post by Kotello »

Hi pilots and developers! I started work on porting the wonderful ER9X firmware to the FlySky -I6 transmitter. There is already some result. You can watch the video.https://youtu.be/nmXNQ-JMpLk
Attachments
7c08d837-c117-43e7-b8ef-8aa1642336f8.jpg
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

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

Post Reply

Return to “er9x”