0

Circuit Playground: Disable USB Mass Storage Mode
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Circuit Playground: Disable USB Mass Storage Mode

by wyojustin on Sat Mar 30, 2019 5:19 pm

I am using the Circuit python to automatically download files from a device to a separate USB thumbdrive. This actually works :) some of the time. The other times, the files get stored to the Circuit Playground board itself which resets the Circuit Playground board :(

Is there a way to disable the Circuit Playground mass storage mode (and re-anable it if we need to change the code)?

Thanks!
Justin

wyojustin
 
Posts: 41
Joined: Sun Apr 05, 2009 10:41 am

Re: Circuit Playground: Disable USB Mass Storage Mode

by danhalbert on Sat Mar 30, 2019 9:32 pm

I'm not sure if you mean that you're writing files to CIRCUITPY by mistake, or just that you don't want the board to restart when you write the files. You can disable auto-reload on write in `boot.py`: https://circuitpython.readthedocs.io/en ... autoreload

danhalbert
 
Posts: 1683
Joined: Tue Aug 08, 2017 12:37 pm

Please be positive and constructive with your questions and comments.