Page 105 of 106

Re: er9x development

Posted: Fri Sep 20, 2019 2:55 pm
by bob195558
Cool !

Re: er9x development

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

Mike

Re: er9x development

Posted: Sat Sep 21, 2019 2:06 am
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

Re: er9x development

Posted: Sat Sep 21, 2019 4:10 am
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

Re: er9x development

Posted: Sat Sep 21, 2019 4:28 am
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)

Re: er9x development

Posted: Sun Sep 22, 2019 3:54 pm
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! ;)

Re: er9x development

Posted: Tue Oct 08, 2019 5:42 am
by Kotello
The RF-module is working https://youtu.be/6DephUlm9Xw ;)

Status of Logic switch LI no longer displayed

Posted: Mon Jan 06, 2020 10:53 pm
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

Re: er9x development

Posted: Mon Jan 06, 2020 11:57 pm
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

Re: er9x development

Posted: Tue Jan 07, 2020 8:40 am
by ReSt
Thanks Mike

Reinhard

Re: er9x development

Posted: Tue Jun 23, 2020 10:28 pm
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

Re: er9x development

Posted: Wed Jun 24, 2020 10:47 am
by jhsa
Mike, isn't that bad for the m64? ;)

João

Re: er9x development

Posted: Wed Jun 24, 2020 1:45 pm
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

Re: er9x development

Posted: Wed Jun 24, 2020 11:59 pm
by HuWo
Could you take it for improved telemetry handling maybe?
Hubert

Re: er9x development

Posted: Thu Jun 25, 2020 2:17 pm
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

Re: er9x development

Posted: Tue Nov 17, 2020 6:57 pm
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?

Re: er9x development

Posted: Tue Nov 17, 2020 9:01 pm
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

Re: er9x development

Posted: Tue Nov 17, 2020 11:20 pm
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 ;-)

Re: er9x development

Posted: Tue Nov 17, 2020 11:47 pm
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

Re: er9x development

Posted: Thu Nov 19, 2020 5:44 am
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 ;)

Re: er9x development

Posted: Thu Nov 19, 2020 11:41 pm
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 :-) )

Re: er9x development

Posted: Fri Nov 20, 2020 5:37 am
by Kotello
There is no circuit and code ...
HDD,containing the project - went to heaven. :( :cry:
All over again....

Re: er9x development

Posted: Fri Nov 20, 2020 9:10 am
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 ;-)

Re: er9x development

Posted: Mon Nov 30, 2020 5:32 am
by Kotello
FlySky I6X ;)
I6X2.jpeg
(90.94 KiB) Not downloaded yet

Re: er9x development

Posted: Mon Nov 30, 2020 10:39 am
by jhsa
I try to backup most of my data in more than just 1 drive.. And even store them separately.

João

Re: er9x development

Posted: Mon Nov 30, 2020 2:46 pm
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?

Re: er9x development

Posted: Tue Dec 01, 2020 6:22 pm
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 248 times

Re: er9x development

Posted: Wed Dec 02, 2020 10:38 am
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...

Re: er9x development

Posted: Wed Dec 02, 2020 3:59 pm
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...

Re: er9x development

Posted: Thu Dec 03, 2020 2:16 pm
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?