Error in access SD card
-
Dear all,
I'm using M5Stack Fire with firmware v1.9.8 and LoRa 868MHz module (blue one).
The programming through UIFlow was successful until now with some nice tests of- ENV III sensor,
- NTP timing,
- LoRa init example,
- ...
I'm trying to access an SD card now to log the ENV III sensor data locally.
from m5stack import * from m5ui import * from uiflow import * setScreenColor(0x222222) with open('/sd/FileName.*', 'r') as fs: lcd.print((fs.read()), 0, 0, 0xffffff)
Unfortunately the example code hereunder gives me an error.
File "<string>", line 15, in <module> OSError: [Errno 19] ENODEV
The SD card is a SanDisk Extreme Pro 32Gb.
- I formatted it under Windows 11 into Fat32.
- I copied a single text file on it.
- I inserted it the pads facing up (same direction than the screen).
Could someone help me out in the debugging ?
Thanks in advance,
C.A. -
Edit:
is there any limit in size for the SD cards ?
if so, what is it ?Best regards,
C.A.