frankcohen / ReflectionsOS

Reflections is a hardware and software platform for building entertaining mobile experiences.
GNU General Public License v3.0
74 stars 14 forks source link

The disk is shown as not formatted #13

Closed wbadry closed 6 months ago

wbadry commented 6 months ago

HI, I tried your code example :

https://github.com/frankcohen/ReflectionsOS/blob/main/Experiments/Flash_Drive_MSC_Nand_ESP32_SD/Flash_Drive_MSC_Nand_ESP32_SD.md

The SD card is correctly connected via SPI and on the SPI example, I can write and read with no issues.

When I use your code, I receive a message that the USB is not formatted. Also, would your code allow the data transfer like copy paste on the computer?

1

2

Your help is much appreciated.

frankcohen commented 6 months ago

Hmmmmm… I haven’t tried the code on Windows. It works for me on a MacBook Pro running Sonoma 14.4.

Also, I’ve rewritten the code at least twice. I found bugs in the ESP MSC library. And I found multiple ways to use the ESP MSC library from various locations on the Web. It’s been frustrating.

Here is the my latest code (attached). Please let me know your experience with it.

-Frank

On Mar 19, 2024, at 2:00 PM, Waleed El-Badry @.***> wrote:

HI, I tried your code example :

https://github.com/frankcohen/ReflectionsOS/blob/main/Experiments/Flash_Drive_MSC_Nand_ESP32_SD/Flash_Drive_MSC_Nand_ESP32_SD.md

The SD card is correctly connected via SPI and on the SPI example, I can write and read with no issues.

When I use your code, I receive a message that the USB is not formatted. Also, would your code allow the data transfer like copy paste on the computer?

1.png (view on web) https://github.com/frankcohen/ReflectionsOS/assets/5664750/0903aab5-f947-4646-9a09-8b4ca8eeb37a 2.png (view on web) https://github.com/frankcohen/ReflectionsOS/assets/5664750/0273be2c-975d-4ec6-8830-760475b16f2b Your help is much appreciated.

— Reply to this email directly, view it on GitHub https://github.com/frankcohen/ReflectionsOS/issues/13#issuecomment-2008125758, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUEWMMZYOKUEUXWEX6QMJLYZCRP7AVCNFSM6AAAAABE6JVXW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYGEZDKNZVHA. You are receiving this because you are subscribed to this thread.

frankcohen commented 6 months ago

Here is the attachment. -Frank NANDMSC.zip

wbadry commented 6 months ago

Thank you so much for your response. That fixed the issue.