inav-configurator icon indicating copy to clipboard operation
inav-configurator copied to clipboard

When erasing black box log blank screen

Open JCFPV opened this issue 5 years ago • 9 comments

When connected to Inav 2.5 when I delete blackbox log the screen says may take up to 20 seconds then once you click confirm the small box goes blank and doesn't erase the log without letting it stay blank for a few minutes maybe less then clicking cancel and power cycling the flight controller. If I do that it does erase the BB log just has to be power cycled 20200710_232336

Please double-check that nobody reported the issue before by using search in this bug tracker.

PLEASE DELETE THE TEXT ABOVE AFTER READING AND UNDERSTANDING IT


Current Behavior

Steps to Reproduce

  1. CONNECT TO INAV
  2. CLICK BLACK BOX LOG
  3. CLICK ERASE BB LOG
  4. CLICK CONFIRM
  5. Blank(white) screen

Expected behavior

Possible code error

Suggested solution(s)

I am not sure

Additional context


  • FC Board name and vendor: Matek F722px
  • INAV version string: 2.5

JCFPV avatar Jul 11 '20 22:07 JCFPV

Issue-Label Bot is automatically applying the label BUG to this issue, with a confidence of 0.81. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jul 11 '20 22:07 issue-label-bot[bot]

I can also confirm this error. It remains blank and doesn't erase the flash

FC Board name and vendor: Kakute F4 v2 INAV version: 2.5

sammichael25 avatar Jul 18 '20 22:07 sammichael25

Same problem here, here is the log from configurator, i can provide more if needed

MSP data request timed-out: 8192
script.js:45204 MSP data request timed-out: 113
script.js:45204 MSP data request timed-out: 151
script.js:45204 MSP data request timed-out: 8192
script.js:45204 MSP data request timed-out: 113
2script.js:45204 MSP data request timed-out: 8194
script.js:45204 MSP data request timed-out: 151
script.js:45204 MSP data request timed-out: 8192
script.js:45204 MSP data request timed-out: 113
script.js:45204 MSP data request timed-out: 8194
script.js:45204 MSP data request timed-out: 151
script.js:45204 MSP data request timed-out: 8192
script.js:45204 MSP data request timed-out: 113
script.js:45204 MSP data request timed-out: 8194
2script.js:45204 MSP data request timed-out: 151
script.js:45204 MSP data request timed-out: 8192

amfern avatar Jul 21 '20 08:07 amfern

This is a configurator bug and should be moved to the configurator repository issue tracker. Erasing flash from the CLI or mwp's flashdl tool (which uses MSP) works OK.

stronnag avatar Jul 21 '20 09:07 stronnag

The issue is while erasing the flash, MSP messages don't work until it complete. I copied the flashing logic from betaflight, i believe this is the appropriate fix for on the FC side iNavFlight/inav#5964

on the configurator side the progress animation is missing.

amfern avatar Jul 21 '20 10:07 amfern

This is a configurator bug and should be moved to the configurator repository issue tracker. Erasing flash from the CLI or mwp's flashdl tool (which uses MSP) works OK.

Whats the command to erase blackbox from cli?

sammichael25 avatar Jul 25 '20 17:07 sammichael25

Too difficult to enter the cli and type flash<TAB>?

# flash<TAB>
flash_erase	flash_info	flash_read	flash_write	
# flash_erase 
Erasing...
# exit

stronnag avatar Jul 25 '20 17:07 stronnag

otoh, we should document this somewhere obvious. PR to follow ... iNavFlight/inav#5983

stronnag avatar Jul 25 '20 17:07 stronnag

Made a fix for the missing animation animation https://github.com/iNavFlight/inav-configurator/pull/1045

amfern avatar Jul 29 '20 10:07 amfern