inav icon indicating copy to clipboard operation
inav copied to clipboard

Feature request: download blackbox logs from the SD card through USB

Open killerm1 opened this issue 9 years ago • 58 comments

Is it possible to add a download log when using an sd card like when it has a datachip? or maybe make it have a storage device like a card reader? I have to dismantle my quad to get to the sd card to remove it so I can access the logs. im using the omnibusf4sd.

killerm1 avatar Feb 26 '17 11:02 killerm1

No currently it's not possible.

Hopefully one day, as I also have to dig it out of an airplane everytime.

oleost avatar Feb 26 '17 11:02 oleost

I would love this feature as well. I just built a pod style frame and it has a cutout for the USB port, but have to remove the pod to get to the SD Card.

johnnyruz avatar Apr 05 '17 14:04 johnnyruz

The log downloading over serial/MSP is so terribly slow, so it may be completely unacceptable for SD card logs, where lower dividers are typically used...

I think we should aim for migrating to WiFi from all those USB/BT connections... :) I'd love to access my UAV at high speed without actually connecting anything.

krzysztofmatula avatar Apr 06 '17 20:04 krzysztofmatula

any news on this? I don't might letting the macbook run over night to download a log :D

JulianGoesPro avatar Jun 04 '17 01:06 JulianGoesPro

Some form of downloading would be great, even if it took a long time Apart from the difficulty of getting access to the reader to remove the card, I don't think that constantly inserting and removing the card is doing anything for the long term reliability of the FC.

ghost avatar Apr 30 '18 07:04 ghost

I agree

mattschinkel avatar May 10 '18 21:05 mattschinkel

Wasn't this just added to Betaflight 3.4? It would be a great enhancement.

Fast-Guy avatar Jun 16 '18 17:06 Fast-Guy

It surely would.

ghost avatar Jun 16 '18 23:06 ghost

I tried porting it from BF but and it worked fine for small files, but bigger ones got corrupted (tried it with a ~100MiB file). I won't have time to fix it for 2.0, but if anyone wants to take a crack at it the code is in the agh_msc branch.

fiam avatar Jun 17 '18 10:06 fiam

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 16 '18 11:08 stale[bot]

Automatically closing as inactive.

stale[bot] avatar Aug 30 '18 12:08 stale[bot]

This is only stale because nothing has happened. It is still a real and important feature for installations where the SD card slot is not accessible without tearing the model apart.

ghost avatar Aug 30 '18 22:08 ghost

I agree... Please don't close the thread.

mattschinkel avatar Aug 30 '18 22:08 mattschinkel

+1

putimir avatar Sep 12 '18 17:09 putimir

Ditto

ghost avatar Sep 12 '18 22:09 ghost

Is this possible by using the Betaflight configurator? Or won't it allow you to download the SD card contents with INAV firmware?

teckel12 avatar Sep 13 '18 20:09 teckel12

There is an experimental iNav branch, unfortunately while it works fine for small files, it corrupts big files. @teckel12 it requires the firmware to enable USB MSC mode. Then you just (auto)mount the FC as a mass-storage device.

stronnag avatar Sep 13 '18 21:09 stronnag

@stronnag : you probably mean https://github.com/iNavFlight/inav/tree/agh_msc? Can you bring this up-to-date, so we can try and see if we individually can find it useful?

putimir avatar Feb 01 '19 13:02 putimir

@stronnag : you probably mean https://github.com/iNavFlight/inav/tree/agh_msc? Can you bring this up-to-date, so we can try and see if we individually can find it useful?

Indeed I did. I can bring it up to date .... seems to "work" in that it mounts (as before). I shall see if it still corrupts files > 10MB.

stronnag avatar Feb 01 '19 14:02 stronnag

I have played a little with this branch, i have transferred 10 files larger than 10MB, none of them seem to got corrupted - what kind of corruption are you talking about? I mean I moved some mp3 files, that are playing just fine :D hehe. The target is MATEKF405

putimir avatar Feb 01 '19 15:02 putimir