FYSETC / FYSETC-SD-WIFI

This repository contains the infomation of FYSETC SD-WIFI module
44 stars 16 forks source link

Ability to switch between usb-storage and not-touching-sd-card mode, from stoftware, in future revision #7

Open arekm opened 1 year ago

arekm commented 1 year ago

Feature request about future hardware revision. Not sure if this is possible via software change only on current hardware.

Fysetc sd wifi card device is very close to capabilities to sdwire project (https://wiki.tizen.org/SDWire).

sdwire allows switching between usb-storage mode (where sd card is available to connected usb host (like raspberry pi) as usb-storage) and sd card presented to device (3d printer). Switching is made using additional tool on usb-host.

Fysetc sd wifi card already allows usb-storage mode. It also allows sd card being available to device (3d printer for example). The missing piece is making that switch using software (and not hardware switch or connecting/disconnecting usb cable). Using USB endpoints (like in sdwire) or API call via wifi (worse solution but well...) or both.

Why this is better than wifi access? Because that solution would be much faster to transfer files. It wouldn't rely on esp32 for wifi transfer which is slow (like 200KB/s). PC host using usb-storage accesses sd card directly should be much faster.

sdwire as usb-storage is capable of doing 7-10 MB/s. That's 35-51x faster than fysetc over wifi.

browntownington commented 12 months ago

Hey @arekm how did you get on with your problem/solution?

I'm looking to solve a similar problem to you.

I want a way to remotely read/write to an SD card in a console gaming cartridge.

Have you checked out the FYSETC PRO?

It has DIP switch you can switch to get either mode. It also seems to have GPIO pins.. I'm thinking if a GPIO pin is available. We could potentially desolder the dip switch and connect a transitory to the GPIO and the positive pad where the dip was. Turning on and off the GPIO we coul bridge the DIP pad. This is my theory anyway.