inav icon indicating copy to clipboard operation
inav copied to clipboard

Blackbox times out with Matek F405mini with inav 4.0

Open rickgode opened this issue 3 years ago • 9 comments

Current Behavior Selecting the blackbox logs in inav 4.0 configurator on a Matek F405 mini just times out. (I have two and it does it on both) It works fine in inav 4.0 on a Matek F405SE and a FlywooF411V2 FC.

Steps to Reproduce

  1. Update Matek F405 to inav 4.0
  2. Try and access the blackbox tab in inav configurator 4.0
  3. Watch it just say Waiting for data... and time out.

Expected behavior Should be able to access the blackbox logs tab and download the blackbox files

Suggested solution(s)

Additional context

inav 4.0 dump https://pastebin.com/NviVrzv3

  • FC Board name and vendor: INAV/MATEKF405 4.0.0 Dec 15 2021 / 14:53:05 (c20a9852)
  • INAV version string: GCC-10.2.1 20201103 (release)

rickgode avatar Jan 04 '22 13:01 rickgode

Duplicate of https://github.com/iNavFlight/inav-configurator/issues/1420

stronnag avatar Jan 04 '22 14:01 stronnag

What does CLI get blackbox_device report?

stronnag avatar Jan 04 '22 14:01 stronnag

get blackbox_device

blackbox_device = SPIFLASH Allowed values: SERIAL, SPIFLASH, SDCARD

rickgode avatar Jan 05 '22 02:01 rickgode

I'm having the identical issue with the new Matek F405 MiniTE. The 4.0.0 Configurator shows "Dataflash: free 16.0MB" in the header but when I click the blackbox page just says "waiting for data..."

# version
# INAV/MATEKF405TE 4.0.0 Dec 20 2021 / 14:09:08 (GITDIR-N)
# GCC-10.2.1 20201103 (release)

# get blackbox_device
blackbox_device = SPIFLASH
Allowed values: SERIAL, SPIFLASH, SDCARD

# flash_info
Flash sectors=256, sectorSize=65536, pagesPerSector=256, pageSize=256, totalSize=16777216
Paritions:
  0: FLASHFS   0 255
FlashFS size=16777216, usedSize=0

Flashed it with BF 4.2.10 and also tried INAV 3.0.2 and all seems to work in those builds

jc9aj avatar Jan 11 '22 16:01 jc9aj

Okay, so I really think this one is a bug. @jc9aj if you type in "set blackbox_device = SDCARD" via the CLI, it will open up and allow you to enter the blackbox tab, then when you select "On-board dataflash chip" in the dropdown, it will time out and just say "waiting for data..."

It also says that our flight controller does not have a compatible dataflash chip available when you finally get in the Blackbox menu, so there's that.

Ricky

blackbox

rickgode avatar Jan 15 '22 22:01 rickgode

I had the same issue with the miniTE with not being able to get into the menu tab. Matek has a fix they compiled last night with a new firmware target that gets the black box menu working again. Email them and they'll send you the target firmware, I don't think they uploaded it yet on their website. I tried uploading it here but .hex files aren't supported on this.

mulfo44 avatar Jan 26 '22 02:01 mulfo44

Same issue with 4.1.0 using the Maytek Site.

rwindsorjr avatar Mar 08 '22 18:03 rwindsorjr

Just following up again. I updated to inav 4.1.0. @mulfo44 I haven't tried Matek's fix, I've only used the builds in configurator.

Ricky

rickgode avatar Apr 09 '22 14:04 rickgode

Looks like the blackbox bug is still there in inav 5.0 with the Matek 405 mini.

rickgode avatar Jul 12 '22 19:07 rickgode

I have used the Matek fix, from the support page of their site and it works fine . The Black Box file is safe and useable. INAV 4.01 works well now been flying it. Just need to adjust the PIDS a bit. Used this FC to replace a HGLC 722 mini FC . on a REKON5


From: rickgode @.> Sent: Saturday, April 9, 2022 10:40 AM To: iNavFlight/inav @.> Cc: rwindsorjr @.>; Comment @.> Subject: Re: [iNavFlight/inav] Blackbox times out with Matek F405mini with inav 4.0 (Issue #7719)

Just following up again. I updated to inav 4.1.0. @mulfo44https://github.com/mulfo44 I haven't tried Matek's fix, I've only used the builds in configurator.

Ricky

— Reply to this email directly, view it on GitHubhttps://github.com/iNavFlight/inav/issues/7719#issuecomment-1094051422, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVR6MXUR3N5GSF6O6K7UU4DVEGJE5ANCNFSM5LHQJXGA. You are receiving this because you commented.Message ID: @.***>

rwindsorjr avatar Oct 11 '22 08:10 rwindsorjr

@rwindsorjr can you please indicate where to find the matek F405 mini blackbox fix? Board code MKF4? Matek F405 mini is hanging in configurator blackbox tab. V4.1. V5.0 V5.1 all nogo

Thanks

helicocrasher avatar Nov 27 '22 21:11 helicocrasher

sorry slow to respond . It says right in the question. it was rolled into the Matek Target if I remember correctly been a while. I started out with INAV 4.0 . It was a PITA . mine worked fine after that. I never got it tuned. IM Done with Quads . Came from fixed wing. And returned. Cant waste the time and money. Working on a AtormRC dolphin. 405 mini is more reliable than the HGLRC 722. Sorry .


From: helicocrasher @.> Sent: Sunday, November 27, 2022 4:09 PM To: iNavFlight/inav @.> Cc: rwindsorjr @.>; Mention @.> Subject: Re: [iNavFlight/inav] Blackbox times out with Matek F405mini with inav 4.0 (Issue #7719)

@rwindsorjrhttps://github.com/rwindsorjr can you please indicate where to find the matek F405 mini blackbox fix? Board code MKF4? Matek F405 mini is hanging in configurator blackbox tab. Thanks

— Reply to this email directly, view it on GitHubhttps://github.com/iNavFlight/inav/issues/7719#issuecomment-1328340492, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVR6MXXHIVBVDQNMAFMDXX3WKPEXHANCNFSM5LHQJXGA. You are receiving this because you were mentioned.Message ID: @.***>

rwindsorjr avatar Dec 01 '22 19:12 rwindsorjr

Yeah, but it's not, the target listed on Matek's website is the same one you download in the inav configurator. I'm on 5.1 and the blackbox still times out. I think this FC is discontinued by Matek so it might not get much more development here.

rickgode avatar Dec 01 '22 22:12 rickgode

@MATEKSYS could you please indicate how to patch inav F405mini for blackbox to work. I guess the knowledge is available F405miniTE had the same issue. pls check here: https://github.com/iNavFlight/inav/issues/7874#issuecomment-1068948988

helicocrasher avatar Dec 02 '22 20:12 helicocrasher

I dug it out and no help. I had converted it to External Logger. Because the built in was to small. It worked before but now the FC overheats on the USB power within minutes. I was told about the fix on Discord . Sorry Had a few strokes and it may come to me but not now.


From: helicocrasher @.> Sent: Friday, December 2, 2022 3:44 PM To: iNavFlight/inav @.> Cc: rwindsorjr @.>; Mention @.> Subject: Re: [iNavFlight/inav] Blackbox times out with Matek F405mini with inav 4.0 (Issue #7719)

@MATEKSYShttps://github.com/MATEKSYS could you please indicate how to patch inav F405mini for blackbox to work. I guess the knowledge is available F405miniTE had the same issue

— Reply to this email directly, view it on GitHubhttps://github.com/iNavFlight/inav/issues/7719#issuecomment-1335827502, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVR6MXUQZEDT5VPTXAGQM4DWLJNULANCNFSM5LHQJXGA. You are receiving this because you were mentioned.Message ID: @.***>

rwindsorjr avatar Dec 03 '22 21:12 rwindsorjr