HiSky release candidate for testing

More
13 Dec 2013 08:02 #16569 by victzh
HiSky release candidate for testing was created by victzh
These are new dev builds, Devo7E without standard GUI.

HiSky is implemented satisfactorily, but I need it tested on more models than my only Q-BOT and tested for interference. If you have 2 Devos or original HiSky transmitter, please test that they don't interfere.
Attachments:

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

More
13 Dec 2013 08:18 #16570 by SeByDocKy
Replied by SeByDocKy on topic HiSky release candidate for testing

victzh wrote: These are new dev builds, Devo7E without standard GUI.

HiSky is implemented satisfactorily, but I need it tested on more models than my only Q-BOT and tested for interference. If you have 2 Devos or original HiSky transmitter, please test that they don't interfere.


I just test with my V922 (HiSky) and my V252 (V2x2) it's binding perfectly and flew smooth ..

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

More
13 Dec 2013 08:37 #16571 by Babay
Replied by Babay on topic HiSky release candidate for testing
Tested with V933 (FBL80). After the old patch it took bind again. Everything else works fine.

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

More
13 Dec 2013 17:48 #16584 by victzh
Replied by victzh on topic HiSky release candidate for testing
Thanks! It was accepted and should be in nightly builds.

The bind behavior was expected - I tweaked frequency hopping algorithm and correspondence between TX id and internal protocol id.

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

More
13 Dec 2013 18:43 #16586 by SeByDocKy
Replied by SeByDocKy on topic HiSky release candidate for testing

victzh wrote: Thanks! It was accepted and should be in nightly builds.

The bind behavior was expected - I tweaked frequency hopping algorithm and correspondence between TX id and internal protocol id.



I tested also like this :

my V922 controled by your build while my V944 controled by stock TX. Working perfectly togather :)

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

More
13 Dec 2013 19:03 #16588 by victzh
Replied by victzh on topic HiSky release candidate for testing
Thanks! That's encouraging.

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

More
13 Dec 2013 22:32 - 13 Dec 2013 22:34 #16603 by HappyHarry
Replied by HappyHarry on topic HiSky release candidate for testing
thanks for your work victzh, but do you have a patch based on the nightlies, or even a link to your repo?, as i use the standard ui because i have no need for the complexity of the advanced ui for my micro heli's
Last edit: 13 Dec 2013 22:34 by HappyHarry.

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

More
13 Dec 2013 22:50 #16604 by PhracturedBlue
Replied by PhracturedBlue on topic HiSky release candidate for testing
victzh,
Can you replace the 64bit match with 32bit math in the hisky protocol?
The 64bit math gets optimized in funky ways depending on the compiler and is not reliably built for Devo7e.
This appears to just be for generating a unique id, in which case it shoyuld be easy to use an alternative implementation.

Also, this is not ok to be in the protocol code:
#ifndef USE_FIXED_MFGID
    // Every STM32 should have 12 bytes long unique id at 0x1FFFF7E8
    u8 *stm32id = (u8*) 0x1FFFF7E8;
    printf("Manufacturer id: ");
    for (int i = 0; i < 12; ++i) {
        printf("%02X", *stm32id);
        update_lfsr(*stm32id++);
    }
    printf("\r\n");
#endif
There should be nothing processor-dependent in the protocol code. If you want a unique-id, define a new function in common_devo and access that from here

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

More
14 Dec 2013 03:52 #16606 by PhracturedBlue
Replied by PhracturedBlue on topic HiSky release candidate for testing
I made some changes to the hisky LFSR stuff. Hopefully I didn't break anything.

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

More
14 Dec 2013 08:11 #16612 by victzh
Replied by victzh on topic HiSky release candidate for testing
OK, I'll check it. It is hard to break - I just needed 5 byte randomized address and 4 bytes for frequency hopping sequence. As this sequence is passed explicitly during binding, it does not matter how it is generated. If these bytes random enough, it's OK.

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

More
14 Dec 2013 08:20 #16613 by victzh
Replied by victzh on topic HiSky release candidate for testing
@PhracturedBlue, I think what you've done is great. If you don't mind I will replace CRC of Model and Transmitter in SLT and V202 code with similar to what is done in HiSky.

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

More
14 Dec 2013 08:22 #16614 by victzh
Replied by victzh on topic HiSky release candidate for testing
@HappyHarry, nighlies should get this code by now, and as far as I understand they have Standard GUI as PhracturedBlue uses different compiler that can build it.

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

More
14 Dec 2013 09:55 #16617 by SeByDocKy
Replied by SeByDocKy on topic HiSky release candidate for testing

victzh wrote: @HappyHarry, nighlies should get this code by now, and as far as I understand they have Standard GUI as PhracturedBlue uses different compiler that can build it.


Do you confirm that the fixed HiSky and V2x2 protocol are now in the last nightly build ?

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

More
14 Dec 2013 18:28 #16625 by SeByDocKy
Replied by SeByDocKy on topic HiSky release candidate for testing
I flew outdoors 3 lipos with my V922. The connexion is solid and smooth. Reaching 50m without any problem ...

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

More
14 Dec 2013 19:03 #16630 by blackmoon
Replied by blackmoon on topic HiSky release candidate for testing
What a great news, and in the nightlies to.

Thank you very much for you commitment in the protocol area Victor :D

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

More
14 Dec 2013 19:37 #16631 by victzh
Replied by victzh on topic HiSky release candidate for testing
@SeByDocKy what do you mean by fixed V202? The repeatedly fast binding error? No, I still did not have a chance to look at it, but as it is minor and don't affect the flight you can use V202 with no other problems.

@blackmoon thanks, but all this would be impossible without much larger effort of PhracturedBlue, rbe2012, FDR, and many others.

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

More
14 Dec 2013 20:26 - 14 Dec 2013 20:40 #16632 by HappyHarry
Replied by HappyHarry on topic HiSky release candidate for testing
just back from the field and another success report, an fbl80 with devo7e/deviation and an v922 with a jr dsm9x with a wl-t6 module both flying at the same time with no problems.

thanks so much for your work on this protocol victzh B)
Last edit: 14 Dec 2013 20:40 by HappyHarry.

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

More
14 Dec 2013 20:52 #16637 by victzh
Replied by victzh on topic HiSky release candidate for testing
Just to remind everybody, even the protocol work is not fully mine - I used a piece from suvsuv repo. My own reverse engineering effort for HiSky was not that advanced by the time I learned there is already working implementation that just needs finishing up.

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

More
14 Dec 2013 22:57 #16643 by HappyHarry
Replied by HappyHarry on topic HiSky release candidate for testing
then thanks to suvsuv and victzh for the work on the hisky protocol :)

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

More
15 Dec 2013 08:29 #16651 by SeByDocKy
Replied by SeByDocKy on topic HiSky release candidate for testing

HappyHarry wrote: then thanks to suvsuv and victzh for the work on the hisky protocol :)



Yes !!!! Great job :) Looking forward also SLT protocol ...
I never use it. Is it more the same than DSM2/DSMX in range performance ?

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

Time to create page: 0.062 seconds
Powered by Kunena Forum