- Posts: 4402
Protocol Stacks
- PhracturedBlue
- Offline
As I have a cheap HK Orange DSM2 Rx, I'll probably code up an interface to it and see if I can get that working.
After that I'm not sure if I'll go back to working on the interface or if I'll start on the J6 protocol.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
What's next is up to you. I can help you making the interface, at least with ideas and testing, but with the protocols you are alone...
I'm out on holiday next week, I don't know if I will have web access at all...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I don't seem to have the channel data correct yet, since I can only affect one channel, and there is a huge amount of noise on that channel.
Also, the code is incompatible with the DEVO protocol (I can't currently compile code that would allow selecting the protocol in software). This is because the DSM traces I have initialize in MSB 1st mode, whereas the DEVO uses LSB 1st mode. When I tried to use LSB-1st mode, I can't get theDSM2 receiver to bind (but it should work, as the CYRF6936 supports inputs in both syntaxes). I assume I can get that fixed with some more experimentation though.
Anyhow, even though it still needs work, it is another big milestone.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I need to go through the posts 1st. The main parts that I want to keep restricted are the parts relating to reverse-engineering. I don't recall exactly what is in this thread at the moment.FDR wrote: Do you think it is important to keep this topic in the "restricted" forum, or should I move it to the general discussions, so simple users could see?
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- FDR
- Offline
I guess they changed the protocol every time when it was limiting. It was some bad design I guess...
The 2801 knows all the three protocols, so renatopub can supply you with the missing data.
I hope you will succeed, because I have a CB100 that I would like to control with my DEVO 8.
The old Walkera users will raise you to heaven...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I'll need to start working on the code itself I guess.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Actually I have a RX2801 too, but have nothing to control with. All my servos are with smaller plugs...
Please Log in or Create an account to join the conversation.
- MatCat
- Offline
- Posts: 168
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
No, but I'd bet the nrf 24l01 chip. That has been the most common choice for the 4channel stuff. If someone has one and wants to rip it apart, and take pictures, we could know for sure.MatCat wrote: Do we know what protocol Esky uses?
Please Log in or Create an account to join the conversation.
- MatCat
- Offline
- Posts: 168
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
I could do testing with quite a bunch of Walkera stuff. I have a TX2402 and TX2801Pro as well as a V100 (240x compatible), rx2609 (2801 compatible, from a 4G6), a bunch of rx2801, a couple of rx2435 (UFLY receiver) and an rx2610s.
I currently don't have any SPI sniffing device, though. A quick fix might be an AVR running at 3.3V dumping SPI data to a UART, though.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Glad to have you aboard.I have an rx2801Pro, as well as a RX2609 that I plan to use for testing. I do not have anything using the TX2401 protocol though, and it is somewhat different than the other 2.wuselfuzz wrote: Heya. Just wanted to say hi, but not without any info at all.
I could do testing with quite a bunch of Walkera stuff. I have a TX2402 and TX2801Pro as well as a V100 (240x compatible), rx2609 (2801 compatible, from a 4G6), a bunch of rx2801, a couple of rx2435 (UFLY receiver) and an rx2610s.
I currently don't have any SPI sniffing device, though. A quick fix might be an AVR running at 3.3V dumping SPI data to a UART, though.
My hope is that once I debug the 2801 and 2601 protocols, that the 2401 will be easy, but one difference is that I've mixed the trims into the Channel data already, and the 2401 broadcasts trim separately from channel data. I will be interested to see if this causes issues or not.
Over the past 2 weeks, I've been solely focused on GUI capabilities, but once I release the emulator, I'll get back to the Tx and debugging the protocols. Once I have the 2801 working, I'll definitely need someone to test the 2401 stuff. I am somewhat concerned about the 6ch too, as I'm not really sure which connections on the RX2609 are supposed to be used.
I'll also just generally need brave souls to test out the firmware. I'm a much better coder than pilot (which is not to say my coding skills are great), and I spent most of my free time this summer coding up Deviation as opposed to improving my skills. It means that I amnot prepared to test things like the 6ch CCPM controls, except with the bird on the ground. I also don't have a 6ch Walkera heli, so that is also a limitation.
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
www.rcgroups.com/forums/showpost.php?p=15594425&postcount=11
Unfortunately, I no longer have access to that nice Tek scope.
I read through a large part of the deviation source, made a bitbucket account and created a fork for bug fixes and suggestions.
PROTOCOL_Init() from protocol.c misses a call to WK2x01_Initialize() btw.
I'll write up some more thoughts on code style in that other thread.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
But I have to figure out how to compile for the tx and make a dfu from that...
I hasn't implemented the encoding in my dfu tool yet.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Protocol Stacks