What firmware version do I use?

erskyTx runs on many radios and upgrade boards
ersky9x was a port of er9x for use on the sky9x board.
Post Reply
flexd
Posts: 6
Joined: Sun Nov 06, 2016 2:10 pm
Country: -

What firmware version do I use?

Post by flexd »

Hi MikeB & others,

This is a question about the MULTI setting. I have the latest version of the firmware from https://github.com/pascallanger/DIY-Mul ... e/releases on my Multi module.

What firmware version do I want to use on my 9x with a 9xtreme board? I flashed the latest 9xtreme test version as I could find, whihc is V.913-Mike 26.09.2016 ersky9x-pr219.

I have successfully used the multi module to control my hubsan x4 and a DSM board before, but now I am trying to control a Eachine E010, which is using the MJXQ protocol according to the README on pascallanger's github repo.

Thanks for the help :)

User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: What firmware version do I use?

Post by MikeB »

You should be able to select the protocol by number on that version.
You may like to flash from "ersky9xProvR219x3.zip" found at viewtopic.php?f=7&t=4676.
This includes to option of having a text file on the SD card that allows new MULTI protocols to be named without needing to update the firmware.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
flexd
Posts: 6
Joined: Sun Nov 06, 2016 2:10 pm
Country: -

Re: What firmware version do I use?

Post by flexd »

I read on the forums about selecting the protocol by the number, but what protocol number is the MJXQ protocol? I have yet to figure that out by reading through both the ersky9x source on GitHub as well as the multiprotocol source..

This is probably the wrong number, but in the multiprotocol source, it sets 18 as the number for MJXQ https://github.com/pascallanger/DIY-Mul ... ocol.h#L39

If I keep pressing right on my radio I'll eventually get to numbers, but the first number is 29.

I just tried compiling the next branch from Github, but it's complaining about ersky9x.cpp:122:33: fatal error: ..\..\common\hand.lbm: No such file or directory. I would love some more detailed instructions about how to compile for a specific PCB (I just passed PCB=9XT, not sure if that is needed or correct).

PS: Thanks for the quick reply!
flexd
Posts: 6
Joined: Sun Nov 06, 2016 2:10 pm
Country: -

Re: What firmware version do I use?

Post by flexd »

I also see the version you recommended contains the E010 settings as well :) It works now, but I would still like to know the things I asked about to be able to build things myself later (that way it's way easier to contribute)
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: What firmware version do I use?

Post by MikeB »

I'm not sure why hand.lbm is not being found, it is there on Github.

9XR-PRO:
make REVB=1 DEBUG=1 STAMP=1 PHASES=1 REVX=1
Taranis:
make PCB=X9D DEBUG=1 STAMP=1
FrSky X9E:
make PCB=X9D DEBUG=1 STAMP=1 REV9E=1
Taranis Plus:
make PCB=X9D DEBUG=1 STAMP=1 REVPLUS=1
9Xtreme:
make PCB=9XT DEBUG=1 STAMP=1
SKY/AR9X:
make REVB=1 DEBUG=1 STAMP=1 PHASES=1

And this is Multi.txt:
1,Flysky,Flysky,V9x9,V6x6,V912
2,Hubsan
3,FrskyD
4,Hisky,Hisky,HK310
5,V2x2
6,DSM,DSM2-22,DSM2-11,DSMX-22,DSMX-11,AUTO
7,Devo
8,YD717,YD717,SKYWLKR,SYMAX4,XINXUN,NIHUI
9,KN,WLTOYS,FEILUN
10,SymaX,SYMAX,SYMAX5C
11,SLT
12,CX10,GREEN,BLUE,DM007,Q282,J3015_1,J3015_2,MK33041,Q242
13,CG023,CG023,YD829,H8_3D
14,Bayang
15,FrskyX,CH_16,CH_8
16,ESky
17,MT99xx,MT,H7,YZ,LS
18,MJXq,WLH08,X600,X800,H26D,E010
19,Shenqi
20,FY326
21,SFHSS
22,J6PRO
23,FQ777
24,ASSAN
25,FrskyV
26,HONTAI,HONTAI,JJRCX1,X5C1
27,OpnLrs
28,AFHD2SA,PWM_IBUS,PPM_IBUS,PWM_SBUS,PPM_SBUS

As you can see, MJXq is in there at 18.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

flexd
Posts: 6
Joined: Sun Nov 06, 2016 2:10 pm
Country: -

Re: What firmware version do I use?

Post by flexd »

It fails because on line 122 of ersky9x.cpp the filepath uses "\" instead of "/".. "\" is not valid on Linux. This happens to all the strings :/
flexd
Posts: 6
Joined: Sun Nov 06, 2016 2:10 pm
Country: -

Re: What firmware version do I use?

Post by flexd »

Actually.. It will also fail because of Mavlink.cpp, because that tries to include mavlink/mavlink.cpp, which does not exist.. Works if I correct it to mavlink/Mavlink.cpp, and also fix the header include for "Mavlink.h" to "mavlink.h".. Apparently NTFS is not case-sensitive.. Are you developing this on Windows? I'm on Linux.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: What firmware version do I use?

Post by MikeB »

Yes, I'm using windows for development. I hit the \ or / and case problem for linux users on occasions, I'm so used to using \.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Post Reply

Return to “erskyTx (was ersky9x)”