Futaba S-FHSS

More
21 Mar 2016 23:40 #44949 by victzh
Futaba S-FHSS was created by victzh
First version of implementation of Futaba's S-FHSS protocol reverse engineered using third party hardware, XK and Orange, is in pull requests.

It's my small anniversary - 10th protocol I either reversed, or actively participated in reversing.

It's also a new chip for me - CC2500. All my previous protocols used nRF24L01.

Enjoy!

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

More
22 Mar 2016 00:33 #44953 by dc59
Replied by dc59 on topic Futaba S-FHSS
Excellent Victzh!
Thanks for great job. :lol: :lol: :lol:

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

More
22 Mar 2016 00:38 #44955 by victzh
Replied by victzh on topic Futaba S-FHSS
It's already merged, should be in nightly builds tonight or tomorrow.

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

More
22 Mar 2016 00:42 #44956 by dc59
Replied by dc59 on topic Futaba S-FHSS
Did you get T10J ??

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

More
22 Mar 2016 00:46 #44957 by victzh
Replied by victzh on topic Futaba S-FHSS
No. Actually, bundled receivers support only T-FHSS, and though transmitter can use S-FHSS, I can't verify my code against genuine receiver.

So I'm still thinking.

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

More
22 Mar 2016 01:04 #44958 by C0ckpitvue 777
Replied by C0ckpitvue 777 on topic Futaba S-FHSS
Congrats and great job Vic,your hard work and diligence is very much appreciated.Thank you for making deviation aviation a awesome flying experience for all of us hobbyist.Also happy anniversary in implementing protocols.God bless.

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

More
22 Mar 2016 08:36 #44972 by Fernandez
Replied by Fernandez on topic Futaba S-FHSS
Well done !! Congratulations !! You are the master "digital puzzling" !

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

More
22 Mar 2016 10:27 #44976 by cewece
Replied by cewece on topic Futaba S-FHSS
So cool, thank your very much!

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

More
22 Mar 2016 13:02 #44978 by mtx63
Replied by mtx63 on topic Futaba S-FHSS
a new away trex 150 with DEVO 7E

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

More
23 Mar 2016 01:04 #45015 by gongye
Replied by gongye on topic Futaba S-FHSS
good !

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

More
23 Mar 2016 03:13 #45023 by RoGuE_StreaK
Replied by RoGuE_StreaK on topic Futaba S-FHSS
Anyone know if this is the same as the FHSS used in the Tamiya Finespec pistol TXs ? Their 4-channel "Attack" TX lists an alternate RX as the Futaba R204GF-E , which says it's S-FHSS, so don't know if the Finespec would be using the same FHSS protocol?

If so, would one of the cheapie non-PA CC2500's have enough range to cover a typical RC car track? ie. well less than 50m distance? My wife got me a re-release Tamiya Hornet a while ago and it came with the Finespec, would love to be able to choose either the finespec OR my Devo.
Alternately, can one of the cheapie CC2500's and an arduino be used to receive the Finespec if this protocol is now known? I could then retro-fit my "vintage" Tamiya Frog with a cross-compatible diy receiver rather than using DSM2...

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

More
23 Mar 2016 06:17 #45031 by victzh
Replied by victzh on topic Futaba S-FHSS
Check this list - www.futabarc.com/receivers/fhss-s-fhss-compat.html - it says that R204GF-E is S-FHSS compatible.

If Tamiya implemented two protocols - their own and S-FHSS - then their native receivers can be incompatible. So it's for you to test it!

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

More
23 Mar 2016 21:11 #45062 by FDR
Replied by FDR on topic Futaba S-FHSS
I got this error when I tried to build the Windows emulator:
+ Compiling 'protocol/sfhss_cc2500.c'
protocol/sfhss_cc2500.c: In function 'build_data_packet':
protocol/sfhss_cc2500.c:209:5: error: initializer element is not constant
make: *** [objs/emu_devo8-w32/sfhss_cc2500.o] Error 1

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

More
23 Mar 2016 21:13 #45063 by victzh
Replied by victzh on topic Futaba S-FHSS
I'll fix it tonight. Just wanted to use consts instead of defines, it appears not all compiler can propagate constness correctly.

Sorry for this mess!

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

More
23 Mar 2016 22:45 #45065 by victzh
Replied by victzh on topic Futaba S-FHSS
Please try again. Should work now.

Out of curiosity, what compilers fail on this? My GCC 4.7.0 20111219 did not even squeak. And rightfully so, the "offending" declaration is perfectly valid.

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

More
24 Mar 2016 05:09 #45073 by FDR
Replied by FDR on topic Futaba S-FHSS
It's OK now.
I use a MinGW environment on Windows, wich is quite old: I installed it when this project started, so the gcc version is 4.6.2... :oops:
Should I update it?

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

More
24 Mar 2016 05:47 #45075 by victzh
Replied by victzh on topic Futaba S-FHSS
Apparently my compiler understands const expressions better. I updated the compiler only when I moved to another machine - you never know when it breaks. @mwm set up compilation environment for continuous integration, we probably need to ask him what he uses.

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

More
24 Mar 2016 05:55 #45076 by FDR
Replied by FDR on topic Futaba S-FHSS
So you might not get this warning either, do you?
+ Compiling 'target/common/emu/radio.c'
target/common/emu/radio.c: In function 'MCU_GetPinName':
target/common/emu/radio.c:106:22: warning: comparison between signed and unsigne
d integer expressions [-Wsign-compare]

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

More
24 Mar 2016 15:59 #45097 by victzh
Replied by victzh on topic Futaba S-FHSS
No, I don't see this either. I don't build the emulator - I work on protocols only and I don't need it.

And I did not touch this code, but it should be trivial to fix. Try replacing line 106:
         if(port->pin == (1 << i)) {
with
         if(port->pin == (1u << i)) {

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

More
24 Mar 2016 17:40 #45105 by FDR
Replied by FDR on topic Futaba S-FHSS
Oh no problem, I just tried to investigate what other differences my old gcc can cause.
It's just a warning anyway...

...but it would be interesting what other differences might be there...

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

Time to create page: 0.066 seconds
Powered by Kunena Forum