Feature request: config option to disable USB Mass Storage entirely (useful for mobile/Android use)

Hi all,

I’ve been using the BP5 both on desktop Linux and occasionally with an Android tablet (OnePlus tablet, using the “Serial USB Terminal” app by Kai Morich) over USB-OTG for on-the-go debugging. On Android, the automatic mass-storage detection causes some friction: as soon as the BP5 is plugged in and before the terminal app has actively opened the CDC port, the storage briefly appears as a writable drive to the OS. Android’s media scanner / file manager sometimes grabs it during that window, which can lead to the issues discussed in the “USB Mass storage and local FATFS conflicts” thread, especially the race condition described.

Since I mainly use the BP5 for interactive terminal sessions and rarely need the onboard flash storage exposed to the host at all, it would really help to have a way to disable the Mass Storage USB interface completely, so only the two CDC (terminal + binary) interfaces are offered. That would sidestep the whole ownership-handoff problem for my use case.

Feature request: A configuration option (maybe in the c config menu, alongside language/color/LED settings?) like:

USB Mass Storage: [ Enabled | Disabled ]

When disabled, the BP5 would simply not enumerate the MSC interface at all, only the two CDC ports. Internal flash access would still work fine via the existing ls/cat/cd terminal commands.

Is this something that would be feasible to add, or are there technical reasons (e.g. USB descriptor limitations, firmware update flow depending on MSC) that would make this difficult? Happy to help test.

On a side note, coming from an old BP v3.6, the BP5 has been a genuinely solid upgrade, the extra pins, the onboard storage, and the terminal UI all make a real practical difference in daily use.
Thanks for all the work on this project!

Cheers
Joe

4 Likes

Thanks for checking it out! Glad it’s working well.

The override is implemented in bits in various branches. Push button to override, set override in config, etc. But I don’t have anything push ready. Will move it up on the list of priorities.

Sounds great, thanks for the update, happy to test whenever it’s ready