Maybe a bug ?

openTx has introduced a range of new features, ideas and bling. It is fast becoming the firmware of choice for many users. openTx will run on ALL current hardware platforms, including the gruvin9x and sky9x boards. Work has already started to support the new FrSky X9D radio!
Post Reply
User avatar
fmelle
Posts: 28
Joined: Tue Apr 03, 2012 12:50 pm
Country: France
Contact:

Maybe a bug ?

Post by fmelle »

Hello all,

Dealing with battery voltage calibration, I may have found a bug.

I do have a DSM2 module installed in the Turnigy 9x and a switch that enable the radio to either use the standard JR port on the back or the inside DSM2 module (from LP4DSM). When I calibrate the voltage on a model using PPM (for the standard flysky module plugged in the back), it is OK as long as I stay on models in PPM. But when I swith to the model on DSM2 protocol, the voltage shifts and get 0.7v less ... If I calibrate it on DSM2, it is OK until I switch to a model using PPM protocol ! Then it is +0.7V :shock:

It acts this way whatever the switch mode is, meaning it is not an hardware issue but a software one.

Does anyone noticed that ?

User avatar
erazz
9x Developer
Posts: 682
Joined: Tue Dec 27, 2011 6:25 pm
Country: -
Location: NJ-USA
Contact:

Re: Maybe a bug ?

Post by erazz »

That's really weird. I don't seem to have this problem....

Could you post your EEPROM file here?
Z

BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Maybe a bug ?

Post by Kilrah »

How did you wire the switch? Does it cut the power line or PPM line (or both)?
User avatar
fmelle
Posts: 28
Joined: Tue Apr 03, 2012 12:50 pm
Country: France
Contact:

Re: Maybe a bug ?

Post by fmelle »

I do have ground for both module then either one module has PPM and VCC either the other module ...

Changing switch does not change battery voltage behaviour.

FYI, I have the LCD backlight module in the 9x with the transistor ... No other mods except the wires to program the er9x. For the eeprom, it is 1am here in France, I will post it tomorrow.

I am on open9x firmware for now.
User avatar
fmelle
Posts: 28
Joined: Tue Apr 03, 2012 12:50 pm
Country: France
Contact:

Re: Maybe a bug ?

Post by fmelle »

OK, back from work, it is 8:07pm and I have updated my 9x with open9x-r515 version is V2.00H, date of firmware is 2012-04-11, EEPROMv205

Here is a way to reproduct the behaviour each time on my radio :
- create 2 models : one with PPM named for exemple PPM_TEST and another with DSM2 for exemple DSM2_TEST
- calibrate the transmitter battery voltage using PPM_TEST
- change model to DSM2_TEST and exit to see voltage : voltage reading is correct
- power off / power on the transmitter => the voltage has shifted
- change model to PPM_TEST and exit to see voltage => voltage is still shifted
- power off / power on the transmitter => the voltage is now correct (as it was calibrated with PPM and booted on PPM)

If you want, I can upload the eeprom somewhere ...

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: Maybe a bug ?

Post by bertrand35 »

Yes please!
Thanks,
Bertrand.
User avatar
fmelle
Posts: 28
Joined: Tue Apr 03, 2012 12:50 pm
Country: France
Contact:

Re: Maybe a bug ?

Post by fmelle »

OK, here is my eeprom file : http://www.packupload.com/AP9OXZF64DM
User avatar
fmelle
Posts: 28
Joined: Tue Apr 03, 2012 12:50 pm
Country: France
Contact:

Maybe a bug ?

Post by fmelle »

No idea at all ?

Post Reply

Return to “openTx”