4in1 module dead?

ersky9xr is the port of the er9x firmware to the 9XRPRO radio.
Post Reply
ReSt
Posts: 1479
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

4in1 module dead?

Post by ReSt » Wed Sep 12, 2018 11:02 pm

Short time ago, I got a new 9xr Pro and ordered a 4in1 Multi Protocol Module (Stm32..) from Banggood that arrived yesterday.

To test, if it has a firmware with a bootloader, I tried to update the firmware, using the Tx.
As expected, that did not work, so I updated the module firmware via the computer and the Arduino IDE with the "Upload via Serial inc. Bootloader (FTDI)" methode. In the first attempt this did not work, but when I exchanged Rx with Tx wire at the USB to TTL converter, it flashed the code. (powered from TX and signal voltages verified for 3.3v)
To verify, that it really had flashed the code, I again tried to update the 4in1 module using the Tx and now, it
worked.

I then tried a Flysky receiver in PPM and in serial mode and both worked also, the servos followed the sticks.
So I shut off the Tx.

This morning, I tried to bind a DSM/DSMX receiver, but nothing. Not even the Flysky receiver worked anymore.
I now see, that the only sign of life is the red LED, that flickers for about 1.5 sec when the radio is powered on.
I tried "Update Multi" from the Tx but it fails with "Flashing complete", "FAILED", 0000 0000.

There is battery power on the connector and 3.3V on the pins for the BootO jumper and on the ICSP connector pins,
but no voltage on the lowest pin (Vin) of the serial programming connector (?).
And in no way that I tried, (Serial mode for Flysky or DSM, PPPM mode with selector switch in Position 1=A7105, 4=CC2500, 7=CYRF6936, 11=NRF24L01) there is any Rf radiation (Wifi detector).

I tried to reflash the module with "firmware with bootloader" but I always get a "failed to init device" message
when it tries to uplode the code.

Is my module dead (after one hour) ??

Reinhard

User avatar
jhsa
Posts: 18237
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: 4in1 module dead?

Post by jhsa » Wed Sep 12, 2018 11:42 pm

Did you remove or insert the module with the radio turned ON?

You will probably have to open the module and check why you don't have voltage where you should.

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

ReSt
Posts: 1479
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: 4in1 module dead?

Post by ReSt » Thu Sep 13, 2018 3:38 pm

No I didn't remove it with power on.
And I'm not really sure, if/that there should be a voltage to measure on that serial connector pin.
This is the pin where you would provide the power, if you flash the module outside the radio.

Reinhard

ReSt
Posts: 1479
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: 4in1 module dead?

Post by ReSt » Fri Sep 14, 2018 4:38 pm

ReSt wrote:
Wed Sep 12, 2018 11:02 pm

but no voltage on the lowest pin (Vin) of the serial programming connector (?).
That seems to be correct. There is a diode in between. that blocks the voltage to the pin.

What's courious, the green LED, that probably simply should signal that the module is powered on, never lights.
But voltage regulators of the module do work. There is 3.3 v available on the output of the regulator and on the leftmost pin of the module with the rf chips under the metal cover. And the red LED blinks at power on with two different frequencies.

Reinhard

User avatar
jhsa
Posts: 18237
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: 4in1 module dead?

Post by jhsa » Fri Sep 14, 2018 4:48 pm

If the LED blinks, it is trying to tell you what is wrong..

See here

https://github.com/pascallanger/DIY-Mul ... hooting.md

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW


ReSt
Posts: 1479
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: 4in1 module dead?

Post by ReSt » Fri Sep 14, 2018 9:27 pm

Thanks, I already had seen that page but the pattern of my LEDs did not correspond with any of the described patterns.
Except, green off means no power at the module.

When I tried to flash the module, I had it removed from the Tx and the Vin pin connected with the 3.3v pin of the USB/TTL converter. According to the description I had assumed, that the module could be powered this way. Due to the green LED off, I now measured different points. The Pins beneath Boot0 and also at the 6 pin programming connector had 3.3 volts. But there was no voltage on the Vdd pin(1) of the STM.. processor and also not on the leftmost pin of the RF module carrier.
Therefore I made a extension cable to power the MPM from the TX and connected the USB/TTL converter without 3.3v line to the serial connector. Now I saw, that all pins had their 3.3 volt.
I tried to flash (with bootloader) and it worked. The module is back to life :) :)
I immediately tried binding a flyky and a DSM receiver (in serial mode) and both are working. Even though I powered the radio off and on several times.
So hopefully, it will be still working tomorrow.

Reinhard

User avatar
jhsa
Posts: 18237
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: 4in1 module dead?

Post by jhsa » Fri Sep 14, 2018 10:32 pm

It will Reinhard :) Well done.. Hopefully the weather is good tomorrow :)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

ReSt
Posts: 1479
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: 4in1 module dead?

Post by ReSt » Sat Sep 15, 2018 9:18 am

João, it did. :)

There came just another idea to my mind.
Last time when I tried the update of the module with the radio, I used the exported code that I compiled with the IDE option "upload via serial inc. Bootloader"
When the module is already flashed with a boot loader, should I then compile with the option "Flash from Tx" ?? for the file, that I will put on the memory card of the radio.

Does that make a difference?
And additional, in the _Config.h I have uncommented the line "#define CHECK_FOR_BOOTLOADER"
All other settings stayed untouched.

Reinhard

User avatar
jhsa
Posts: 18237
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: 4in1 module dead?

Post by jhsa » Sat Sep 15, 2018 9:49 am

I still don't use the boards file they provided for the IDE, I still do it the old way because it works.. Actually, it has been a while since last time I updated my modules because they do all I need and work well.
I suggest you install the new boards files on the IDE. I think they made it even easier recently. Check it out

Yes, the "#define CHECK_FOR_BOOTLOADER" should be uncommented..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “ersky9xr”