![]() When you want to update the static copy, send an ejected signal to the PC, update the static copy then "re-insert".Keep two copies of your data: a static one exposed via mass storage to the PC and a live copy that's being updated.Have the pico present to the PC as a mass storage device with removable storage.If you don't want to go the NAS over USB ethernet route, consider this: It's the same issue as with the mass sotrage gadget on a Pi. Maybe existing code to support a NAS device is too heavyweight for a Pico? I think the usual case there is that other devices may be expected to write to the filesystem at any time. I wonder if there is a way to emulate a network-attached storage device over USB. The MTP protocol was made to solve that, but i dont know the details of implementing itĪh, ok, I did not realize this although I suppose that makes sense. Usb camera and phone stuff has had the exact same limitation, the device cant use the partition while it is mounted by another system When emulating a normal mass-storage device, the host computer assumes it has exclusive control of the flash memoryĪnd it can cache things it has read, because its not expecting the contents to change on their own
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |