What about Assan?

More
07 Jan 2017 23:42 #57654 by goebish

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

More
07 Jan 2017 23:44 #57655 by goebish
Replied by goebish on topic What about Assan?
Also, after flashing the .dfu, don't forget to update/overwrite the protocol folder on the file system.

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

More
07 Jan 2017 23:49 #57656 by TF824
Replied by TF824 on topic What about Assan?
Thanks.
So should I try this one for my Devo7E ? (added NRF24L01 and CC2500 modules also added Two 3 position SW).

The most recent one is
www.deviationtx.com/downloads-new/catego...e-v5-0-0-f395b75-zip

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

More
07 Jan 2017 23:50 #57657 by goebish
Replied by goebish on topic What about Assan?
Yes.

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

More
07 Jan 2017 23:54 #57658 by TF824
Replied by TF824 on topic What about Assan?
My mistake,,, My Devo7E is modified so should I use with 256 this one?
deviation-devo7e-256-v5.0.0-f395b75

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

More
07 Jan 2017 23:57 #57659 by goebish
Replied by goebish on topic What about Assan?
No, the 256 is only if you replaced the processor of your Devo 7e.

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

More
08 Jan 2017 00:00 #57660 by TF824
Replied by TF824 on topic What about Assan?
I really appreciate your help!!!
Now understood what MODS means,, You guys Mods is that deep,,,
Anyway I will flash it today and try bind all of my ASSAN RX's laying around.
I will let you know result.

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

More
08 Jan 2017 07:25 - 08 Jan 2017 07:26 #57674 by TF824
Replied by TF824 on topic What about Assan?
I flashed deviation-devo7e-v5.0.0-f395b75 and overwrite the protocol.
Succeeded half way,,,, Tested all of my 12 ASSAN RX's.
I have 4 different kinds of ASSAN RX's
1, X8R6 Black color ---- Worked perfect !!! but problem is I have only 1 this type receiver,,,,
2, X8R4H White color ----All 3 worked perfect !!!
3, X8R6 White color ---- All 4 after binding, RX showing slow RED blinking,,,,No success,,
4, X8R7 White color ---- All 4 after binding RX showing solid Green but none of channels moves servos,, No success,,,


Any idea why this thing happen??
Attachments:
Last edit: 08 Jan 2017 07:26 by TF824.

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

More
08 Jan 2017 09:24 - 08 Jan 2017 09:30 #57676 by planger
Replied by planger on topic What about Assan?
goebish: I've quickly looked at your port and I can see some differences with mine:
for(u8 i=0;i<4;i++)
    {
        u8 temp=lfsr & 0xff;
        packet[i+20]=temp;
        packet[i+24]=temp+1;
        freq+=temp;
    }
should be
for(u8 i=0;i<ASSAN_ADDRESS_LENGTH;i++)
    {
        u8 temp=lfsr & 0xff;
        lfsr>>=8;
        packet[i+20]=temp;
        packet[i+24]=temp+1;
        freq+=temp;
    }
I don't think it'll make things work differently since basically the ID was always made of the same repeated byte but generating a full 32 bits address would be better.

And this part:
for(u8 ch=0;ch<10;ch++)
    {
        temp=((s32)Channels[ch] * 0x1f1 / CHAN_MAX_VALUE + 0x5d9)<<3;
        packet[2*ch]=temp>>8;
        packet[2*ch+1]=temp;
    }
should be:
for(u8 ch=0;ch<8;ch++)
    {
        temp=((s32)Channels[ch] * 0x1f1 / CHAN_MAX_VALUE + 0x5d9)<<3;
        packet[2*ch]=temp>>8;
        packet[2*ch+1]=temp;
    }
for(u8 i=0;i<ASSAN_ADDRESS_LENGTH;i++)
    packet[16+i]=packet[23-i];
This might have an effect since the ID is missing in the sent packet.

TF824: I'm the dev behind the Assan reverse engineering. I only had at the time to work with one Assan TX module and one X8R6M which looks different from your X8R6 with no batt connector.
If the above corrections do not help, would you be ok to send me one of your RX (X8R6 or X8R7) in France so I can troubleshoot?

Pascal
Last edit: 08 Jan 2017 09:30 by planger.

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

More
08 Jan 2017 10:32 - 08 Jan 2017 10:35 #57678 by TF824
Replied by TF824 on topic What about Assan?
Pascal
Thanks for reply!
Code you sent, is that possible to me to change? If so, how should I do it?
I tried to open deviation-devo7e-v5.0.0-f395b75 DFU file, but don't even know what program I should use ,,,,
I'm more than happy to send both of my X8R6 and X8R7 to you. I just have to find best way to mail from Japan.

Ty
Last edit: 08 Jan 2017 10:35 by TF824.

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

More
08 Jan 2017 10:37 #57679 by goebish
Replied by goebish on topic What about Assan?
Here's a test build with the suggested fixes:
www.dropbox.com/s/4oeuj4d33bkaa5c/deviat...0.0-f014502.zip?dl=0
patch

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

More
08 Jan 2017 11:05 #57682 by TF824
Replied by TF824 on topic What about Assan?
Great!
Let me try this before sending RX's to France.
Ty

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

More
08 Jan 2017 11:27 #57683 by TF824
Replied by TF824 on topic What about Assan?
Succeeded !!!!
All 12 RX's bound and all channels servos moved perfectly !!!
I think this is complete version of ASSAN protocol.
I really appreciate to gebish and pascal.
Now I start using these RX's for lots of project.
Thanks again!!!

Ty

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

More
08 Jan 2017 11:28 - 08 Jan 2017 11:30 #57684 by goebish
Replied by goebish on topic What about Assan?
Cool, thanks Pascal for noticing my mistake ;)

Made a pull request, the fix should be included into the nightly builds soon.
github.com/DeviationTX/deviation/pull/96
Last edit: 08 Jan 2017 11:30 by goebish.

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

More
08 Jan 2017 12:04 #57685 by TF824
Replied by TF824 on topic What about Assan?
goebish,
Thanks.
Only one issue I found is It's showing message `` Missing Modules CC2500,,,`` when I turn on Devo7E.
It's showing only when I leave TX off for about 12~13 seconds. .
When this message showing I push ENT then massage will be gone, but doesn't bind with S-FHSS.
If I turn off and turn on again within 12 seconds, then message gone and binds fine with S-FHSS.
I didn't change my hardware.ini when I flash f014502. Any idea why?
Thanks again.
Ty

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

More
08 Jan 2017 12:07 - 08 Jan 2017 12:27 #57686 by goebish
Replied by goebish on topic What about Assan?
Sorry, no idea, sounds more like an hardware issue, maybe the voltage regulator in your 7e can't provide enough current for the CC2500 (or it's on the edge, looks like it's properly detected only when some capacitors are already charged maybe ...), I think that's a common issue with the 7e.
Last edit: 08 Jan 2017 12:27 by goebish.

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

More
08 Jan 2017 12:45 #57689 by goebish
Replied by goebish on topic What about Assan?
Try this build, I inserted a 500ms delay before detecting the modules, tell me if that fixes your issue:
www.dropbox.com/s/8oq0g1577cccwzg/deviat...aba48_delay.zip?dl=1

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

More
08 Jan 2017 12:48 #57690 by planger
Replied by planger on topic What about Assan?
Cool that was an easy one. I was worried that it would have been something I oversight...
Pascal

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

More
08 Jan 2017 12:50 #57691 by goebish
Replied by goebish on topic What about Assan?
No, it was just luck that my implementation worked with some Rx that don't check txid during stick data transfer.

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

More
08 Jan 2017 13:06 #57693 by TF824
Replied by TF824 on topic What about Assan?
Tried this www.dropbox.com/s/8oq0g1577cccwzg/deviat...aba48_delay.zip?dl=1
Still showing same message,,,
It was not showing before flash today (Was official deviation 5.0.0) and voltage is 5.3V now,,,
I still can bind S-FHSS once I turn OFF and ON quickly as I wrote.
If you find fix, please let me know.
Thanks.

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

Time to create page: 0.107 seconds
Powered by Kunena Forum