Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MATEK H743 freeze after couple of minutes with INAV8 + JETI #10646

Open
RoadyFPV opened this issue Jan 26, 2025 · 103 comments
Open

MATEK H743 freeze after couple of minutes with INAV8 + JETI #10646

RoadyFPV opened this issue Jan 26, 2025 · 103 comments

Comments

@RoadyFPV
Copy link
Contributor

RoadyFPV commented Jan 26, 2025

I flashd INAV 8 to my MATEK H743
after a couple of minutes the FC frezze no Servo and configurator reaction, only a usb reconnect or disconnect the battery will help.
With INAV 7 no issues at all.

Steps to Reproduce

1.Flash INAV 8
2.apply the modified diff / or set it up new
3.The FC freeze after a couple of minutes

Expected behavior

It should not freeze like in INAV 7

Suggested solution(s)

Find with me a way to clear the issue, maybe u can give me instructions how to find it

Additional context

https://pastebin.com/HxEp59E6


version

INAV/MATEKH743 8.0.0 Jan 21 2025 / 16:13:24 (ec2106a)

GCC-13.2.1 20231009

  • FC Board name and vendor: MATEK H743
@Jetrell
Copy link

Jetrell commented Jan 26, 2025

Can you please include a settings DIFF, not a DUMP.

When you said it freezes after a couple of minutes. Is that after the same elapsed time in each test ?
Does it freeze when only connected to the Configurator via USB power ? Or with the flight battery connected too ?
Or does it freeze when just power by the flight battery ?
Do you have a blackbox card loaded. Is the logging enabled ?

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Jan 27, 2025

Diff: https://pastebin.com/Nm0Syd10

It freeze with Battery only
It freeze with USB only
It freeze totaly random. Sometimes after seconds, or after couple of minutes
It freeze with insert sd card and disabled bblog
it freeze without sd card and disabled bblog

It freeze without sd card and enabled bblog
It freeze with sd card and enabled bblog

@MrD-RC
Copy link
Collaborator

MrD-RC commented Jan 27, 2025

I see you are using Jeti, which you have reported elsewhere is locking up again. Don't you think that could also be the problem here?

@RoadyFPV
Copy link
Contributor Author

i dont know.
INAV 7 is running without any freeze after i upgrade to an h743
now with inav 8 h743 freeze again
so i dont think its a JETI issue only

@MrD-RC
Copy link
Collaborator

MrD-RC commented Jan 27, 2025

Have you tried setting serial RX to something like CRSF and physically removing the Jeti receiver?

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Jan 27, 2025

I will try it and set rx to sbus
but somewhere must be a difference between 7 and 8 that force the freeze
maybe the compiler again?

i noticed something strange right now, but i cant say exactly if it was before the freeze or after.
My DJI Goggles V1 reboots around the freeze

@RoadyFPV
Copy link
Contributor Author

Seems like no freeze with SBUS

@MrD-RC
Copy link
Collaborator

MrD-RC commented Jan 27, 2025

So it seems like another Jeti related issue to me.

@RoadyFPV
Copy link
Contributor Author

can u compile me inav 8 with inav 7 compiler? lets see if this fix the issue like in inav 4

@mmosca mmosca changed the title MATEK H743 freeze after couple of minutes with INAV8 MATEK H743 freeze after couple of minutes with INAV8 + JETI Jan 28, 2025
@mmosca
Copy link
Collaborator

mmosca commented Jan 28, 2025

Try to test with the artifacts from #10653

No guarantees, so test in the bench first.

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Jan 28, 2025

Thanks, test is running...

What i also noticed some time ago, i have 16 channels but inav shows 24 channels on reciver tab.
if i have selected 24 channel mode in the tx then the green channel bars 17 to 24 are not moving and rock solid at 1500.
if i select non 24 channel mode, i think it was 2 bars, are jumping around.

Here is a video with 16 channel mode
https://youtu.be/ZIVGBpjcopU

@RoadyFPV
Copy link
Contributor Author

It freeze around 7 min

@mmosca
Copy link
Collaborator

mmosca commented Jan 28, 2025

This will likely be a tough one to crack without hardware.

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Jan 28, 2025

Jea i think so..

i have a suspicion what it could be, but unfortunately i don't have the programming skills to implement it.

in the beginning with jeti, between rx and tx, i think it was a 2,4k resistor was needed. then marv-t in betafligh implemented it in the code so that no resistor is needed anymore.

maybe go back with the code so that the resistor is needed and test it?

if i can remember correctly from testing in the past, if i disable telemetry feature it dont freeze

@mmosca
Copy link
Collaborator

mmosca commented Jan 29, 2025

I reached out to JETI to see if they are willing to provide a test system on loan, or if they have some sort of simulator we can use.

Otherwise, we may have to depend on someone in the community donating a radio + rx for testing. (It does not need to be the latest model, so if you anyone has an older JETI system that is compatible with EXBUS and is willing to donate to the INAV team, reach out!)

@RoadyFPV
Copy link
Contributor Author

Great, thank you.

I'm curious what answers now, don't think they'll go into it.

I might have a transmitter and rx available on loan, if jeti dosent respond.

May I contact you on discord?

@mmosca
Copy link
Collaborator

mmosca commented Jan 29, 2025

Great, thank you.

I'm curious what answers now, don't think they'll go into it.

I might have a transmitter and rx available on loan, if jeti dosent respond.

May I contact you on discord?

Sure, but I would wait for Jeti to reply. I have no idea how long I would need the radio for, so I would rather know I am not preventing anyone from flying in the mean time :)

@jaroszmm
Copy link

Meanwhile as I also have some JETI planes with INAV (using Jeti's exbus protocol) I could test out Inav 8 on some FCs.

So what do I exactly need to do to cross check with you guys?

@RoadyFPV
Copy link
Contributor Author

I have right now flashd inav 8 on ma matekf722 wing.
and connected only rx to the fc.
i have the settings set without a cli restore.

lets see what happens.

@jaroszmm
Flash INAV8
Use the uart tx pin and make sure telemetry is enabled
i use 16 channels in transmitter
and lets see if it freeze
the freeze is totaly random after some time. sometimes minutes or seconds or 20min...

maybe its a combination of jeti protocol an the other connected hardware

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Jan 30, 2025

@jaroszmm
Pls check also for 100Hz transmitter rate

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Jan 30, 2025

ok, freeze too with f722 with only rx connected after around 20 min

From my testing some time ago i noticed that the freez maybe takes longer if i use 50Hz transmitter rate.
But that can be hard to say, because of the total random freeze time.

@JWC1304
Copy link

JWC1304 commented Feb 1, 2025

Hello,

I have the exact same issue with h743 and jeti on fixed wing, exactly the same as we had before somewhere in 6 or version 7.
With version 7.1 the system is very stable. Everytime again i am so happy with the new inav versioin and i always forget to look up the issues. Can this please be adressed, for i love the new feautures of inav 8

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 1, 2025

@JWC1304 Can you pls try to disable the telemetry option in INAV configurator and look if it freeze?

@JWC1304
Copy link

JWC1304 commented Feb 1, 2025

Meanwhile as I also have some JETI planes with INAV (using Jeti's exbus protocol) I could test out Inav 8 on some FCs.

So what do I exactly need to do to cross check with you guys?

if you use a matek controller and inav8 it will freeze after a few minutes of flying. the last time it was something with exbus jeti with made it freeze, basiccally losing signal.

@JWC1304
Copy link

JWC1304 commented Feb 1, 2025

@JWC1304 Can you pls try to disable the telemetry option in INAV configurator and look if it freeze?

i would like toi but than i will have to sacrifice another plane or bird, i can only repeat it while actually flying. Or can you tell me how to test this on the bench

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 1, 2025

@JWC1304 Can you pls try to disable the telemetry option in INAV configurator and look if it freeze?

i would like toi but than i will have to sacrifice another plane or bird, i can only repeat it while actually flying. Or can you tell me how to test this on the bench

No, it freeze on bench too with usb. pls confirm first the freeze with telemetry enabled and usb.
and then try disable telemetry with configurator

@JWC1304
Copy link

JWC1304 commented Feb 1, 2025

@JWC1304 Can you pls try to disable the telemetry option in INAV configurator and look if it freeze?

i would like toi but than i will have to sacrifice another plane or bird, i can only repeat it while actually flying. Or can you tell me how to test this on the bench

No, it freeze on bench too with usb. pls confirm first the freeze with telemetry enabled and usb. and then try disable telemetry with configurator

okay give me an hour (dinner in between )and i will report back asap

@MrD-RC
Copy link
Collaborator

MrD-RC commented Feb 1, 2025

It's probably worth adding Jeti causes freezes in the known issues of the release notes.

@jaroszmm
Copy link

jaroszmm commented Feb 9, 2025

Okay, mine just froze on freshly flashed 8.0
Telemetry on radio started blinking, and radio channel sliders in configurator stopped working too.

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 9, 2025

Okay, mine just froze on freshly flashed 8.0 Telemetry on radio started blinking, and radio channel sliders in configurator stopped working too.

with the gcc9 version?

@jaroszmm
Copy link

jaroszmm commented Feb 9, 2025

No, with "official" 8.0

@jaroszmm
Copy link

jaroszmm commented Feb 9, 2025

And another freeze, this time quickly, not even 10 min operation

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 9, 2025

now with gcc9? or the official version

testing official version has the freeze.

@jaroszmm
Copy link

jaroszmm commented Feb 9, 2025

Still official. I wanted to check if this happens at least twice.
I'll try the 9 later.

@robertbulko
Copy link

robertbulko commented Feb 9, 2025

I am testing INAV 8.0 GCC 9.3.1 and it works with no problem. It took me some time to figure how to install it. I did not do it since 6.0

@robertbulko
Copy link

ImageDo you know what that yellow triangle under the battery status means? I have forgotten it.

@robertbulko
Copy link

I see CH 17 jumping up and down randomly. It is strange

@robertbulko
Copy link

Diff All command does not work for me.

@robertbulko
Copy link

robertbulko commented Feb 9, 2025

after 43 mins it is still working (INAV 8.0 GCC 9.3.1) but Diff All doesn't work and INAV configurator freezes when Diff All performed

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 9, 2025

#10646 (comment)

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 9, 2025

F722 runs with no freeze on GCC9 and there are only 16 channels in configurator

@robertbulko
Copy link

robertbulko commented Feb 9, 2025

#10646 (comment)

Where did you enable 24 CH mode in your transmitter, I cannot find it? I have DC-24.

@robertbulko
Copy link

F722 runs with no freeze on GCC9 and there are only 16 channels in configurator

Does the Diff All command work in your configurator?

@robertbulko
Copy link

robertbulko commented Feb 9, 2025

I found it. When I enabled 24 CH mode, all control surfaces stopped working

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 9, 2025

I found it. When I enabled 24 CH mode, all control surfaces stopped working

yes you have to restart fc

@robertbulko
Copy link

I tried to configure the FC from the scratch and it seems to be working Ok and CH 17 stands still no random moving.

@robertbulko
Copy link

O.K. I believe INAV 8.0 compiled on GCC 9.3.1 will work. I am back on INAV 6.1 now. I don't see any reason to upgrade anytime soon. Anyway, thank you very much for the file.

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 9, 2025

Iam done, i think iam not able to find the issue in this way.
gcc 9 looks rock steady...

f722 looks fine no freeze. i think the compile broke something....

the whole story begun with gcc change from gcc9 to gcc10....

@RoadyFPV
Copy link
Contributor Author

For Information, cant observe an freeze on H743 and F722 with GCC9 and telemetry enabled

@robertbulko
Copy link

robertbulko commented Feb 10, 2025

For Information, cant observe an freeze on H743 and F722 with GCC9 and telemetry enabled

I had no freeze at all while testing it but I wanted to fly today and ended up waiting for satellites. It stopped on 5 and never increased, so I flashed the INAV back to 6.1 and had 11 sats almost immediately.

@JWC1304
Copy link

JWC1304 commented Feb 11, 2025

i woiuld love to test it but i have an imac system, or did you guys already fixed the issue, i do not quite understand where we are at right now. Did yoy guys also play with the throttle that is how i made it freeze everytime,

@RoadyFPV can you enlighten me what is the status now? Will there be a new compiled version soon?

@robertbulko
Copy link

robertbulko commented Feb 11, 2025

i woiuld love to test it but i have an imac system, or did you guys already fixed the issue, i do not quite understand where we are at right now. Did yoy guys also play with the throttle that is how i made it freeze everytime,

@RoadyFPV can you enlighten me what is the status now? Will there be a new compiled version soon?

Hi, I am on mac too. Where is your problem? INAV configurator also works on mac platform. Latest version of INAV 8.0 compiled on GCC 9.3.1 works. Official version doesn't (I mean for JETI users).

INAV configurator for (Intel) mac

@JWC1304
Copy link

JWC1304 commented Feb 11, 2025

i woiuld love to test it but i have an imac system, or did you guys already fixed the issue, i do not quite understand where we are at right now. Did yoy guys also play with the throttle that is how i made it freeze everytime,
@RoadyFPV can you enlighten me what is the status now? Will there be a new compiled version soon?

Hi, I am on mac too. Where is your problem? INAV configurator also works on mac platform. Latest version of INAV 8.0 compiled on GCC 9.3.1 works. Official version doesn't (I mean for JETI users).

there wasa new file sent to test with that was for test purposes only and that was not a mac file but for windows, no idea how i compile 8.0 with occ9.3.1, I know the offical relases work with mac, duuh, although i had to start it up in a terminal with some attr command, and yes a jeti user that suffers from the freezing.

@robertbulko
Copy link

robertbulko commented Feb 11, 2025

i woiuld love to test it but i have an imac system, or did you guys already fixed the issue, i do not quite understand where we are at right now. Did yoy guys also play with the throttle that is how i made it freeze everytime,
@RoadyFPV can you enlighten me what is the status now? Will there be a new compiled version soon?

Hi, I am on mac too. Where is your problem? INAV configurator also works on mac platform. Latest version of INAV 8.0 compiled on GCC 9.3.1 works. Official version doesn't (I mean for JETI users).

there wasa new file sent to test with that was for test purposes only and that was not a mac file but for windows, no idea how i compile 8.0 with occ9.3.1, I know the offical relases work with mac, duuh, although i had to start it up in a terminal with some attr command, and yes a jeti user that suffers from the freezing.

You got it wrong. There is no such a file for windows or mac. There is a one file for all platforms only configurators are platform orientated.

Here is the file INAV.8.with.gcc.9.3.1.zip

@JWC1304
Copy link

JWC1304 commented Feb 11, 2025

my bad thank you

i woiuld love to test it but i have an imac system, or did you guys already fixed the issue, i do not quite understand where we are at right now. Did yoy guys also play with the throttle that is how i made it freeze everytime,
@RoadyFPV can you enlighten me what is the status now? Will there be a new compiled version soon?

Hi, I am on mac too. Where is your problem? INAV configurator also works on mac platform. Latest version of INAV 8.0 compiled on GCC 9.3.1 works. Official version doesn't (I mean for JETI users).

there wasa new file sent to test with that was for test purposes only and that was not a mac file but for windows, no idea how i compile 8.0 with occ9.3.1, I know the offical relases work with mac, duuh, although i had to start it up in a terminal with some attr command, and yes a jeti user that suffers from the freezing.

You got it wrong. There is no such a file for windows or mac. There is a one file for all platforms only configurators are platform orientated.

Here is the file INAV.8.with.gcc.9.3.1.zip

my bad thank you

@RoadyFPV
Copy link
Contributor Author

i woiuld love to test it but i have an imac system, or did you guys already fixed the issue, i do not quite understand where we are at right now. Did yoy guys also play with the throttle that is how i made it freeze everytime,
@RoadyFPV can you enlighten me what is the status now? Will there be a new compiled version soon?

Hi, I am on mac too. Where is your problem? INAV configurator also works on mac platform. Latest version of INAV 8.0 compiled on GCC 9.3.1 works. Official version doesn't (I mean for JETI users).

there wasa new file sent to test with that was for test purposes only and that was not a mac file but for windows, no idea how i compile 8.0 with occ9.3.1, I know the offical relases work with mac, duuh, although i had to start it up in a terminal with some attr command, and yes a jeti user that suffers from the freezing.

You got it wrong. There is no such a file for windows or mac. There is a one file for all platforms only configurators are platform orientated.

Here is the file INAV.8.with.gcc.9.3.1.zip

This are no official Version of INAV, Fly it at your own risk.
These files are only intended for testing if it freeze or not.

@mmosca
Copy link
Collaborator

mmosca commented Feb 12, 2025

Matek F722 Wing still freeze with modified code. Matek H743 does not freeze.

@mmosca Maybe you could try contact ELEFUN?

I don't think it is possible for me to analyze the error in this way. Maybe I'm on the right track but I don't have the knowledge. i only try and error....

I sent them an e-mail, but not sure if they will be able to provide a unit on loan. I don't have any special contacts there, so it may not even get past customer support.

@mmosca
Copy link
Collaborator

mmosca commented Feb 14, 2025

Got a reply today. Sounds like Jeti will send a loaner with the next elefun order. It should arrive in a few weeks. So there may be a light on the end of the tunnel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants