Flysky AFHDS 2A, protocol as used i10, i6, iT4,

More
26 May 2016 17:03 #49296 by Alexandro
Replied by Alexandro on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
ok, good to know that it is not included at Ver. 1.3

Please Log in or Create an account to join the conversation.

More
26 May 2016 17:32 #49299 by Evil Pusher
Replied by Evil Pusher on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
Hello Alexandro,

my TGY-i10 supports the channel expander on iA6B AND iA10 RX - in TX menue RX setup you have to choose the menu ibus setup. So your are able to allocate. The differnce between TGY-i6 and TGY i10 TX is just, the i6 add channels to it´s menu, the i10 stays at 10 channels. So it do has the Servo-bus.

All of this is for the TGY-i10 FW 1.07 (not the FW 1.07 "freerider".

greetings
Andreas

D.I.Y. or die

Please Log in or Create an account to join the conversation.

More
26 May 2016 17:46 #49300 by Evil Pusher
Replied by Evil Pusher on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
For the iA6B also for the iA10 the TX shows only error rate in percent. (Menu RX setup -> range test -> hold trainer-switch.
So it´s different in the GUI of the TX´s.

The iA6 does nothing.

checked on TGY-i10 FW 1.07 (not the freerider of the 1.07).

By the way, perhaps it might be helpfull, at HK I posted some informations about the "Factory Mode" www.hobbyking.com/hobbyking/store/__5845...lemetry_Mode_2_.html

A N D - oh - a new firmware for the TGY-i10 is out - you will see on the same link. I will test...............Perhaps there are also updates for the RX´s in.

I´ll come back, when checked
........

Andreas

D.I.Y. or die

Please Log in or Create an account to join the conversation.

More
26 May 2016 18:37 #49306 by Evil Pusher
Replied by Evil Pusher on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
OKAY,

FW update TGY1.07 -> 1.08 is done. So I have to correct my last post. (Sorry).

Also as aspected - FW update for the iA10 RX, Information was displayed direct after binding TX/RX
Also update for the iA6B RX. (FW 1.4 to FW 1.8 - for both)

TGY-i10 now shows RSSI . It´s displayed for RX iA10 and RX iA6. Also new - RSSI is displayed in the main screen.
When choosing [RX-setup] -> [display sensors], the signal strength (10 highes), RSSI -60 dBm, Noise -108 dBm and SNR 48 dB is displayed...

Now it has an new menue for s.bus - can´t test this - sorry no equipment for this.

Also a new menu "sprectrum analyser" - nice.

old menu "i-setup" is gone - I guess this was any test for s.bus menu

RX iR4 is still not supported - AFHDS 2 - that´s the same as goebish explained.

Sorry for talking about "old" FW 1.07 in my las post of the TGY i10 - update was from 19.05.2016....

Greetings

D.I.Y. or die

Please Log in or Create an account to join the conversation.

More
28 May 2016 14:20 #49435 by Fernandez
Replied by Fernandez on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
I received my IA6B receiver anything that needs to be tested with devo 7e?
Whats the latest build, as I like to keep also Frsky X protocol.

Please Log in or Create an account to join the conversation.

More
28 May 2016 14:21 #49436 by goebish

Please Log in or Create an account to join the conversation.

More
28 May 2016 21:55 - 28 May 2016 22:08 #49449 by Fernandez
Replied by Fernandez on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
Hi Goebish, I tested your release as posted above with my devo 7e

I binds and works! Seems to very quickly lock!
I tested FS-IA6B, to bind you must power it with bindplug in B/Vcc port, powering on with the receiver switch pushed doesn't work.
Servo in the channels works!

Then I tested I-bus output , using Raceflight / Betaflight, the CLI command is:
set serialrx_provider = IBUS
save
All 8 channels are working. (I can test more there seem to be max 14 channels possible with ibus)

then about scale, -100 +100 (default) result in 1000 - 2000, is defaults for Raceflight Betaflight.
when setting Scale -125 +125 result in 900 - 2100, is the max as higher and signal will overflow.

Telemetry, I only see the Rx =voltage in my case 4.78V it seems stable and reliable.
I do not see RSSI, or signal quality


Could you explain about the settings;
PPM ON/OFF? Does it mean you can switch port 1 on Rx, to output ppm, or channel 1? (PPM not tested by me yet)
I tried it but when set ppm on, a standard servo still works in channel 1, so not sure...

Servo Hz, default 50. Is it the over the air transmission of updates? So should I set to 400hz? Or is it Rx output rate
to Servo? When set to 400Hz reboot 7e, at least can confirm servo and I bus still works like when set to 50Hz.

RXID1 What does it mean
RXID2 what does it mean
No Failsave Feature

I will also mod my RX, that instead of Regulated Rx voltage you can monitor 1 external voltage, the quad flight pack and generate alarm for empty pack. Described here:
www.rcgroups.com/forums/showpost.php?p=33432940&postcount=23


Ohh one more thing; the firmware above as tested 7e 5.0.0 b0020095, there is some bugs in the menus and I sometimes can't escape/exit menu's.
I then need to restart my 7e to get away from the menu.
Last edit: 28 May 2016 22:08 by Fernandez.

Please Log in or Create an account to join the conversation.

More
28 May 2016 22:07 - 28 May 2016 22:27 #49450 by goebish

Fernandez wrote: when setting Scale -125 +125 result in 900 - 2100, is the max as higher and signal will overflow.

That's me who limited to those values to not damage my servos during my tests, I'll check what's the actual min/max it can handle.

I do not see RSSI, or signal quality

That's normal, you have to update the iA6B to firmware 1.6 to get RSSI in dB, but I'll add signal quality (error rate).

Could you explain about the settings;
PPM ON/OFF? Does it mean you can switch port 1 on Rx, to output ppm, or channel 1? (PPM not tested yet)

That's to enable PPM on Rx output 1.

Servo Hz, default 50. Is it the over the air transmission of updates? So should I set to 360hz? Or is it Rx output rate
to Servo?

That's servo PWM refresh rate for servos.

RXID1 What does it mean
RXID2 what does it mean

That's the RX ID, as the name says ;) It's sent by the RX during bind, it's not meant to be modified by the user but I have no other place to store it for now... I opened a thread about that, we need hidden options in Deviation.

No Failsave Feature

I'll add it, just that I did not have enough free time this week-end to work on it :(

I will also mod my RX, that instead of Regulated Rx voltage you can monitor 1 external voltage, the quad flight pack and generate alarm for empty pack. Described here:
www.rcgroups.com/forums/showpost.php?p=33432940&postcount=23

I'll add telemetry for external i-bus sensors (voltage, temperature, magnetic & ir RPM).

Ohh one more thing; the firmware above as tested 7e 5.0.0 b0020095, there is some bugs in the menus and I sometimes can't escape/exit menu's.
I then need to restart my 7e to get away from the menu.

That's a bug in current nightly, a lot of stuffs are rewritten currently, bugs are expected ;)
Last edit: 28 May 2016 22:27 by goebish.

Please Log in or Create an account to join the conversation.

More
28 May 2016 22:09 #49451 by Fernandez
Replied by Fernandez on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
Ah, I just edited my post....

Please Log in or Create an account to join the conversation.

More
28 May 2016 23:36 #49452 by dc59

goebish wrote:
That's normal, you have to update the iA6B to firmware 1.6 to get RSSI in dB, but I'll add signal quality (error rate).


Hi Goebish,
Where can I find some info. about iA6B firmware update,would you give me a link?
Thanks a lot. :P

Please Log in or Create an account to join the conversation.

More
29 May 2016 06:25 #49467 by Evil Pusher
Replied by Evil Pusher on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
@ dc59

The firmware for the iA6B comes within the FW for the i10 TX. So first download this and update the TX.

After this the iA6B receiver update (for Turnigy i10 actually V 1.8) will be done by the TGY-i10 TX. Take care for the different firmwares for different resellers - this is for the Turnigy i10.
You don´t have to push the button [update] on the receiver (next to LED for iA6B or for iA10 the button on the buttom side).

- receiver has to be already binded to the TX.
- Choose menu [RX Setup]
- scroll down to last menu [Update receiver]
- press [Yes]
- See what happens . The TX is displaying the last and the new FW version - or, if the there is no newer RX FW, it will display "FW is already the newest....or so...".

Further I tried to find out the RX-ID by using the i10 GUI, as by using the Factory Mode.
Can´t find any menu in user GUI. So switched to the Factory Mode.
www.hobbyking.com/hobbyking/store/upload...8233211X433170X2.pdf

There you will find in menu [Production Information] - [Radio Information] the option to display the TX and RX ID - BUT: for all receivers (iA6, iA6B and also for iA10) the RX ID is all the time "0" - whatever this is telling us??? :blink:

Success. :)

D.I.Y. or die

Please Log in or Create an account to join the conversation.

More
29 May 2016 08:18 #49472 by Fernandez
Replied by Fernandez on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
Goebish full credits for your work, thanks man !!
First results look very promising !


I do not own any i10, but it sounds pretty "state of the art" to update receiver over the air !
If there is no other means to flash the Rx from a pc, hmmmm.......

Please Log in or Create an account to join the conversation.

More
29 May 2016 08:47 - 29 May 2016 08:48 #49474 by dc59
@Evil Pusher
Thank you so much!
But I have only i6 TX, I don't have an i10 , that's too bad! :(
I checked my i6 RX menu, there is no [Update receiver] item. :oops:
Last edit: 29 May 2016 08:48 by dc59.

Please Log in or Create an account to join the conversation.

More
29 May 2016 09:01 - 29 May 2016 09:04 #49477 by Fernandez
Replied by Fernandez on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
Wondering how that works, Tx sends command to Rx > Rx to go to flash mode, than Rx it waits for file being transferred from Tx to Rx, when transfer ready it flashes the Rx?

As mentioned PPM on/off from devo 7e, in my case cppm on channel 1 of the Rx, I still be able to control standard servo, so I doubt cppm enabling works.
Last edit: 29 May 2016 09:04 by Fernandez.

Please Log in or Create an account to join the conversation.

More
29 May 2016 09:07 - 29 May 2016 09:09 #49478 by goebish
Looks like the RXs are STM32 based and have a SWD header and pads (at least this is the case in the iA10 I have), I'll check if that's possible to extract the firmware with a SWD dongle (stlink v2), but there are chances it is read protected :(

CPPM is working when I enable it with an iA10, I should get an iA6B to make tests with it ...
Last edit: 29 May 2016 09:09 by goebish.

Please Log in or Create an account to join the conversation.

More
29 May 2016 09:30 #49480 by Evil Pusher
Replied by Evil Pusher on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
@dc59 - did you tried the [update] button on the receivers itself? Perhaps this my start an RX update....

@ goebish - yes, the iA10 is based on the stm32.......

www.dropbox.com/sh/6is2ozp4vgxhthw/AAC24...xzs32qxkNqYqzsa?dl=0 Pic inside ;)

D.I.Y. or die

Please Log in or Create an account to join the conversation.

More
29 May 2016 10:09 - 29 May 2016 10:56 #49481 by goebish
Wow, I can't believe it, I tried to extract the firmware from my (erm, Alexandro's) iA10 without much hope, and looks like it has worked :)







Note I didn't dare to reflash it to the iA10 as:
1) it isn't mine ;)
2) that's the only one I have to work with

So it may be possible to extract the firmware from an updated iA6B (hoping it's STM32 based as well) then flash it to another iA6B with a PC and ST-Link V2 dongle ($3 on ebay), not requiring an actual TGY/FlySky transmitter.

Anyone here with an updated iA6B and a ST-Link V2 dongle ?

Please don't post extracted firmware files here as it might be against the forum rules.
I'll try to check if it can be extracted from a transmitter update file, that would be a "legal" way to obtain it.

edit: only issue I can see is that it will create RXs with duplicated RX ID (well, not a big deal...), but I may be able to find at which offset is the ID in the .bin to change it ...

edit 2: it's located at offset 0x1C00 for iA10 firmware :) (4 bytes)
Last edit: 29 May 2016 10:56 by goebish.

Please Log in or Create an account to join the conversation.

More
29 May 2016 11:24 - 29 May 2016 11:25 #49483 by john
woa , super coder .
firmware RX i10 ?
Last edit: 29 May 2016 11:25 by john.

Please Log in or Create an account to join the conversation.

More
29 May 2016 11:25 #49484 by goebish
That's nothing to be proud of, just very basic hacking, I was lucky that the MCU isn't read protected ;)

Please Log in or Create an account to join the conversation.

More
29 May 2016 12:42 #49487 by Evil Pusher
Replied by Evil Pusher on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
@ goebish,
yes, the iA6B has an STM32.......

You will have an iA10 and an iA6B within the next days (DHL - Tracking comes tomorrow by PM). So, you may do with it whatever you like.

I have an ST-Link V2 STM8 STM32 USB Programmer 3,3V 5V SWD 212





just ordered. :cheer:

D.I.Y. or die
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.098 seconds
Powered by Kunena Forum