betaflight / betaflight

Open Source Flight Controller Firmware
GNU General Public License v3.0
8.62k stars 3.04k forks source link

BF 3.2 RC6: sd card .bfl logfile not readable in all BB explorer variants #4275

Closed AirBreak69 closed 7 years ago

AirBreak69 commented 7 years ago

Using a MATEKF405, BF 3.2 RC6, sd card. The generated .BFL files on the card are not readable by any explorer. I tried the latest versions of BF / CF explorer and the blackbox tools. .BBL-Files from other FCs of the same BF version downloaded via the configurator still can be read. All tools lock up after the file is selected. The task manager shows one core to be fully loaded (by chrome.exe or blackbox_decode.exe). I post it here because all explorer tools show the same behaviour. So the current .BFL file structure generally might contain some error (or all tools had to be adapted). LOG00002.bfl.ZIP

McGiverGim commented 7 years ago

If I'm not wrong, it seems that it enters in an infinite loop in:

https://github.com/betaflight/blackbox-log-viewer/blob/a05bea35d128c2d4b85312d9fb687f0de539e779/js/flightlog_parser.js#L1108

The shouldHaveFrame(frameIndex) seems to return false always. I don't understand this part of the code, so I don't know how to solve it. It seems a BB issue, not a BF one, but maybe the data written by the BF firmware is the culprit. I don't know.

AirBreak69 commented 7 years ago

Made a test using the latest build 1760: It's working again. I close this...