Orange Module running MULTI protocol

Choosing an RF Module? What modules work? What is compatible with the 9x?
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Orange Module running MULTI protocol

Post by MikeB »

The AVR-ISP-MK2 does NOT supply power for programming. This is how it it handles flashing devices with different power supply voltages. It uses the target power to supply the signal drivers in itself.
You do need to provide the external power to the module for flashing.

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

User avatar
LapinFou
Posts: 32
Joined: Tue Oct 07, 2014 10:34 am
Country: France
Location: Falaise

Re: Orange Module running MULTI protocol

Post by LapinFou »

Ohhh, OK I see.
Thanks a lot for this explanation (I didn't received my AVR-ISP-MK2 yet). :)
I will keep you inform when everything will be working.

Last question: with the Multi FW, the DIP switch and buttons on the Orange TX are not used anymore, correct?

BR,
Seb

[EDIT]
FYI, I check the schematic of my AVR-ISP-MK2 clone → AVR-ISP-MK2_sch.pdf
In fact it is possible to supply the voltage to the target by configuring the correct jumper to 3.3V :)
I don't know if it is a good idea.... Anyway, it is easy to supply a power to the module.

By the way did you use the atprogram CLI or did you used the Atmel Studio software to flash the firmware?

Sorry to ask all those questions, but (as you guessed) I'm new in the Atmel world.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Orange Module running MULTI protocol

Post by MikeB »

I used AVRDUDE (sometimes with the GUI AVRDUDESS). If you have either eepe or openTx Companion installed, you should find a copy of AVRDUDE installed with them.
It looks like I used the command:
avrdude.exe -p x32a4 -c usbasp -U flash:w:filename.hex:i -E noreset
where you replace "filename" with the name of the file you want to flash.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
LapinFou
Posts: 32
Joined: Tue Oct 07, 2014 10:34 am
Country: France
Location: Falaise

Re: Orange Module running MULTI protocol

Post by LapinFou »

Hi Mike,

Thanks again for your help. :)
Indeed with Companion, I got avrdude version 5.11 installed on my computer.
  1. :? " avrdude.exe -p x32a4 -c usbasp -U flash:w:filename.hex:i -E noreset "
    Since I'm using an AVR-ISP-MK2, are you sure that I must specified an USBASP programmer? ISP and PDI are not the same protocol?
    Should not be the argument "avrispmkII" or "avrisp2" ?
  2. With the Multi firmware, the DIP switch and buttons on the Orange TX are not used anymore, is it correct?
Can wait to receive my programmer to give a 2nd life to my Orange TX. :D

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

Re: Orange Module running MULTI protocol

Post by MikeB »

Sorry, yes I just copied a command from a batch file without checking it.

Also yes, the dipswitch and buttons are no longer used.

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

User avatar
LapinFou
Posts: 32
Joined: Tue Oct 07, 2014 10:34 am
Country: France
Location: Falaise

Re: Orange Module running MULTI protocol

Post by LapinFou »

Thanks you very much, Mike!

Seb.
Daedalus66
Posts: 1844
Joined: Tue Dec 27, 2011 8:22 pm
Country: -
Location: Ottawa

Re: Orange Module running MULTI protocol

Post by Daedalus66 »

MikeB wrote:I just built this from the sources I'm using. They aren't quite the latest on Github, but I'm working on FrSky telemetry problems. I believe there is no difference with the DSM code however.
Since you have 221a6, you should see the Multi version number beside the BIND text in the protocol menu. This checks the serial data from the module is working.
I just tested with a R615X+telemetry module and it is all working. The bind was done using AUTO, and the BINDING screen showed the bind response and set the parameters as required.

Telemetry is also working.

Mike.
MultiOrange.zip
Hi Mike

I opened this and got a hex file. How do I get a bin file to load into the 9XR Pro?

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

Re: Orange Module running MULTI protocol

Post by MikeB »

Here is 1.1.6.17 in both hex and bin.

Mike.
Attachments
MultiOrange.zip
(20.97 KiB) Downloaded 231 times
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Daedalus66
Posts: 1844
Joined: Tue Dec 27, 2011 8:22 pm
Country: -
Location: Ottawa

Re: Orange Module running MULTI protocol

Post by Daedalus66 »

Thanks. I'll have a go tomorrow.
mozgy
Posts: 14
Joined: Fri Jan 27, 2017 9:23 am
Country: Croatia

Re: Orange Module running MULTI protocol

Post by mozgy »

Hello,

is it possible to flash module with BusPirate ?

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

Re: Orange Module running MULTI protocol

Post by MikeB »

I don't think it supports the PDI programming method needed for a XMEGA processor.
What Tx do you have, and what firmware is it running?
Ersky9x firmware supports flashing this module on several different hardware platforms.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
jonrev
Posts: 39
Joined: Fri Mar 03, 2017 8:33 pm
Country: United Kingdom

Re: Orange Module running MULTI protocol

Post by jonrev »

A quick thank you to Mike for the amazing work he puts in to develop and then support the firmware for so many of us and the continued help he and Joao and others give on these forums.
I bought one of these ORX modules which arrived DOA. Much probing showed no obvious faults but it was completely lifeless. I was about to bin it when I read of the multi firmware Mike had put up so as a last resort I decided to try flashing it. I now have a flashing LED which goes solid once the splash screen disappears. Haven't done any more testing yet but I'm hopeful it may be OK.

Little question:- I read that after flashing the readout at the bottom of the screen should show non- 0's for the first two groups then all 0's for the rest as these are fault codes. Mine read 1E95 4201 00FF FEFF 00FF. Does this mean I had problems with the flashing? Am I likely to find the module won't function as it should?

One little comment. Great though the mountain of info about the radios and hardware is, it can get just sooooo confusing because of the continuous improvements and updates. I have often found I'm reading posts or articles which are actually out of date. YT vids showing how to do certain things are often showing old versions of firmware when I try to follow instructions. Even the manuals which are absolutely great seem to sometimes mention things which aren't included or are different on my radios. This isn't a criticism and is perfectly understandable but it sure does make for an uphill struggle for some of us less digitally savvy enthusiasts.
mozgy
Posts: 14
Joined: Fri Jan 27, 2017 9:23 am
Country: Croatia

Re: Orange Module running MULTI protocol

Post by mozgy »

Hello,

I have 9xr pro with orx telemetry module, the one with internal antenna. Flashed r221b3 and with it 1.1.6.17 and then problems started -
- after flashing could not turn off 9xr
- rev number keeps jumping left right (1.1.6.17 <-> 1.6.17)
- mixer are, well, mixed -
- on old models TAER is ATER
- on new models almost nothing works, except 1st half of T is R and 2nd half of T is E ..

Should I completely delete all models and erase eeprom ?

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

Re: Orange Module running MULTI protocol

Post by MikeB »

With the Multi firmware running on the module, it does some automatic conversion of the channels. DSM is using TAER, but you need to use AETR on the radio as this is converted into TAER by the module.
What do you have the protocol set to in the radio. With the Multi firmware, you need to use "Multi" as the protocol, not PPM.
Set the "Type" to "DSM".

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
mozgy
Posts: 14
Joined: Fri Jan 27, 2017 9:23 am
Country: Croatia

Re: Orange Module running MULTI protocol

Post by mozgy »

You mean -
Proto Multi
Protocol DSM
Type Auto
?
If yes then yes, did that already.

Regarding TAER <-> AETR
- changed mixer on old model - works fine now
*but*
- changed default radio to AETR
- created new model, mixer shows AETR but *nothing works*
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Orange Module running MULTI protocol

Post by MikeB »

With the Type set to AUTO, you then need to bind to the Rx. When you do this, the module reports what the bind requires in the way of DSM protocol (DSM2/DSMX, 22/11mS, number of channels), then the settings is automaticallly changed to these values. To receive this report you need to configure the telemetry to use type "DSM". You do this on the Telemetry menu, the setting is "Usr Proto".
When you bind, you should see these setting appear on the bottom line of the display.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
mozgy
Posts: 14
Joined: Fri Jan 27, 2017 9:23 am
Country: Croatia

Re: Orange Module running MULTI protocol

Post by mozgy »

Ok, got it. Type 'Auto' does not work with orx rx, changed it manually to dms2-22 and all channels work now. Will try lemon rxs tomorrow as those are dsmx ..
ty

ps what about that not able to turn off 9xr pro after flashing complete part ?

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

Re: Orange Module running MULTI protocol

Post by MikeB »

If that is in the flashing operation (maintenance mode), then this is normal if you haven't gone back to the main "maintenance mode" screen. This is to prevent a power off happening in the middle of flashing.

Have you changed the "USr Proto" entry to "DSMx"? You need to do that for "Auto" to work.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
mozgy
Posts: 14
Joined: Fri Jan 27, 2017 9:23 am
Country: Croatia

Re: Orange Module running MULTI protocol

Post by mozgy »

Yes,
Model Setup -> Telemetry -> Usr Proto -> DSMx, still aint binding when Auto, works fine when manually set to dsm2-22.

About flashing operation under maintenance makes sense, still scared me tho, had to pull battery connector out.

ty again for the help
--
Mozz
Daedalus66
Posts: 1844
Joined: Tue Dec 27, 2011 8:22 pm
Country: -
Location: Ottawa

Orange Module running MULTI protocol

Post by Daedalus66 »

Hi Mike

Problems with Multi Orange.

If you recall, last April I followed your directions in setting up one of the first Orange Multi modules. Using ERSky9x R218, I tested it in the air with several receivers and got very good range. I also tested it with UMX modules and it proved to be compatible, thus solving a problem that dogged Orange modules in the last couple of years. Soon after that I ran into a health issue that put me out of action for much of the summer. I'm just now getting back to experimenting with Multi Orange and finding some problems.

The module I flashed last April is one of the internal antenna Orange modules for the 9XR Pro. I installed it in my new Taranis Q X7 with the latest ERSky9x (erx9d-pb1r222, dated 22-02-2017). I took it out for its first test flights yesterday and all went well.

So today I flashed more two modules, one with blue board (I cut where required and added the telemetry wire) and the other a green one of the switchable type (I shorted R1 and R13 as required). I believe I did everything right and the flashing appeared to go normally, with non-zero numbers showing in the flashing screen, looking fairly similar for the two.
Blue showed 1E95 4201 FFBE FFFF 00FC
Green showed 1E95 4201 00FF FFFF FEFF 00FC

I set the protocol to Multi and Telemetry to DSMx.

Both showed the appropriate flashing while initializing and solid light thereafter, but neither would consistently bind with either an Orange DSM2 receiver or a Spektrum AR400 (DSMX). I tried a wide variety of settings in Protocol -- manual and Auto, various options, etc. -- but couldn't get a consistent bind.

Then the protocol crashed and went to "N/A". All I could do was restart the transmitter, though it was hard to get the Tx to shut down. I tried again several times.

I tried the modules in a 9XR Pro, and got similar results -- some binds and servo control but nothing consistent or repeatable. I tried a couple of Orange receivers, one DSM2 and one DSMX, and a genuine AR400.

Any suggestions would be appreciated. I'm going to try again tomorrow.

Nigel

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

Re: Orange Module running MULTI protocol

Post by MikeB »

The hardware build of the 'blue' board is different (and some older green ones may be the same). The control signals to the PA and LNA are swapped so you need the firmware built with a different compile option. I'll see about doing such a build shortly.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
mozgy
Posts: 14
Joined: Fri Jan 27, 2017 9:23 am
Country: Croatia

Re: Orange Module running MULTI protocol

Post by mozgy »

Hello,

on my green board I've got 1E95 4201 00FF FEFF 00FF as last message, any inside info what those mean ?

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

Re: Orange Module running MULTI protocol

Post by MikeB »

1E954201 is the signature ID of the processor.
The other bytes are read from the "Fuses" data in the processor.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Orange Module running MULTI protocol

Post by MikeB »

Blue board 1.1.6.17 attached.

Mike.
Attachments
MultiOrangeBlue.zip
(22.75 KiB) Downloaded 152 times
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Daedalus66
Posts: 1844
Joined: Tue Dec 27, 2011 8:22 pm
Country: -
Location: Ottawa

Re: Orange Module running MULTI protocol

Post by Daedalus66 »

Thanks very much, Mike. That solved the problem of binding the blue module.

So here's the current situation.

Module #1 - Green
Flashed last April using the early Multi Orange protocol. Working perfectly.

Module #2 - Blue
After flashing today with the new Multi Orange Blue protocol, binds without problem now. Servos now fully controllable (see below).

Module #3 - Green switchable
Binds without problem. Servos now fully controllable (see below).

Initially, both #2 and #3 showed the same behavior. They bound normally but drove the servo (on Aileron channel) to high position.

I finally figured out that last year's protocol (on module #1) used TAER order. But the new one on 2 and 3 uses AETR, so with the transmitter on TAER I was plugged into the Throttle channel. All I had to do was to change the transmitter to AETR and the servos on modules 2 and 3 worked correctly.

I have done quick tests with all three modules on DSM2 22, DSMX 22 and DSMX 11 receivers and all seem to work correctly. Interestingly, the Lemon Stabilizer Plus, which wouldn't bind with any of my Orange modules, now binds with the Orange Multi.

I have more testing to do to figure out the details of Auto and manual bind and the various options, but it's looking good. I also need to do a little range testing once the temperature rises a bit from this morning's -20C. I did test module #1 last year and it performed well.

Do you recommend flashing #1 to the new protocol to match the others? What changed, other than expected Channel Order?

Many thanks for your help on this.

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

Re: Orange Module running MULTI protocol

Post by MikeB »

Likely worth updating the #1 module. There have been a number of improvements, including the addition of "Auto" to the DSM binding and the handling of the "Bind Response" data to set the correct parameters from the Rx.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
LapinFou
Posts: 32
Joined: Tue Oct 07, 2014 10:34 am
Country: France
Location: Falaise

Re: Orange Module running MULTI protocol

Post by LapinFou »

Hi Mike,

I finally received my Olimex AVR-ISP-MK2. At first it wasn't working until I understand (thanks Google), I need avrdude v6.3 (it is not working with v6.1). In fact I used the AVR tools coming with Arduino 1.8.1.
I compiled the Multi version 1.1.6.20 thanks to your help. My radio is a Taranis X9D+ running OTX2.2.RC10. I modified the following parameter in the _Config.h

Code: Select all

#define TELEMETRY
#define INVERT_TELEMETRY
//#define MULTI_STATUS
#define MULTI_TELEMETRY
#define ENABLE_SERIAL
//#define ENABLE_PPM
My Orange TX didn't have the 10 or 100 Ohm R1 & R13 resistors. I made a solder joint instead (I hope it is OK).

"Et voilà" !!
Everything is perfectly working. My Multi Orange is now able to bind and work (DSMX 22ms) with my Blade 130X.

Again, thanks a lot for your support!!
:D

Since I'm using OTX instead er9X, I don't have the Auto sub-protocol in the DSM mode. This is just a note for others OTX users.

I'm so happy. :mrgreen:
Last edited by LapinFou on Sun Mar 05, 2017 10:23 am, edited 1 time in total.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Orange Module running MULTI protocol

Post by MikeB »

Another happy ending :mrgreen:

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
mozgy
Posts: 14
Joined: Fri Jan 27, 2017 9:23 am
Country: Croatia

Re: Orange Module running MULTI protocol

Post by mozgy »

Hello,

I checked my lemon collection, each time prior binding set Auto -
- all of them bind fine (feather light, 7ch stab, 8ch)
- DSM2 version bind to DSM2-22
- DSMx version bind to DSMX-11
- telemetry does not work with lemon dsmx telemetry module

after that rechecked orx dsm2 modules, nada, have to manually set dsm2-22 for them to bind/work.

.. next on ToDo - flash first orx tx module, blue pcb, the one with feqed 2nd channel ..

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

Re: Orange Module running MULTI protocol

Post by MikeB »

With the "Usr Proto" set to "DSMx" in the telemetry menu, you should see an extra telemetry display when you step round them. THis is the DSM specific one.
With the Lemon telemetry module, do you see any values on this screen?

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

Post Reply

Return to “RF MODULES”