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
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 »

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

Re: er9x development

Post by MikeB »

What processor is in that transmitter?

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 »

Mike, found this thread that seems to answer your question. actually, it seems you already had a look into it in the past.

https://openrcforums.com/forum/viewtopi ... =98&t=6751

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 »

Processor -MKL16z64 64kb flash 64pin.
I use Kinetis Disign Studio for porting.
Now I'm working on PPM-OUT, I need to check everything in the AeroFly simulator.
Then I will activate the radio module
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 »

Mike, can I ask you questions?
I do not yet understand the organization of the menu, I need to remove the items that are unnecessary for the FS-I6 and add the ones I need.

(I use Google translator, I don’t know English very well)

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 »

I continue to work.
PiSpkr activated.
The PPM output is activated.

Testing the PPM output and exponent on the simulator https://youtu.be/h-IRp01bjrE - look! ;)
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 »

The RF-module is working https://youtu.be/6DephUlm9Xw ;)
ReSt
Posts: 1581
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Status of Logic switch LI no longer displayed

Post by ReSt »

SInce the Git updates of 2019-07-30 the status of the IDx switch is shown on the system page that shows the status of hardware and logic switches. That shifted all the following LSx switches one position to the end, thereby loosing the last logic switch LI from the last subview.
The TRN switch display can be left out, as its status is shown with the color of the IDx switch, freeing one position in the chain of switches and allowing the LI switch to be shown again as the last switch

Reinhard
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 »

Around line 8140 of menus.cpp, change + 3 to + 4:

Code: Select all

#ifdef SWITCH_MAPPING
        uint8_t a = inputs_subview ;
				if ( a != 0 ) a = a * 6 + 4 ;		// 0, 9, 15
				switchDisplay( 2*FW-2, a ) ;
				switchDisplay( 17*FW-2, a+3 ) ;
and you will remove TRN and get LI back.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
ReSt
Posts: 1581
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: er9x development

Post by ReSt »

Thanks Mike

Reinhard
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 »

It looks like I've found a way to save 28 bytes of RAM, at a cost of around 50 bytes of flash.

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 »

Mike, isn't that bad for the m64? ;)

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 »

I saved several hundred bytes of flash on the M64 in the middle of last year, so using up 50 or so is OK. Saving 28 bytes of RAM is more useful, particularly on the M128 as that only has the same 4K of RAM as the M64, and it uses more.
I'm not sure what use I shall make of the RAM yet!

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
HuWo
Posts: 25
Joined: Fri May 22, 2020 12:43 am
Country: -

Re: er9x development

Post by HuWo »

Could you take it for improved telemetry handling maybe?
Hubert
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

I would think about that carefully :) For example, what features are currently limited due to RAM compared to the other processors?

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
dj2u
Posts: 15
Joined: Tue Oct 13, 2020 5:28 pm
Country: -

Re: er9x development

Post by dj2u »

Kotello wrote: Tue Oct 08, 2019 5:42 am The RF-module is working https://youtu.be/6DephUlm9Xw ;)
That is really great news!

It can use the internal RF module via SPI?
Is it possible to do AFHDS and AFHDS 2A? I just was about to buy this radio and just hesitated because there is no free software for it, in case the factory software is useless.

Thanks alot!

By the way... Is the source available somewhere?
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 »

Yes, using an internal RF module, implemented by AFHDS2A. AFHDS is not available yet.
The firmware has been working for a long time, I have not looked here for a long time.
At the moment, a project is being prepared for 2 transmitters I6 and I6X at once. This project will be published on GITHub.
The working version can be downloaded here - https://alnado.ru/forum/viewtopic.php?p=11305#p11305 (Russian forum).

Sorry, I use google translate :D
dj2u
Posts: 15
Joined: Tue Oct 13, 2020 5:28 pm
Country: -

Re: er9x development

Post by dj2u »

Kotello wrote: Tue Nov 17, 2020 9:01 pm Yes, using an internal RF module, implemented by AFHDS2A. AFHDS is not available yet.
The firmware has been working for a long time, I have not looked here for a long time.
At the moment, a project is being prepared for 2 transmitters I6 and I6X at once. This project will be published on GITHub.
The working version can be downloaded here - https://alnado.ru/forum/viewtopic.php?p=11305#p11305 (Russian forum).

Sorry, I use google translate :D

That sounds very interesting and don't worry about the language, my russian is pretty bad ;-)
dj2u
Posts: 15
Joined: Tue Oct 13, 2020 5:28 pm
Country: -

Re: er9x development

Post by dj2u »

Just read a couple of pages of the russian forum (thanks google), very interesting seems you really plan to squeeze out the optimum of the kinetis for V2.

I saw that the receivers like IA6B and X6B both have the same RF module as the TX, so I was thinking about using an RX as a TX module, but that's still just an idea, as I'm still stuck with my dumb 5ch flysky AFHDS system.

Thanks for your efforts
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 »

dj2u wrote: Tue Nov 17, 2020 11:47 pm
I saw that the receivers like IA6B and X6B both have the same RF module as the TX, so I was thinking about using an RX as a TX module

Thanks for your efforts
Indeed, a TX module can be made from the FS-IA6B receiver. I already did this for SANWA-SD6G (built-in was broken).
It is enough to flash the receiver, all the necessary contacts for connection are brought out.
The code was written based on - https://github.com/pascallanger/DIY-Mul ... -TX-Module

Thank you for your interest in my work ;)
dj2u
Posts: 15
Joined: Tue Oct 13, 2020 5:28 pm
Country: -

Re: er9x development

Post by dj2u »

Kotello wrote: Thu Nov 19, 2020 5:44 am
dj2u wrote: Tue Nov 17, 2020 11:47 pm
I saw that the receivers like IA6B and X6B both have the same RF module as the TX, so I was thinking about using an RX as a TX module

Thanks for your efforts
Indeed, a TX module can be made from the FS-IA6B receiver. I already did this for SANWA-SD6G (built-in was broken).
It is enough to flash the receiver, all the necessary contacts for connection are brought out.
The code was written based on - https://github.com/pascallanger/DIY-Mul ... -TX-Module

Thank you for your interest in my work ;)
I was thinking of adapting the multi module code for the receiver too. Do you have the schematics or the key pinouts of the receiver?(I'm lazy, so hoping I could do without tracking the pinout :-) )
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 »

There is no circuit and code ...
HDD,containing the project - went to heaven. :( :cry:
All over again....
dj2u
Posts: 15
Joined: Tue Oct 13, 2020 5:28 pm
Country: -

Re: er9x development

Post by dj2u »

Oh how great! :-(
Happens from time to time. always those hd which you think i should back up but well nothing will happen, i will secure it soon ;-)
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 »

FlySky I6X ;)
I6X2.jpeg
(90.94 KiB) Not downloaded yet
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

I try to backup most of my data in more than just 1 drive.. And even store them separately.

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
Wimh
Posts: 82
Joined: Wed Dec 28, 2011 1:41 pm
Country: Belgium
Location: Vliermaal, Belgium
Contact:

Re: er9x development

Post by Wimh »

Kotello wrote: Tue Nov 17, 2020 9:01 pm Yes, using an internal RF module, implemented by AFHDS2A. AFHDS is not available yet.
The firmware has been working for a long time, I have not looked here for a long time.
At the moment, a project is being prepared for 2 transmitters I6 and I6X at once. This project will be published on GITHub.
The working version can be downloaded here - https://alnado.ru/forum/viewtopic.php?p=11305#p11305 (Russian forum).
Great! Could you (or somebody else...) explain how to load the hex file onto the I6? Can I use the programmer and software from Flysky?
Wim
Belgium
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 »

Wimh wrote: Mon Nov 30, 2020 2:46 pm Can I use the programmer and software from Flysky?
No, you need a J-Link programmer, the same or similar https://aliexpress.ru/item/400014306829 ... 0433160714
Programmer software for Windows https://drive.google.com/file/d/1kMFnsv ... sp=sharing
Firmware V1.11 -
FS-I6_ER9X.hex
(176.95 KiB) Downloaded 240 times
User avatar
Wimh
Posts: 82
Joined: Wed Dec 28, 2011 1:41 pm
Country: Belgium
Location: Vliermaal, Belgium
Contact:

Re: er9x development

Post by Wimh »

Thanks, I found the instructions in the Russian thread you linked and translated them to English with the help of Google. If there are no obvious mistakes, I'll clean it up a bit...
Attachments
ER9XFlySky I6En.docx
(2.38 MiB) Downloaded 339 times
Wim
Belgium
User avatar
Wimh
Posts: 82
Joined: Wed Dec 28, 2011 1:41 pm
Country: Belgium
Location: Vliermaal, Belgium
Contact:

Re: er9x development

Post by Wimh »

MikeB wrote: Fri Sep 20, 2019 10:36 pm What processor is in that transmitter?

Mike
From the above manual it looks like a Cortex M0...
Wim
Belgium
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 »

Wimh wrote: Wed Dec 02, 2020 10:38 am Thanks, I found the instructions in the Russian thread you linked and translated them to English with the help of Google. If there are no obvious mistakes, I'll clean it up a bit...
Thanks for the translation, did you try to reflash the transmitter?

Post Reply

Return to “er9x”