Orange Module running MULTI protocol

Choosing an RF Module? What modules work? What is compatible with the 9x?
bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Tue Feb 18, 2020 5:49 pm

Well I'm stuck :(

I have managed to get the boot loader onto the Green OrangeRx module (i think) - Solid Red LED if I hold the bind button and power up.

I have manage to install the erskyTX boot loader (v2.6) on a X9D+, and erskyTX (erx9d-r221).

My next task was to find the famous "maintenance mode" so I could flash the firmware to the OrangeRx module, I've google it and now got google eyes. How do you activate the "maintenance mode"?


antlerhanger
Posts: 238
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: Orange Module running MULTI protocol

Post by antlerhanger » Tue Feb 18, 2020 6:16 pm

Hold the bottom 2 trims outward while you power on , Then go to flash multi

Allen

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Tue Feb 18, 2020 6:45 pm

I dont have a flash multi option?

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

Re: Orange Module running MULTI protocol

Post by MikeB » Tue Feb 18, 2020 6:50 pm

Should be the bottom option and is called UPDATE MULTI.

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

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Tue Feb 18, 2020 6:55 pm

Nothing Mike, is v2.6 the correct boot loader ?


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

Re: Orange Module running MULTI protocol

Post by MikeB » Tue Feb 18, 2020 7:08 pm

Go here: https://openrcforums.com/forum/viewtopi ... 676#p65894, and download erskyTxR222D7.zip. Extract x9dp_rom.bin.
Flash this to the radio.
Also copy the file to the "firmware" directory of the SD card.
Restart in "maintenance mode", then select UPDATE BOOTLOADER and use the file you just copied. This will get the "latest" bootloader.
Still in "maintenance mode", you should have the "UPDATE MULTI" option to use to update the Orange module.
If that fails to work, go here: http://www.er9x.com/Ersky9xapps.html, click on "Flash Multiprotocol Module - Taranis Plus (X9D) Last updated 28-Aug-2018" and save the file. Create an "apps" directory in the root of the SD card and put this file in that directory.
Restart in "bootloader" mode. You should have a "Run App" option. Select that and then select the file you just put on the SD card. That should then update the Orange module.

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

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Tue Feb 18, 2020 7:22 pm

Thanks Mike,

First process I have tried many times with the D7 files, just stays on Boot Loader v2.6.

I put the app in the folder "apps"

But I still dont have the "Run App" option.

I think I need boot loader v2.9? I think thats the file x9dp_rom.bin fro the D7 zip. I can see, select and install it from the boot loader? But nothing changes afterwards?

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

Re: Orange Module running MULTI protocol

Post by MikeB » Tue Feb 18, 2020 7:27 pm

Flashing the file does NOT update the bootloader. You need to put the file on the SD card, then use "maintenance mode" to update the bootloader, as I described above. If you have flashed "D7", then "maintenance mode" should give you the UPDATE MULTI option.

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

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Tue Feb 18, 2020 7:36 pm

OK, I now have erx9d-D7r222, I use companion to push it to the radio.

When starting in maintenance mode I see Boot Loader v2.6 Ready on the top line
Below that I see the file name x9dp_rom.bin (this have been copied to the firmware folder of the SD card)

I cannot select UPDATE BOOTLOADER , but I can select the file above, it lets me flash the file, update complete.

But I still have v2.6 with no option to UPDATE MULTI, do I have to press any other buttons?

antlerhanger
Posts: 238
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: Orange Module running MULTI protocol

Post by antlerhanger » Tue Feb 18, 2020 7:50 pm

Mike on my x9d plus , I couldn't update bootloader . You had me load FW for 9xr pro then update bootloader then flash it back to x9d+..It worked great

Allen

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Tue Feb 18, 2020 7:52 pm

That could make sense, I dont seem to be able to go back to OpenTx boot loader either (of course I could be doing it wrong)

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Tue Feb 18, 2020 8:27 pm

Well, it appears to be stuck.

I can go back and forth between OpenTx and ersky9X firmwares, but the boot loader refuses to change.

Just in case I'm doing something wrong, here's exactly what I am doing

1) download the erx9d-D7r222.zip. I copy x9dp_rom.bin to the SD Card firmware folder.
2) using companion connect taranis via USB in maintenance mode (also tried without switching on the taranis)
3) select write fireware to radio in companion and select the x9dp_rom.bin (uncheck check hardware)
4) it uploads so disconnect the USB
5) either start the radio to ersky9x or even if I dont do
6) start taranis in maintenance mode, i still have v2.6, and select file x9dp_rom.bin
7) firmware uploads.
8) boot load is still v2.6 and no options for flash multi

I have all of the above using file ersky9xr_rom.bin, but still no change.

I have added the Flash Multiprotocol Module - Taranis Plus (X9D) Last updated 28-Aug-2018 to the apps but do not get an option to run it.

antlerhanger
Posts: 238
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: Orange Module running MULTI protocol

Post by antlerhanger » Tue Feb 18, 2020 8:43 pm

9xr pro firmware flashed..Hold your 2 trims inward and power on..go to update bootloader.. update then flash back to x9d plus

Allen

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Tue Feb 18, 2020 9:09 pm

Thanks buddy but nothing seems to work when it comes to updating the boot loader.

Its the bit "go to update boot loader", its just missing, I only get a list of available files.

I did notice this when trying the OpenTx way to update Boot Loader Only (i.e. tx off and connected to USB), last line, cannot open device. Its like there is some lock set to stop overwriting it.

C:/Program Files (x86)/OpenTX/Companion 2.3/dfu-util.exe -a 0 --dfuse-address 0x08000000 --device 0483:df11 -DC:/Program Files (x86)/OpenTX/ersky9xr_rom.bin
=================================================================================
dfu-util 0.7

Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to [email protected]

Filter on vendor = 0x0483 product = 0xdf11
Opening DFU capable USB device... Cannot open device

=================================================================================

In windows device manage it looks OK and attached correctly

antlerhanger
Posts: 238
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: Orange Module running MULTI protocol

Post by antlerhanger » Tue Feb 18, 2020 9:25 pm

Did you flash erskytx without companion ?....9xrpro bin file in firmware folder..not a sub folder..Hold trims inward , flash firmware pick out your file for 9xr pro..flash it..exit turn off then power on trims inward update bootloader

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Tue Feb 18, 2020 9:31 pm

Yeah, did all that, many times now LOL

When you say 9xr pro you mean ersky9xr_rom.bin from the erskyTxR222D7.zip file?

If so then yes, with and with companion, no change to boot loader :(

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Tue Feb 18, 2020 9:34 pm

Actually its the ersky9xr_rom.bin that says invalid rom when trying to do from the boot loader

antlerhanger
Posts: 238
Joined: Tue Dec 25, 2018 3:19 am
Country: United States

Re: Orange Module running MULTI protocol

Post by antlerhanger » Tue Feb 18, 2020 9:48 pm

Well c**p..Now I remember he had me install a sd card for a 9xr pro and I flashed the bootloader from it .
I have both . Every time I tried with x9d plus it said no files found .As soon as I installed the 9xr pro sd card it updated . er9x main page has the sd card contents ..

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

Re: Orange Module running MULTI protocol

Post by MikeB » Tue Feb 18, 2020 9:57 pm

You are confusing the bootloader and "maintenance mode".
The bootloader is started by holding the trims INWARDS at power on.
Maintenance mode is started by holding the trims OUTWARDS at power on.

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

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Wed Feb 19, 2020 6:18 am

Thanks Mike

I knew i must be doing something wrong, I now have all the options :)

Time to work out the next part

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Wed Feb 19, 2020 6:32 am

I've also now got boot loader 3.0, still research to do for the next bit now.

When I try to flash the OrangeRx unit via the Flash Multi option it currently says failed.

I've tried not pressing the bind button, seems to make the beep beep beep slightly after the screen says failed.

I've tried pressing the bind button, the OrangeRx LED stays on, but still says failed.

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

Re: Orange Module running MULTI protocol

Post by MikeB » Wed Feb 19, 2020 10:18 am

If that is using the UPDATE MULTI option from maintenance mode, then try putting the "app" on the Tx and running that from the bootloader as I described a few posts back.

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

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Wed Feb 19, 2020 6:18 pm

Sorry Mike, I tried that too, still failed.

Before I give up, can you confirm that I understood correctly. If I power the OrangeRx module up while pressing the Bind button and the LED stays on even when I release the button then the boot loader must have been installed successfully?

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

Re: Orange Module running MULTI protocol

Post by MikeB » Wed Feb 19, 2020 6:44 pm

Check in the first post of this thread. I show a picture of a "green" board with R1 and R13 missing and indicate these need to be fitted, normally 10 ohms, but a short is OK. I think they may be missing on your board, looking at the picture you posted.

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

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Wed Feb 19, 2020 8:18 pm

There are indeed missing, R1 and R13, thanks again!!!

I better solder them in the morning, the wife thinks shes had a divorce :)

bionicbone
Posts: 17
Joined: Fri Feb 07, 2020 7:34 pm
Country: -

Re: Orange Module running MULTI protocol

Post by bionicbone » Thu Feb 20, 2020 4:48 pm

Thanks again Mike, now it's flashed, and binds to a little BnF model.

KC748
Posts: 6
Joined: Wed Jan 08, 2020 3:09 pm
Country: United States

Re: Orange Module running MULTI protocol

Post by KC748 » Tue Jun 16, 2020 7:11 pm

I need some help using an FTDI (cp2102) device to flash the OrangeRx module.

I managed to load the bootloader on the ORx module using a Pro mini + the ftdi device. Once that was done, flashing custom compiled multi firmware is pretty straight forward with my T12 loaded with ErSkyTx/bootloader v3.0 and FlashMulti_t12.app. (Thanks Mike!) But I’m not having much success using just the ftdi device.

I’ve probably missed something here. I thought it is possible to flash the module with the ftdi connected directly to the module’s 5 pin port. My ftdi has a 5v/3.3v switch and the Tx/Rx pins are always 3.3v.
Ftdi on 5v, connections are, from the top pin,
1. Module pin 1 → ftdi Tx
2. Module pin 2 → nc
3. Module pin 3 → ftdi 5v
4. Module pin 4 → ftdi Ground
5. Module pin 5 → ftdi Rx

The process has been, the ftdi connected to the 5 pin port, usb connected to the ftdi, press the bind button while pugging in the usb cable to the computer and get a solid red light (bootloader mode). On the Arduino IDE, verify the Com (Com3), then click Upload.

On the Arduino IDE(1.8.5), Board set to Multi 4in1 (OrangeRx) and Programer to stm32flash (ftdi). (Also tried Atmel STK500 dev board).
Verify/Compile is ok, but when uploading, after about 5min, gives an “error occurred uploading”.

I’d like to use the ORx module with my 9X that’s running Er9X and have the alternative ability to flash the module with the ftdi.
What am I missing? What other information can I provide? Thanks.

MikeB wrote:
Fri May 18, 2018 2:42 pm
You are correct, flash the Arduino sketch to the Pro Mini and then I use the Pro Mini to flash the OrangeRX. This does just flash the bootloader to the Orange module.
The bootloader supports the STK500 programming protocol, so it is possible to flash the module using a FTDI type device from a computer.
The question then is, what Tx do you have? You need one that is running either er9x/ersky9x or openTx that supports the multi protocol.

Mike
Attachments
F613F50F-06F3-4AA9-94B2-D21ABB74CF18.jpeg

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

Re: Orange Module running MULTI protocol

Post by MikeB » Tue Jun 16, 2020 9:10 pm

I think you need the programmer set to "ArduinoISP".

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

KC748
Posts: 6
Joined: Wed Jan 08, 2020 3:09 pm
Country: United States

Re: Orange Module running MULTI protocol

Post by KC748 » Wed Jun 17, 2020 2:48 am

Well, ArduinoISP didn't work, with "Upload" or "Upload Using Programmer".
I also downloaded a fresh copy of DIY-Multiprotocol-TX-Module-master.zip (v1.3.1.9) and tried again, but no go.

Regardless of the Programmer selected, the verbose output shows the same beginning message.

Using Port : COM3
Using Programmer : avrispmkii
Overriding Baud Rate : 57600
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
.
.
.
Programmer Type : STK500V2
Description : Atmel AVR ISP mkII
Programmer Model: Unknown


It just seems like the module isn't getting the message from the ftdi.
I'm wondering if the 100ohm R1, R13 resistors may be a problem for my ftdi tx/rx being 3v?
I've been at this all night, so I'm going to take a break till tomorrow. I might short those resistors just to see.

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

Re: Orange Module running MULTI protocol

Post by MikeB » Wed Jun 17, 2020 9:54 pm

I'm looking for my Orange module and an FTDI so I can test this. I can't remember if I actually tested this! I've normally flashed my module(s) from a radio.

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


Post Reply

Return to “RF MODULES”