USB MSC mode, #define MICROPY_HW_USB_FS, datalogging
Posted: Sat Apr 28, 2018 2:31 pm
Are these two independent? When I change to
pyb.usb_mode('VCP')
in boot.py, I can use the virtual drive /flash while using rshell, and then I do not get a pop up window for a USB "drive", so I am thinking yes independent.
Is there still a reason to change mode to
pyb.usb_mode(None)
to avoid file corruption, or is that just a preference of some here?
I'd rather use the REPL via USB, but want to avoid the file corruption problem when data logging to files on flash.
This post from a year ago:
viewtopic.php?f=2&t=3233&p=19019&hilit= ... age#p19019
suggests there is no way to safely retrieve a data logging file from USB MSC mode from the host computer.
Is the situation still the same?
pyb.usb_mode('VCP')
in boot.py, I can use the virtual drive /flash while using rshell, and then I do not get a pop up window for a USB "drive", so I am thinking yes independent.
Is there still a reason to change mode to
pyb.usb_mode(None)
to avoid file corruption, or is that just a preference of some here?
I'd rather use the REPL via USB, but want to avoid the file corruption problem when data logging to files on flash.
This post from a year ago:
viewtopic.php?f=2&t=3233&p=19019&hilit= ... age#p19019
suggests there is no way to safely retrieve a data logging file from USB MSC mode from the host computer.
Is the situation still the same?