How to implement the USB flash drive of Wio Terminal?

As the screenshot, when I click the “Reset flash” button on CodeCraft, I will see a “4.2 MB Volumn” on my computer. Amazing!

So, I really want to know the principle behind this action. How to simulate QSPI Flash as a U disk? Are these codes (Recommended Apps of CodeCraft) open source? Where can I find them?


Hello, thank you for agreeing to this design. I asked the engineer. We do not open source the relevant content. You can learn about this method on the search website.

OK, I see. Thanks~ And… Happy New Year!