Code: Select all
spi = SPI(1, sck = Pin(14), mosi = Pin(13), miso = Pin(12))
sd = sdcard.SDCard(spi, Pin(15))
uos.mount(sd, '/sd')
Code: Select all
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sdcard.py", line 234, in readblocks
OSError: [Errno 5] EIO
and all works fine on PC (Windows), included the not compatible ESP8266 (Micropython) parts.
I want to find out the differences between works fine parts and not compatible parts. and modify some code let them works.
How should I to do that ? should I modify
https://github.com/micropython/micropyt ... /sdcard.py
Line 226 ~ Line 274 ?