m5stack / M5Core2

M5Core2 Arduino Library
MIT License
267 stars 117 forks source link

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

Open hpsaturn opened 1 year ago

hpsaturn commented 1 year 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 4 months ago

Is it this one?

image