inav icon indicating copy to clipboard operation
inav copied to clipboard

SD Card doesn't work on MATEK F722

Open StefanRvO opened this issue 8 years ago • 30 comments

I am using a MATEK F722 board with iNav 1.9.0-RC1.

When trying to use the SD-Card for blackbox logging, i get the following error in the configurator: "Fatal error. Reboot to retry", and blackbox logging does not work during flight.

Logging works in the newest betaflight, so there should be no issues with the hardware.

StefanRvO avatar Feb 19 '18 15:02 StefanRvO

Confirmed, was also the same Fatal Error message with 1.8.1 and both Matek provided 1.8.1 hex's Works fine in Betadlight

dleask avatar Feb 19 '18 23:02 dleask

I am willing to try to find the reason for the issue myself, but as I haven't worked with iNav before, it would be helpfull if someone could give some hints at what parts of the code could cause the issue. As I guess the problem is probably some kind of misconfiguration of the MATEKF722 target, I have tried to compare the target files in iNav with the ones in betaflight, but didn't find any difference which I thought was likely to be the cause.

StefanRvO avatar Feb 20 '18 15:02 StefanRvO

I’ve tried three different SD cards today and I can get one of them to work with the 1.9.0 firmware. Looks like it may be down to sensitivity of the card format. I’ll fry different formatters to see if there is some consistency.

dleask avatar Feb 20 '18 16:02 dleask

I'm using the hex from this issue: https://github.com/iNavFlight/inav/issues/2686

It's working fine with blackbox logging. Just FYI.

MrAlfabet avatar Feb 20 '18 16:02 MrAlfabet

I just bought a Sandisk Ultra 16GB card as suggested by the Wiki. This one seems to work as opposed to the 1 GB no-name sdcard I used before. However, I still don't get why it would work in betaflight and not in iNav (i tried the build suggested by MrAlfabet with the same result).

StefanRvO avatar Feb 20 '18 18:02 StefanRvO

It's possible that Betaflight uses lower SD-card clock.

digitalentity avatar Feb 21 '18 10:02 digitalentity

Same to report as StefanRvO: Sandisk Ultra 16GB HC1 works, but none of the 8 noname older 1,2,4 GB cards... Not to much of a big deal as far as I'm concerned...

putimir avatar Mar 09 '18 09:03 putimir

Same here..... blackbox logging doesn't work on iNav with 2 different cards (1GB + 16 GB). Fatal error....

after Flashing with betaflight, it works... (but I'm not interested in betaflight.... ;-)

version: INAV/MATEKF722 1.9.1 Mar 27 2018 / 20:57:12 (3a5e34e6) (self compiled development version)

update Just tried newest development, with the same SD card, and now it seems to work (the one that started working with betaflight)... version: INAV/MATEKF722 1.9.1 Apr 3 2018 / 22:11:47 (af554014)

and going back to 27 mar version, still works.... Very strange...

I didn't remove the card in between various versions... started working with betaflight, and kept working since.... (for as long as the FC stayed powered.

BUT: after powering down the FC, same problem again.....

wilco1967 avatar Apr 03 '18 20:04 wilco1967

Can confirm the issue:

MATEK F722-STD iNav 1.9.1 SD card: Transcend 16GB MicroSDHC Class10 UHS-1. Reformatted with both Windows and SD Card Formatter, FAT32. Display: "Fatal Error. Reboot to retry". Works with Betaflight.

Response from Matek asked to post the issue.

b-shukhat avatar Apr 29 '18 11:04 b-shukhat

Is there any solution/advice for the issue?

b-shukhat avatar May 14 '18 21:05 b-shukhat

Tried quite a few cards. Found one that works, but others that don't.

Some of the ones not working with iNav, do work with betaflight.... (on the same FC)

Somehow iNav is really picky.... But it does work, at least with some cards

wilco1967 avatar May 15 '18 07:05 wilco1967

Could you share actual card types it works with?

b-shukhat avatar May 15 '18 15:05 b-shukhat

I have blackbox logging working with two different Sandisk Ultra cards:

  • Sandisk Ultra 64GB microSDXC UHS class 1
  • Sandisk Ultra 16GB microSDHC UHS class 1.

It did not work with:

  • Pendrive 16GB microSDHC class 10.
  • Some no-name 1GB microSDHC card

StefanRvO avatar May 15 '18 15:05 StefanRvO

Also a SanDisk ultra 16 I got working

wilco1967 avatar May 15 '18 17:05 wilco1967

I can confirm that SanDisk microSDHC UHS-1 16GB works

b-shukhat avatar May 20 '18 13:05 b-shukhat

Здравствуйте. Подскажите, какая модель Sandisk Ultra 16GB microSDHC UHS class 1 действительно работает в Matek F722? SDSDUNB-016G-GN3IN SDSQUNB-016G-GN3MA SDSQUNB-016G-GN3MN SDSQUNS-016G-GN3MA SDSQUNS-016G-GN3MN

Хочу приобрести, но боюсь ошибиться. Ни одна microSD карта, которая у меня есть, в контроллере не определилась.

Nicholas-81 avatar Jun 21 '18 10:06 Nicholas-81

SDSQUSC-016G-ANCIA https://www.amazon.com/gp/product/B00APCMMEK/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1

b-shukhat avatar Jun 21 '18 22:06 b-shukhat

Did you try iNav? I cannot make poshold and althold work. Thanks, Boris

On Thursday, June 21, 2018, 6:07:46 AM EDT, Nicholas-81 <[email protected]> wrote:  

Здравствуйте. Подскажите, какая модель Sandisk Ultra 16GB microSDHC UHS class 1 действительно работает в Matek F722? SDSDUNB-016G-GN3IN SDSQUNB-016G-GN3MA SDSQUNB-016G-GN3MN SDSQUNS-016G-GN3MA SDSQUNS-016G-GN3MN

Хочу приобрести, но боюсь ошибиться. Ни одна microSD карта, которая у меня есть, в контроллере не определилась.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

b-shukhat avatar Jun 21 '18 22:06 b-shukhat

I tried to use a Samsung Evo 64G, but did'nt work with my MATEK F722 STD. Switched to Sandisc Ultra 32G, works perfect. I'm using INAV 2.0.

Dronitoni avatar Jun 29 '18 20:06 Dronitoni

This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. This issue / pull request will be closed if no further activity occurs within two weeks.

stale[bot] avatar Aug 28 '18 21:08 stale[bot]