Corona

More
25 Oct 2013 18:32 #14975 by victzh
Replied by victzh on topic Corona
Protocol decoding effort depends on several factors. I decoded several, and track development effort on many more, and in my opinion the hardest part is frequency hopping algorithm.

Packet structure is pretty straightforward to decode - record the SPI traffic while pulling the TX controls. Sometimes there are peculiarities - SLT packet, e.g. contains mixed bit width - 10-bit for mail channels, and 8-bit for 2 extra channels.

Frequency hopping can be of very varying difficulty - from table defined to pseudo-random number generator. The latter is the hardest as was encountered in DSMX case. It required efforts of a cryptographer to decode.

As Frsky algorithm is decoded (though it uses simplified pseudo-random algorithm) you can be lucky in it.

Also in my experience it makes more sense to connect your logic analyzer to receiver, not transmitter, because in this way you can see what channel the receiver anticipates the next packet and you can experiment with new TX ids not having dozens of actual transmitters.

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

More
25 Oct 2013 22:49 #14979 by Birdman
Replied by Birdman on topic Corona
Thanks vic.

I read Corona is fixed frequency without hopping, could this be correct?

It is sounding like a lot of work for little gain.

Bm

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

More
26 Oct 2013 04:12 #14981 by victzh
Replied by victzh on topic Corona
I don't know how popular is this Corona? If it is, may be it is reasonable. But yes, it is a lot of work.

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

More
26 Oct 2013 05:25 #14982 by FDR
Replied by FDR on topic Corona

Birdman wrote: I read Corona is fixed frequency without hopping, could this be correct?

It uses three frequencies just like the DEVO protocol...

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

More
27 Oct 2013 12:58 #15038 by Birdman
Replied by Birdman on topic Corona
Thanks FDR, good to know.

Bm

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

More
27 Oct 2013 13:05 #15039 by Birdman
Replied by Birdman on topic Corona

victzh wrote: I don't know how popular is this Corona? If it is, may be it is reasonable. But yes, it is a lot of work.


Not the most popular but i believe a lot of people use it and those that do usually have a few rx. I have at least 6.

I don't have a problem putting in the time, my biggest concern is do i have the skill? I think no, but with a little guidance and a lot of homework i may be able to do it.

I will get a bus pirate, could take 10 days to get here, and see how far i get.

Bm

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

More
27 Oct 2013 13:11 - 27 Oct 2013 13:18 #15040 by Birdman
Replied by Birdman on topic Corona
Question

I can connect Corona module to Futaba, JR or Devo, which would be better when analyzing?

Bm

Edit: i would think Devo?
Last edit: 27 Oct 2013 13:18 by Birdman.

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

More
27 Oct 2013 13:36 #15044 by FDR
Replied by FDR on topic Corona

Birdman wrote: Question

I can connect Corona module to Futaba, JR or Devo, which would be better when analyzing?

Bm

Edit: i would think Devo?


It really doesn't matter, because it needs simple PPM anyway...

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

More
04 Nov 2013 11:03 #15324 by Birdman
Replied by Birdman on topic Corona
I have a Bus Pirate for sale if anyone is interested.

Can someone please tell me if Devo with stock firmware outputs ppm at trainer port?

TIA

Bm

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

More
04 Nov 2013 11:24 #15326 by FDR
Replied by FDR on topic Corona
Yes, but with a fixed EATR channel order...

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

More
04 Nov 2013 13:26 #15327 by Birdman
Replied by Birdman on topic Corona
corona
Attachments:

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

More
04 Nov 2013 15:01 #15331 by victzh
Replied by victzh on topic Corona
What is this? If you want us to analyze this, say so. If so, can you at least pass it through SPI filter so that the messages would be more sensible, and provide annotations about the circumstances: what did you trace - receiver or transmitter - is it from the very beginning or in the middle of the session, was it bound or not etc. etc.

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

More
04 Nov 2013 15:36 #15332 by Birdman
Replied by Birdman on topic Corona
see if this is better
Attachments:

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

More
04 Nov 2013 15:42 - 04 Nov 2013 15:43 #15333 by Birdman
Replied by Birdman on topic Corona

victzh wrote: What is this? If you want us to analyze this, say so. If so, can you at least pass it through SPI filter so that the messages would be more sensible, and provide annotations about the circumstances: what did you trace - receiver or transmitter - is it from the very beginning or in the middle of the session, was it bound or not etc. etc.


This is what i have captured and analyzed with bus pirate, first attempt.

Will have to find out what spi filter is.

Trace is of rx after binding to tx, no sticks moving.

Bm
Last edit: 04 Nov 2013 15:43 by Birdman.

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

More
04 Nov 2013 15:48 #15334 by Birdman
Replied by Birdman on topic Corona
top of page
Attachments:

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

More
04 Nov 2013 16:24 #15336 by Birdman
Replied by Birdman on topic Corona
Any tips on what to do with this information would be most appreciated.

Bm

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

More
04 Nov 2013 17:54 #15344 by victzh
Replied by victzh on topic Corona
To trace a protocol you need a bit larger span. And something is not working in your connection with the device. Do you have graphical view, something like this: dumb.ro/lafront/screenshot1.png and can you verify that what you see resembles SPI - CSN goes down and up, SCK is active while CSN is down, the SPI decoder decodes it.

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

More
04 Nov 2013 23:06 - 04 Nov 2013 23:34 #15350 by Birdman
Replied by Birdman on topic Corona
This trace is of rx powering up.

BP -> CC2500
MOSI -> pin20 SI
CLK -> pin1 SCLK
MISO -> pin2 SO
CS -> pin7 CSn

Are the grey lines in analysis errors?
They should be green white green white....?
Attachments:
Last edit: 04 Nov 2013 23:34 by Birdman.

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

More
04 Nov 2013 23:44 #15351 by Birdman
Replied by Birdman on topic Corona
i changed a setting and got this
Attachments:

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

More
05 Nov 2013 17:31 #15361 by victzh
Replied by victzh on topic Corona
The forum software reduces the pictures so I can not see clearly. The former one is too zoomed out to tell anything.

You should consult CC2500 datasheet, www.ti.com/lit/ds/swrs040c/swrs040c.pdf to see if what you're looking at resembles actual CC2500 commands. Section 10 describes the interface and Section 32 - registers.

Can this software (I worked with OLS long time ago) save SPI decoded trace in some text format?

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

Time to create page: 0.102 seconds
Powered by Kunena Forum