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 · 57 comments
Open

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

RoadyFPV opened this issue Jan 26, 2025 · 57 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.

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 1, 2025

@MrD-RC Sounds reasonable, protects other user from lost her plane.

My test without telemetry runs for 2h15min now without a freeze and still running

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 1, 2025

I think it could be a problem with the one wire communication misstiming or somewhat.

maybe we can try the old jeti exbus and telemetry code from the beginning.
there is a rersistor between rx and tx and the reciever is connected to rx.

https://github.com/betaflight/betaflight/blob/v3.3.3/src/main/rx/jetiexbus.c
https://github.com/betaflight/betaflight/blob/v3.3.3/src/main/telemetry/jetiexbus.c

after that, the code was changed so there is no resistor needed and connect directly to tx pin.
this worked fine with gcc9, and after switching to gcc10 the oddysee began.

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 1, 2025

3h and no freeze. i will test tomorrow again

@JWC1304
Copy link

JWC1304 commented Feb 1, 2025

just to be sure mine is running now without ceasing and telemetry off in the configuration tab right? Will also try
to reproduce freeze with telemetry on, so far no freeze. I also assume it shpould be armed as well?! yes?

But assuming it is a quick fix turning off telemetry, but can this not be resolved like the last time this happened? The freeze combi jeti and matek?

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 1, 2025

try first to reproduce the freeze with telemetry. arming is not required.
then disable telemetry and try again

@JWC1304
Copy link

JWC1304 commented Feb 1, 2025

try first to reproduce the freeze with telemetry. arming is not required. then disable telemetry and try again

ok WILCO

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 1, 2025

I think we are on the right way to find the issue on the telemetry side.
But without Hardware on dev side it will be almost impossible.
this testing eats a lot of time

@JWC1304
Copy link

JWC1304 commented Feb 1, 2025

are you sure not arming? , because on the bench now for 6 minutes with telemetry and not freezing up, while in flight it is before the 5 minutes mark. ( i do not have gps lock, makes that a diffrencer because i am inside not near a window)

Did change it to horizon now instead of manual, maybe that makes a diffrence?

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 1, 2025

freeze is totaly random sometimes 20 min or 4min or 1h10min
i am not arming while testing

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 1, 2025

My setup for testing is matek f722 wing with only rx connected

and a matek h743 with gps and dji vtx in a plane

@JWC1304
Copy link

JWC1304 commented Feb 1, 2025

My setup for testing is matek f722 wing with only rx connected

testing with matek h743, jeti transmitter, and trying to get gps now and arm and kmeep testing till it freezes.
I flew twice today with this setup, and it froze both times within 5 minutes. Second time i was expecting it, first time i was lucky :-)

@JWC1304
Copy link

JWC1304 commented Feb 1, 2025

Yep it froze !! After 10 minutes, Call me nuts, but with me it is every time i am playing with throttle while armed ,it freezes, loses signal, etc. wil try to repeat this now without telemetry.

@JWC1304
Copy link

JWC1304 commented Feb 1, 2025

Okay so far 10 minutes in without telemetry and gps and so far playing with throttle like a fool, but all systems seem to keep working and stable. Will keep on going for another 10 minutes if you do n ot hear back, assume it is working without telemetry.

update no freeze so far half an hour without telemetry

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 2, 2025

@jaroszmm have you already been able to carry out a few tests

@JWC1304 can you pls try another one without telemetry and let it run for 1h or 2h?
And then again with telemetry? to be sure the telemetry part is the issue?

@JWC1304
Copy link

JWC1304 commented Feb 2, 2025

@jaroszmm have you already been able to carry out a few tests

@JWC1304 can you pls try another one without telemetry and let it run for 1h or 2h? And then again with telemetry? to be sure the telemetry part is the issue?

roger will do it again withpout telemetry for as long the battery will hold

@jaroszmm
Copy link

jaroszmm commented Feb 2, 2025

@jaroszmm have you already been able to carry out a few tests

@JWC1304 can you pls try another one without telemetry and let it run for 1h or 2h? And then again with telemetry? to be sure the telemetry part is the issue?

Sorry, not yet. Been busy with other stuff but might find some time today evening.

@JWC1304
Copy link

JWC1304 commented Feb 2, 2025

Well i can confirm again without Telemetry i can not induce a freeze, within the 40 minute mark, i stopped than. Tried to induce it again with telemetry, on usb, without usb connected, disarmed, armed, with low throttle, etc. It seems it freezes up only when i give max (when armed) throttle and than lower it again and than full again, those are the moments it freezes within minutes.(with telemetry) Without telemetry i can not make it freeze at all. (gps ios still connected btw)

If I remember correctly this was the exact same error as in a previous (version 6.X or 7.0 i do not remember exactly) and same behaviour.
I am forced to go back to 7.1.(2) since that has proven to be very stable and i need telemetry in my daily use. I hope it will and can be resolved again.

Let me know of i can be of further assistance

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 2, 2025

Yes, looks like the same issue wich comes out with the channge from gcc9 to gcc10.
But now we can confirm it has something to do with the telemetry part.

This Issue is a real ghost. It comes and goes.....

@JWC1304
Copy link

JWC1304 commented Feb 2, 2025

Yes, looks like the same issue wich comes out with the channge from gcc9 to gcc10. But now we can confirm it has something to do with the telemetry part.

This Issue is a real ghost. It comes and goes.....

for me there is definitely a correlation when armed and playing with my throttle over 50%, i do not get it,but that is when i can induce a freeze in minutes, whille sitting on the bench,armed and at low constant throttle it seems stable, very strange (needless to say this is with tlelemetry).

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 2, 2025

another 3h test run without telemetry and no freeze.

yes, i tried out wiggeling the throttle stick with telemetry enabled and it freeze much faster. you are right.

I think that the different packages collide with each other (telemetry request and the channel data)

so that it leads to freezing when switching the rx/tx functions.

all just a guess, i can't confirm it.
if i knew if i could somehow measure it with the oszi, i could try it

@robertbulko
Copy link

robertbulko commented Feb 2, 2025

Hi everyone, this problem seems to be exactly the same like when version 6 was released and new version of compiler was used. MATEK H743 was working properly only when telemetry was off or when INAV was compiled on version 9.3.1. I still use INAV 6 compiled on 9.3.1. and it works without any problems till now. I was very critical to developers at that time and was banned for my hot comments. History repeats itself but this time one of the devs is willing to take Jeti HW into his hands and try to correct the issue. I am glad to see such a progress and hope for Jeti users to see a light at the end of the tunnel.

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 5, 2025

@robertbulko @JWC1304 can you guys test this file with telemetry pls? Only for Benchtest

INAV 8 benchtest.zip

@robertbulko
Copy link

robertbulko commented Feb 5, 2025

I am sorry, I won't do it. I have no spare H743 board for testing and do not want to disassemble the one I have in the plane. I'm happy it is working. (I mean using version 6.0 compiled on v9.3.1)

@JWC1304
Copy link

JWC1304 commented Feb 6, 2025

will try later today !

@JWC1304
Copy link

JWC1304 commented Feb 6, 2025

@robertbulko > I am sorry, I won't do it. I have no spare H743 board for testing and do not want to disassemble the one I have in the plane. I'm happy it is working. (I mean using version 6.0 compiled on v9.3.1)

you do not need to offer it up just reverse to your old settings and or version after testing

@robertbulko
Copy link

@robertbulko > I am sorry, I won't do it. I have no spare H743 board for testing and do not want to disassemble the one I have in the plane. I'm happy it is working. (I mean using version 6.0 compiled on v9.3.1)

you do not need to offer it up just reverse to your old settings and or version after testing

I did it before and I consider it useless unless some of devs really has JETI HW for testing. In my opinion, this kind of testing proves really nothing relevant.

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 6, 2025

@robertbulko > I am sorry, I won't do it. I have no spare H743 board for testing and do not want to disassemble the one I have in the plane. I'm happy it is working. (I mean using version 6.0 compiled on v9.3.1)
you do not need to offer it up just reverse to your old settings and or version after testing

I did it before and I consider it useless unless some of devs really has JETI HW for testing. In my opinion, this kind of testing proves really nothing relevant.

That type of you dont realy help. Its better u will banned again.

@robertbulko
Copy link

robertbulko commented Feb 6, 2025

@robertbulko > I am sorry, I won't do it. I have no spare H743 board for testing and do not want to disassemble the one I have in the plane. I'm happy it is working. (I mean using version 6.0 compiled on v9.3.1)
you do not need to offer it up just reverse to your old settings and or version after testing

I did it before and I consider it useless unless some of devs really has JETI HW for testing. In my opinion, this kind of testing proves really nothing relevant.

That type of you dont realy help. Its better u will banned again.

Whatever, I am not willing to do the same thing and wait for different result. It is not very smart. As I said, the only relevant way to make a progress in my opinion is developer having the JETI HW. Until that time it is useless.

@RoadyFPV
Copy link
Contributor Author

RoadyFPV commented Feb 6, 2025

2 test done with modified code.

1h30min no freeze with telemetry enabled
4h40min no freeze with telemetry enabled

Telemetry looks clear without any gaps in the record

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