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

More
07 Jun 2016 00:40 #50069 by john
Hope on rc group will update soon for this protocol . Great

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

More
08 Jun 2016 09:38 #50168 by povlhp
Followed the instructions, updated one FS-iA6B. My soldering iron loosened one of the print traces in the process, but I still managed to solder to the dangling piece and upgrade. Will use probes next time. My External battery sensor still works on FS-i6. Will use some probes for next attempt, and no solder. Or just tape 2 soldered wires on the board.
Can confirm 8 channels with TGY-i6 and 10-channel firmware.

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

More
08 Jun 2016 09:55 #50169 by povlhp
goebish, is your patches in the nightly build ?

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

More
08 Jun 2016 09:59 #50170 by goebish
If you mean the AFHDS2A protocol for Deviation, no it's still not in master branch because it's not finished yet, I still have to do a few things .

Here's the latest test build:
www.deviationtx.com/forum/protocol-devel...-it4?start=140#49523

And the branch I'm working on, if you want to build it yourself:
github.com/goebish/deviation/tree/protocol_afhds2a

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

More
10 Jun 2016 15:21 #50334 by Evil Pusher
Replied by Evil Pusher on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
@ goebish :)

Today is the day. The 3 in 1 module arraived - and it´s installed in the devo 6 - Please, I like to test the AFHDS 2A - may I ask for an Devo 6 Testbuild?

Thank you :cheer:

D.I.Y. or die

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

More
13 Jun 2016 18:55 #50552 by Arise
Hi, just registered after checking out this topic.

Can anyone please explain in very simple steps the difference between old AFHDS and the new AFHDS 2A? I know that there is also two way, but what means the 2A compared with the original AFHDS?

Also, is there any document describing how the communication AFHDS 2A works? I'm interested in the RX side, more than the TX side.

Also, something completely different, I also have a TGY-i10 with TGY-iA10 module. On the TGY TX, the firmware I believe is stored in a SPI chip which can be dumped with a basic SPI programmer. Also, if someone can provide a dump from a Flysky TX, I can try to crossflash it on my TGY-i10 for testing. Thanks!

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

More
13 Jun 2016 20:09 #50555 by goebish
Hi,

AFHDS 2A is a completely new protocol compared to AFHDS.

I've not written a description yet, but you can have a look at the TX code already, that should be enough to code the RX side:
github.com/goebish/deviation/blob/protoc...ysky_afhds2a_a7105.c

The eeprom in the i10 is used to store model settings, not the firmware itself, which is stored in the MCU flash.

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

More
13 Jun 2016 20:26 #50557 by Arise
But the eeprom is pretty big (there is some serious data there), it can't be only the models. The models saved on the SDCard storage are like 113bytes or something I think.

Thanks for the code, I'll look over it to see what I can understand.

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

More
13 Jun 2016 20:28 #50558 by goebish
Maybe the eeprom also contains RX firmware for over the air update.

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

More
13 Jun 2016 21:59 #50560 by 2black0
can we get RSSI output if flash ia6b with the new firmware?

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

More
13 Jun 2016 22:00 #50561 by goebish
Yes, but only on the i10 or Deviation.

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

More
13 Jun 2016 22:34 #50565 by goebish

Evil Pusher wrote: @ goebish :)

Today is the day. The 3 in 1 module arraived - and it´s installed in the devo 6 - Please, I like to test the AFHDS 2A - may I ask for an Devo 6 Testbuild?

Thank you :cheer:


Oh, sorry but I missed your message, email notification doesn't work sometimes ...
Here it is: www.dropbox.com/s/7vjjufhcesddc8m/deviat...0.0-eafe016.zip?dl=1

I'll try to code the complete telemetry model next week end.

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

More
13 Jun 2016 23:47 - 13 Jun 2016 23:50 #50568 by 2black0

goebish wrote: Yes, but only on the i10 or Deviation.


No I mean, rssi pinout for OSD :)
Last edit: 13 Jun 2016 23:50 by 2black0. Reason: Edit

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

More
14 Jun 2016 07:08 - 14 Jun 2016 07:49 #50588 by goebish
Ah Ok, looks like it can be done, no need to update the firmware as it's using error rate, but it's not a direct output from a pin, you'll have to use an attiny85 connected to the a7106 module:
www.insidegadgets.com/2015/11/25/extract...osd-for-fpv-display/
Last edit: 14 Jun 2016 07:49 by goebish.

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

More
14 Jun 2016 11:46 #50598 by Evil Pusher
Replied by Evil Pusher on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
@goebish

THX - great work.
FW is installed on Devo 6 - and works asf. I will start testing tonight.

How should I report?

Thank you. :)

D.I.Y. or die

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

More
14 Jun 2016 11:57 - 14 Jun 2016 11:59 #50600 by goebish
There's nothing much to report for now, next things to check will be telemetry settings and monitor once I've written stuffs specific to this protocol, I hope I'll have some free time for that next week end.

My new toy (the HackRF one) is eating most of my free time right now ;)

(OOT but I had to post that, I'm finally able to decode packets from a xn297 with the HackRF + some custom code \o/)
File Attachment:
Last edit: 14 Jun 2016 11:59 by goebish.

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

More
14 Jun 2016 13:39 #50604 by 2black0

goebish wrote: Ah Ok, looks like it can be done, no need to update the firmware as it's using error rate, but it's not a direct output from a pin, you'll have to use an attiny85 connected to the a7106 module:
www.insidegadgets.com/2015/11/25/extract...osd-for-fpv-display/


because there are PPM and IBUS, we dont need CH6 anymore, so can you generate RSSI pinout in CH6 and can directly connected with OSD :D

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

More
14 Jun 2016 13:40 - 14 Jun 2016 13:42 #50605 by goebish
Sorry but I can't, that's too much work, and not easy at all !
Programming an attiny85 and connecting it into the iA6B is easy anyway, you should try this route if you really need a RSSI output for your OSD.
Last edit: 14 Jun 2016 13:42 by goebish.

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

More
14 Jun 2016 14:00 #50607 by HappyHarry
Replied by HappyHarry on topic Flysky AFHDS 2A, protocol as used i10, i6, iT4,
goebish do you have a blog or anything where you are posting your findings with the hackrf?

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

More
14 Jun 2016 14:56 #50614 by goebish
I don't have a blog, I wouldn't have much to teach for now anyway, I'm just a beginner at SDR ;)

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

Time to create page: 0.108 seconds
Powered by Kunena Forum