inav icon indicating copy to clipboard operation
inav copied to clipboard

FC Freeze randomly in Inav 4.0.0 with JetiEXBUS

Open RoadyFPV opened this issue 3 years ago • 12 comments

The FC Freezes randomly after a couple of minutes.

See here: https://github.com/iNavFlight/inav/issues/7434

RoadyFPV avatar Dec 19 '21 16:12 RoadyFPV

Would it be possible for a developer to compile the current release version with GCC 9 for me?

RoadyFPV avatar Jan 01 '22 17:01 RoadyFPV

After I have now tried a lot, I think I have found the issue why the FC freezes randomly.

It really seems to be with the ExBus protocol and the GCC10 compiler. Tests showed that the version with GCC9 compiler does not lead to any freezes. When I use INAV 4.1.0 rc1 with ExBus the FC freezes involuntarily.

Since the Jeti receivers can also output SBUS I switched to this protocol. The freezes are gone. Unfortunately, the telemetry then no longer works.

This is a realy dangerous bug and should be followed up.

RoadyFPV avatar Jan 27 '22 14:01 RoadyFPV

@marv-t maybe u can assist here?

RoadyFPV avatar Jan 29 '22 11:01 RoadyFPV

@stronnag is it possible that you compile me 4.1 release with gcc 9?

RoadyFPV avatar Feb 12 '22 12:02 RoadyFPV

no, I have no instances of old GCC.

stronnag avatar Feb 12 '22 12:02 stronnag

seems like when i disable telemetry feature the bug is gone

RoadyFPV avatar Feb 19 '22 11:02 RoadyFPV

@RoadyFPV probably this fixes it https://github.com/iNavFlight/inav/pull/8024 I can not test thought

DzikuVx avatar May 10 '22 17:05 DzikuVx

@DzikuVx Thanks, i will test it asap.

RoadyFPV avatar May 11 '22 03:05 RoadyFPV

@DzikuVx I need a MATEKF722SE target to test it.

RoadyFPV avatar May 11 '22 18:05 RoadyFPV

inav_5.0.0_MATEKF722SE.zip @RoadyFPV

DzikuVx avatar May 12 '22 06:05 DzikuVx

Thank you, Is this only a test version or is It flyable.

RoadyFPV avatar May 12 '22 06:05 RoadyFPV

Issue is still threre, fc freeze randomly

RoadyFPV avatar May 26 '22 13:05 RoadyFPV

seems like if i set the transmit frequency from 100Hz to 50Hz the freezes are gone. More tests runnig

RoadyFPV avatar Feb 05 '23 12:02 RoadyFPV

Hi RoadyFPV, did the 50Hz change really help?

ghost avatar Mar 25 '23 17:03 ghost

Jea on inav i only have bench test.... for flight i wait for inav 6 release and use gcc9

Betaflight works without freezes on 50 hz

RoadyFPV avatar Mar 25 '23 17:03 RoadyFPV

Jea on inav i only have bench test.... for flight i wait for inav 6 release and use gcc9

Betaflight works without freezes on 50 hz

Thanks. When you have iNav 6 compiled with GCC 9 could you share it with me please? I would like to test it. I have something in mind. I do not understand these things. What is actually compiled? Is it a .hex file or something else?

ghost avatar Mar 25 '23 17:03 ghost

I am trying my best. Please remind me if I forget

RoadyFPV avatar Mar 25 '23 17:03 RoadyFPV

Wich Target do you need?

I compile inav 6 for myself MATEKF722SE with GCC9.3.1 right now, i hope it works. This is a realy pain in the a....

RoadyFPV avatar Mar 25 '23 18:03 RoadyFPV

Wich Target do you need?

I compile inav 6 for myself MATEKF722SE with GCC9.3.1 right now, i hope it works. This is a realy pain in the a....

MATEKH743

ghost avatar Mar 25 '23 18:03 ghost

Wich Target do you need?

I compile inav 6 for myself MATEKF722SE with GCC9.3.1 right now, i hope it works. This is a realy pain in the a....

GOOD LUCK ;)

ghost avatar Mar 25 '23 18:03 ghost

inav_6.0.0_MATEKH743GCC9.3.1.zip

Take care and give it a good bench test

RoadyFPV avatar Mar 25 '23 18:03 RoadyFPV

inav_6.0.0_MATEKH743GCC9.3.1.zip

Take care and give it a good bench test

WOW! Thank you very much :)

ghost avatar Mar 25 '23 19:03 ghost

your welcome

RoadyFPV avatar Mar 25 '23 19:03 RoadyFPV

your welcome

I do not want to be bad guy but could you please compile this one too, please? MAMBAF722_WING I have 2 FCs. If you say No I am OK with it, You have done a lot already

ghost avatar Mar 25 '23 19:03 ghost

Pls test the first file first, and give me a feedback, i try it to compile it then.

RoadyFPV avatar Mar 25 '23 19:03 RoadyFPV

Pls test the first file first, and give me a feedback, i try it to compile it then.

OK, deal. :) I have installed it already.

ghost avatar Mar 25 '23 19:03 ghost

pls share a cli.

-version and status

RoadyFPV avatar Mar 25 '23 19:03 RoadyFPV

pls share a cli.

-version and status

I know I look stupid now. Could you please be more specific? I do not know what version and what status and what about cli you want. About cli do you mean DIFF?

ghost avatar Mar 25 '23 19:03 ghost

jea instead diff type version

RoadyFPV avatar Mar 25 '23 19:03 RoadyFPV

version

INAV/MATEKH743 6.0.0 Mar 25 2023 / 19:48:11 (GITDIR-N)

GCC-9.3.1 20200408 (release)

ghost avatar Mar 25 '23 19:03 ghost