- Posts: 33
Logic Analyzer SPI Capture for PROPEL 74-z
- RAY123
- Topic Author
- Offline
RF IC: bk2425 tssop-16
Please help find this protocol,thanks!
Capture files:
www.mediafire.com/download/rat5dudf6k2aae1
Capture files2 :
www.mediafire.com/download/62jdhxaox58lbdq
Capture files3 :
www.mediafire.com/download/1i12b74ea1qb6dr
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
The attached file has the SPI data from the capture. Currently I don't have time to work on an implementation. Maybe in a couple weeks if no one else picks it up.
Please Log in or Create an account to join the conversation.
- RAY123
- Topic Author
- Offline
- Posts: 33
I tried the existing nRF protocols and format options, but it no match.hexfet wrote: This chip is compatible with nRF24L01. Have you tried the existing nRF protocols and format options?
The attached file has the SPI data from the capture. Currently I don't have time to work on an implementation. Maybe in a couple weeks if no one else picks it up.
Please Log in or Create an account to join the conversation.
- Alf-1234
- Offline
- Posts: 82
Since I also have the Speederbike 74-z here, I am also very interested.
I have tested all protocols including sub-protocols, but unfortunately I have not been able to tie the Speederbike.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
The first byte of the checksum is just the sum of all the packet data bytes.
The second byte is likely just a transformation of that sum. It appears the second nibble of the second byte is just the second nibble of the first byte xor'd with 0x0A, though maybe other equations would work.
Anyone that can solve this puzzle will move the work forward
From the data in the table below:
S1 = sum(data bytes)
S2 = (S2a << 4) + ((S1 ^ 0x0A) & 0x0F)
S2a = unknown (most likely only depends on the value of S1)
| Data bytes |S1|S2|
D0 73 D3 31 30 00 00 00 00 03 00 05 7F F5
C0 2F 7F 7F 7F 40 40 40 40 00 80 05 F1 5B
C0 2F 7F 7F 7F 40 40 40 40 00 80 01 ED A7
C0 2F 7F 7F 7F 40 40 40 40 04 80 01 F1 5B
C0 2F 7F 7F 7F 40 40 40 40 00 80 01 ED A7
C0 2F 7F 7F 7F 40 40 40 40 00 00 01 6D 27
C0 2F 7F 7F 7F 40 40 40 40 00 80 01 ED A7
C0 31 7F 7F 7F 40 40 40 40 00 80 01 EF 45
C0 34 7F 7F 7F 40 40 40 40 00 80 01 F2 48
C0 37 7F 7F 7F 40 40 40 40 00 80 01 F5 5F
C0 3B 7F 7F 7F 40 40 40 40 00 80 01 F9 53
C0 40 7F 7F 7F 40 40 40 40 00 80 01 FE 44
C0 47 7F 7F 7F 40 40 40 40 00 80 01 05 4F
C0 4C 7F 7F 7F 40 40 40 40 00 80 01 0A 70
C0 53 7F 7F 7F 40 40 40 40 00 80 01 11 7B
C0 59 7F 7F 7F 40 40 40 40 00 80 01 17 1D
C0 61 7F 7F 7F 40 40 40 40 00 80 01 1F 15
C0 6C 7F 7F 7F 40 40 40 40 00 80 01 2A 10
C0 74 7F 7F 7F 40 40 40 40 00 80 01 32 08
C0 7F 7F 7F 7F 40 40 40 40 00 80 01 3D 17
C0 82 7F 7F 7F 40 40 40 40 00 80 01 40 1A
C0 8B 7F 7F 7F 40 40 40 40 00 80 01 49 03
C0 95 7F 7F 7F 40 40 40 40 00 80 01 53 D9
C0 A0 7F 7F 7F 40 40 40 40 00 80 01 5E 24
C0 A9 7F 7F 7F 40 40 40 40 00 80 01 67 CD
C0 B4 7F 7F 7F 40 40 40 40 00 80 01 72 C8
C0 C0 7F 7F 7F 40 40 40 40 00 80 01 7E C4
C0 CB 7F 7F 7F 40 40 40 40 00 80 01 89 C3
C0 CF 7F 7F 7F 40 40 40 40 00 80 01 8D C7
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Have made some progress on the checkbyte but really need some more capture data. Not all the possible values appear in the one capture which is leaving some uncertainty. Please make another capture of about the same duration, but only need to be moving the sticks to all possible positions. It will be best to move both sticks around randomly at a medium pace. Hopefully this will generate enough unique packets to capture all possible checksum values.
Please Log in or Create an account to join the conversation.
- RAY123
- Topic Author
- Offline
- Posts: 33
Ok, but I am in other cities these days, and I will do this after June 10th. Thank you for your help!hexfet wrote: I've got most of this capture decoded. Details in the attached spreadsheet. Still have to crack the checkbyte algorithm though.
Have made some progress on the checkbyte but really need some more capture data. Not all the possible values appear in the one capture which is leaving some uncertainty. Please make another capture of about the same duration, but only need to be moving the sticks to all possible positions. It will be best to move both sticks around randomly at a medium pace. Hopefully this will generate enough unique packets to capture all possible checksum values.
Please Log in or Create an account to join the conversation.
- RAY123
- Topic Author
- Offline
- Posts: 33
www.mediafire.com/download/1i12b74ea1qb6dr
There may be something wrong with this file. Try it. If it doesn't work, I'm going to do it again.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Here are the channel assignments. For special functions set channel > 0 to activate.
CHANNEL1, // Aileron
CHANNEL2, // Elevator
CHANNEL3, // Throttle
CHANNEL4, // Rudder
CHANNEL5, // Leds
CHANNEL6, // Roll ccw
CHANNEL7, // Roll cw
CHANNEL8, // Altitude hold
CHANNEL9, // Calibrate
The speed is always set to high. Use mixer rates to slow things down.
There is some data that comes back from the quad, but the values are always the same. Probably has to do with the combat modes since the manual doesn't mention low battery warning or anything else that sounds like telemetry.
Please Log in or Create an account to join the conversation.
- RAY123
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- RAY123
- Topic Author
- Offline
- Posts: 33
test build (5e34ea5) it not work:(hexfet wrote: Please try the test build (5e34ea5) here . No guarantees but it might work
Here are the channel assignments. For special functions set channel > 0 to activate.
CHANNEL1, // Aileron
CHANNEL2, // Elevator
CHANNEL3, // Throttle
CHANNEL4, // Rudder
CHANNEL5, // Leds
CHANNEL6, // Roll ccw
CHANNEL7, // Roll cw
CHANNEL8, // Altitude hold
CHANNEL9, // Calibrate
The speed is always set to high. Use mixer rates to slow things down.
There is some data that comes back from the quad, but the values are always the same. Probably has to do with the combat modes since the manual doesn't mention low battery warning or anything else that sounds like telemetry.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Please Log in or Create an account to join the conversation.
- RAY123
- Topic Author
- Offline
- Posts: 33
where is test build 3e2cbd0 Link?hexfet wrote: Thanks for testing. There was one simple change that might help - please try the updated test build (3e2cbd0). If there's no reaction from the aircraft I'll need to inspect the code and captures again.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Please Log in or Create an account to join the conversation.
- RAY123
- Topic Author
- Offline
- Posts: 33
3e2cbd0 it not workhexfet wrote: It's under Downloads -> Test builds on the left.
Please Log in or Create an account to join the conversation.
- RAY123
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Thanks for the capture. I'll be able to look at it in the next couple days.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Please try the Propel protocol. Post what happens on the tx screen and any response by the aircraft (leds, etc).
Please Log in or Create an account to join the conversation.
- RAY123
- Topic Author
- Offline
- Posts: 33
hexfet wrote: Test build ( 6888afe ) is updated. The bind sequence in the second capture is a little different, so it may require several experiments to figure out what's significant and what's not.
Please try the Propel protocol. Post what happens on the tx screen and any response by the aircraft (leds, etc).
688afe Doesn't work
6888afe Test video:
www.mediafire.com/download/7ubanxo91277bkw
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Logic Analyzer SPI Capture for PROPEL 74-z