You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded blackbox logs via msc and couldn't open them.
I then took the sdcard out of the flight controller and inserted it directly into the laptop and copied the same logs.
The SHA signatures are different between the two sets of files, also blackbox_decode can read the files from the sd copy
but not from the msc copy.
I tried the msc copy multiple times and got the same SHA each time, it wasn't a one off error.
hMBPpersonalWired:black box logs hughsaunders$ blackbox_decode msc\ copy/LOG00001.TXT
Couldn't find the header of a flight log in the file 'msc copy/LOG00001.TXT', is this the right kind of file?
Attempt to decode SD copy files:
hMBPpersonalWired:black box logs hughsaunders$ blackbox_decode sd\ copy/LOG00001.TXT
Decoding log 'sd copy/LOG00001.TXT' to 'sd copy/LOG00001.01.csv'...
Log 1 of 1, start 04:51.512, end 20:57.935, duration 16:06.422
Statistics
Looptime 1005 avg 3.3 std dev (0.3%)
I frames 30016 117.1 bytes avg 3514012 bytes total
P frames 30007 77.4 bytes avg 2321341 bytes total
H frames 236 10.0 bytes avg 2360 bytes total
G frames 9760 24.5 bytes avg 239419 bytes total
E frames 1 7.0 bytes avg 7 bytes total
S frames 3588 45.8 bytes avg 164497 bytes total
Frames 60023 97.2 bytes avg 5835353 bytes total
Data rate 62Hz 6463 bytes/s 64700 baud
25 frames failed to decode, rendering 9 loop iterations unreadable. 9 iterations are missing in total (9ms, 0.00%)
900465 loop iterations weren't logged because of your blackbox_rate settings (906019ms, 93.75%)
Generated by INAV blackbox_decode 7.1.0 16e6283
Steps to Reproduce
Configure black box logs and go flying
Connect FC via usb, open configurator and on CLI tab enter msc
FC enters usb mas storage mode
Copy BBL files via OS standard method
Attempt to decode BBL via blackbox_decode and find them corrupted.
Expected behavior
Copying blackbox logs via MSC works the same as removing the sdcard and copying the files manually.
Suggested solution(s)
Debug msc mode? Or if MSC isn't supported on MacOs, put up a warning?
Current Behavior
I downloaded blackbox logs via msc and couldn't open them.
I then took the sdcard out of the flight controller and inserted it directly into the laptop and copied the same logs.
The SHA signatures are different between the two sets of files, also blackbox_decode can read the files from the sd copy
but not from the msc copy.
I tried the msc copy multiple times and got the same SHA each time, it wasn't a one off error.
SHAS:
Attempt to decode msc copy files:
Attempt to decode SD copy files:
Steps to Reproduce
Expected behavior
Copying blackbox logs via MSC works the same as removing the sdcard and copying the files manually.
Suggested solution(s)
Debug msc mode? Or if MSC isn't supported on MacOs, put up a warning?
Additional context
CLI dump: https://pastebin.com/UercZGc2
Host OS: MacOS 12.7.4
I notice from this document, that msc copy and sd copy should be equivalent: https://github.com/iNavFlight/inav/blob/master/docs/USB_Mass_Storage_(MSC)_mode.md
The text was updated successfully, but these errors were encountered: