@LordInchcape Using M5CoreS3_SDCard_read_dir_UIFlow2.0.4 the following micropython will work:-
*import machine
import os
card = machine.SDCard(slot=2, sck=36, miso=35, mosi=37, cs=4, freq=1000000)
os.mount(card,"/sd")
print(os.listdir("/sd"))
f = open("/sd/test.txt", "w")
f.write("Hello world\r\n")
f.close()
g = open("/sd/test.txt", "r")
print(g.read())
g.close()
os.unlink("/sd/test.txt")**
Still to determine if it treads on something else.