Mjx Bugs 3

More
30 Mar 2018 04:38 #68418 by davdrone1
Replied by davdrone1 on topic Mjx Bugs 3
Just tried deviation-t8sg-v5.0.0-e15ee22.dfu No sign of any change to the normal LED boot sequence for the Bugs 3 in the absence of a Tx.

Time flies like a banana

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

More
30 Mar 2018 13:53 #68422 by hexfet
Replied by hexfet on topic Mjx Bugs 3
Thanks for trying. Seems unlikely we'll make any progress till the rx board gets here.

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

More
30 Mar 2018 23:07 #68431 by Blade81
Replied by Blade81 on topic Mjx Bugs 3
When u say rx board. Did u mean perform capture on this?
Attachments:

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

More
30 Mar 2018 23:30 #68432 by hexfet
Replied by hexfet on topic Mjx Bugs 3
Yes, that's the spot. If you can make some captures there it will help :) Only need to connect the three signals we identified on the tx module (and ground). The captures would be:
1) Power on the quad only, no tx.
2) Binding to stock tx.
3) With bound stock tx turned on, apply power to quad.
4) Attempt to bind with latest deviation test build.

I've looked at the other captures and there's some confusing parts to this protocol. One example is a couple of what appear to be control bits that have an alternating pattern, but the pattern is not consistent for all the captures. May still need the receiver in hand to make progress more quickly.

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

More
31 Mar 2018 05:43 #68434 by Blade81
Replied by Blade81 on topic Mjx Bugs 3
Sure i will try. But I need to borrow the multimeter from my colleague first before i can identify the ground again so i can only do the capture on monday.

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

More
02 Apr 2018 12:40 - 02 Apr 2018 12:41 #68452 by Blade81
Replied by Blade81 on topic Mjx Bugs 3

File Attachment:

File Name: Bugs3Capture1.zip
File Size:1,468 KB

File Attachment:

File Name: Bugs3Capture2.zip
File Size:905 KB
ok i have done the capture. not sure if i got it correct, do let me know if any corrections are needed :)
Attachments:
Last edit: 02 Apr 2018 12:41 by Blade81.

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

More
02 Apr 2018 16:27 #68459 by hexfet
Replied by hexfet on topic Mjx Bugs 3
Thanks, but it seems like the SPI analyzer isn't quite set up the same or maybe the leads aren't connected to the same pins as they were on the tx. There's no packet id field in the CSV file so it can't be easily interpreted. Since it's only a few files please upload the raw captures (or at least one) and I'll check the settings.

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

More
02 Apr 2018 20:12 - 02 Apr 2018 20:12 #68461 by Blade81
Replied by Blade81 on topic Mjx Bugs 3

File Attachment:

File Name: bugs3.zip
File Size:241 KB
oops, okay i upload the raw setting/session file
Attachments:
Last edit: 02 Apr 2018 20:12 by Blade81.

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

More
02 Apr 2018 22:16 #68462 by hexfet
Replied by hexfet on topic Mjx Bugs 3
The SPI settings are correct. I'm thinking you maybe exported from the options menu instead of from the SPI analyzer. Right click on its settings icon and export from there.

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

More
02 Apr 2018 22:20 #68463 by Blade81
Replied by Blade81 on topic Mjx Bugs 3
Oh silly me! I will re export them again. but im off for work now, i can only do it tonight. My apologies

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

More
03 Apr 2018 11:05 #68481 by Blade81
Replied by Blade81 on topic Mjx Bugs 3
Tada~!

File Attachment:

File Name: BugsIII3rdApr18_2.zip
File Size:393 KB

File Attachment:

File Name: BugsIII3rdApr18_1.zip
File Size:211 KB
Attachments:

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

More
03 Apr 2018 21:00 #68487 by hexfet
Replied by hexfet on topic Mjx Bugs 3
These are good, thanks. Something strange is that the receiver appears to be listening one channel below the channels in the transmitter captures. The A7105 does have some facilities for automatic frequency shifting but both the tx and rx initialization is the same and does not turn those features on. Looking for some explanation.

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

More
03 Apr 2018 22:28 #68490 by Blade81
Replied by Blade81 on topic Mjx Bugs 3
Thank you for helping to decode this. B)

There seem to be some difference in the packets captured when i do a side by side comparison between the stock bind sequence and deviation bind sequence captures. Would those packets made the difference?

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

More
04 Apr 2018 02:49 #68494 by hexfet
Replied by hexfet on topic Mjx Bugs 3
The receiver isn't receiving anything from the deviation code. Is that what you mean by the differences?

I did find a problem with the SPI analyzer settings in the bugs3 and testing logicdata files, but it doesn't explain the channel offsets. The next to last drop-down should be set to CPHA=0. Didn't notice before since it didn't cause any framing errors. May be best just to upload all the raw files from both tx and rx, or put them somewhere to be downloaded. Might need some other tweaks too because this didn't change the values for the channels.

I updated the test build (e1f2572) to use to the channel numbers in the receiver captures. Please make a receiver capture trying to bind with this version. Based on the captures it shouldn't work, but need to test.

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

More
04 Apr 2018 03:39 #68496 by davdrone1
Replied by davdrone1 on topic Mjx Bugs 3
Have just tested deviation-t8sg-v5.0.0-e1f2572.dfu. No signs of a bind.

Time flies like a banana

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

More
04 Apr 2018 08:40 #68500 by Blade81
Replied by Blade81 on topic Mjx Bugs 3
I have recapture all the Stock TX and Quad with the CPHA=0 setting, hopefully this gives a more accurate reading.

File Attachment:

File Name: StockTXCapture1.zip
File Size:1,322 KB

File Attachment:

File Name: QuadCapture1.zip
File Size:664 KB

The latest deviation capture is in the quad capture zip.
Attachments:

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

More
05 Apr 2018 00:54 #68510 by hexfet
Replied by hexfet on topic Mjx Bugs 3
Thanks! These all look good and clear up a couple uncertainties, though nothing critical changed. Still can't find an explanation in the datasheet, but the a7105 test code does show the rx set to one channel below the tx.

Test build is updated (942bcf9). Changed the channels back to the ones from the tx captures. Changed packet timing slightly and added code to ensure packet transmission complete before moving to the next state. Please make an rx capture trying to bind with this version.

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

More
05 Apr 2018 03:55 #68512 by davdrone1
Replied by davdrone1 on topic Mjx Bugs 3
Have tested deviation-t8sg-v5.0.0-942bcf9.dfu. No signs of a bind.

Time flies like a banana

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

More
05 Apr 2018 06:16 #68513 by SeByDocKy
Replied by SeByDocKy on topic Mjx Bugs 3
I wonder if goebish is still active @deviationTX ? He is a guru of the A7105....

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

More
05 Apr 2018 07:02 #68514 by goebish
Replied by goebish on topic Mjx Bugs 3
Hi,

Yes I'm still here, but I'm lacking time to work on deviation ... I should be back soon ;)

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

Time to create page: 0.109 seconds
Powered by Kunena Forum