m5stack / M5Core2

M5Core2 Arduino Library
MIT License
262 stars 113 forks source link

[FactoryTest] SD card is recognized but can't mount it #136

Open hpsaturn opened 10 months ago

hpsaturn commented 10 months ago

Describe the bug

The last version of the FactoryTest on a M5Core2 AWS can't mount the directories and write it.

To reproduce

  1. Deploy the FactoryTest over M5Core2 AWS version
  2. Touch on the media (SDCard) test icon
  3. You able to reproduce the next output:
SDCard Type = 3 
SDCard Size = 30436 
SDCard Type = 3 
SDCard Size = 30436 
[ 12772][E][vfs_api.cpp:105] open(): /sd/image does not exist, no permits for creation
Failed to open directory

Expected behavior

list and read the directories and files, and also write on the SD card.

Screenshots

No response

Environment

Additional context

With different SPI frequencies and also different initialization, the issue still there.

Issue checklist

Tinyu-Zhao commented 1 month ago

Is it this one?

image