inav icon indicating copy to clipboard operation
inav copied to clipboard

msc mode does not work anymore

Open diablol opened this issue 6 years ago • 40 comments

Hello. Since 2.5 msc does not work anymore. I tried back and forth with 2.4. It works with 2.4 With a Matek F722 on Win 10 and Inav 2.5 the storage mode does not work. pls tell me if I am wrong here or can provide more information.

diablol avatar Jun 16 '20 22:06 diablol

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 Jun 16 '20 22:06 issue-label-bot[bot]

Hello, try installing 2.5.1 first wich is the current stable release.

CertainBot avatar Jun 17 '20 07:06 CertainBot

Hi, I did. I tried both Inav 2.5.0 and 2.5.1 with configurator 2.5

diablol avatar Jun 17 '20 07:06 diablol

Even though I never had problems with earlier version it is possibly a (local) computer problem. because it works with Android OTG storage with speedybee CLI command.

diablol avatar Jun 17 '20 09:06 diablol

Works for me as before on Windows 10.

breadoven avatar Jun 17 '20 16:06 breadoven

It seems I have the same problem of diablol.

These are my SW versions:

INAV version: 2.5.2 FLIGHT CONTROLLER Matek F722-SE Windows 10 Pro 64 bit (updated to June 2020)

I follow the instructions:

Enter the CLI Enter the CLI command msc ; the FC will reboot Close the CLI tool (cliterm, configurator etc.) Wait for the device to be recognised as USB storage device by the operating system (may take some time, 10-15 seconds perhaps). .....

nothing happens in Windows: no new unit is mounted.

Using CLI via Speedy Bee on Android, instead, the SD can be mounted.

Torchi avatar Sep 24 '20 04:09 Torchi

Same behaviour here, the board reboots, but windows didnt recognize it.

Edit: Matek F765 on windows 10 and inav 2.5.2

iblackymb avatar Oct 18 '20 22:10 iblackymb

Same problem here using Matek F765. If it shows up at all in Windows then it is not recognized as a Mass Storage Unit but rather as an unknown. Tried on Win 10 and 7 - same. I followed the steps in the documentation.

Version info:

version

INAV/MATEKF765 2.5.2 Aug 4 2020 / 10:30:32 (faaedc7cb)

GCC-9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]

MrMap avatar Oct 25 '20 16:10 MrMap

same for me: doesn't work on Windows 10, does work on Android. INAV/MATEKF765 2.5.2 Aug 4 2020 / 10:30:32 (faaedc7cb)

kniuk avatar Nov 03 '20 00:11 kniuk

Current Behavior If MSC mode is enabled via CLI on the F722-WPX Flight Controller, the FC will freeze and not show mass storage device on PC

Steps to Reproduce Flash INAV 2.5.1 from Matek with SD and baro drivers or INAV 2.6 Alpha 2 go to CLI and type "msc" and hit enter Windows will play disconnect and connect sound and configurator shows "Rebooting" message COM-Port still shown as available in configurator and device manager and no mass storage device will be shown Expected behavior COM-Port should disappear and a mass storage device should pop up

Suggested solution(s) Bugfix

Additional context Tested on 2 different Windows 10 PCs. All drivers working for configuration and flashing Tested with a F405 Wing FC and same INAV 2.6 Alpha2 Build and works fine there Same issue reported by another user on Facebook with same FC and 2 different PCs Possible also F722-PX affected and @MrD-RC will test that on his

FC Board name and vendor: Mateksys F722-WPX Wing

INAV version string: INAV/MATEKF722WPX 2.6.0 Nov 6 2020 / 14:17:31 (d0046f3) GCC-9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]

b14ckyy avatar Nov 14 '20 19:11 b14ckyy

Possible also F722-PX affected and @MrD-RC will test that on his

It worked fine for me with the F722-PX on both 2.5.1 and a 2.6 build from Thursday evening. Windows 10.

MrD-RC avatar Nov 15 '20 00:11 MrD-RC

Problem remains on iNav 2.6.0, FYI.

MrMap avatar Dec 07 '20 18:12 MrMap

Thanks for the reminder. Yes also not working for me with the Release 2.6. 2 different PCs tested with 2 different Windows 10 builds. F405 Wing MSC mode just works fine on 2.5.2 and 2.6 on both PCs.

b14ckyy avatar Dec 08 '20 10:12 b14ckyy

Meanwhile, while our equipment is subject to this issue, the option is to eject the SD micro card from the FC and insert it into our PC card reader. In my case the process of ejecting the card and even worse, inserting it again, was quite frustrating due to 90 degree slot angle in a tight space. So I designed a simple tool that made it possible to remove / insert SD card without actually unscrew and lift the entire FC board. Here is the link to the SD micro card tool stl file: https://www.thingiverse.com/thing:4679458

MrMap avatar Dec 08 '20 22:12 MrMap

@MrMap that's a really nice tool. Luckily on the F722-WPX the SD is on the Top. What's interesting though, in your case the F765 is shown as unknown device in the device manager. In the F722-WPX the device just reconnects and it is still shown as aa COM Port. But with no connection possibilities of course.

b14ckyy avatar Dec 09 '20 09:12 b14ckyy

Reported (by @shellixyz) as working with F722 / 2.6 release / Fedora Linux 2021-01-03. Thus any investigator will need native access to a Windows box.

stronnag avatar Jan 03 '21 08:01 stronnag

msc works for me on Linux with a Matek F405 wing on 2.5.

skorokithakis avatar Jan 03 '21 13:01 skorokithakis

Reported (by @shellixyz) as working with F722 / 2.6 release / Fedora Linux 2021-01-03. Thus any investigator will need native access to a Windows box.

What F722? STD, Wing, HD or WPX? For me only the WPX does not work in MSC mode. F405 Wing works just fine. All other FCs are either BEtaflight or have no BBX.

b14ckyy avatar Jan 04 '21 17:01 b14ckyy

AFAIK this is only a F7xx problem, F405 works on all operating systems.

stronnag avatar Jan 04 '21 17:01 stronnag

AFAIK this is only a F7xx problem, F405 works on all operating systems.

the F722-PX Quad FC with on board flash seems to work fine too

b14ckyy avatar Jan 04 '21 17:01 b14ckyy