This repository was archived by the owner on Sep 16, 2024. It is now read-only.
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
reset board is not equal to power remove SD card cannot be inited #18
Open
Description
wipy2.0
firmware version 1.7.2.b1
please wire all required wires for SD card slot
but do not insert SD card
put files
file sd.py
from machine import SD
import os
print('sd_init')
sd = SD()
print(sd)
os.mount(sd, '/sd')
print('sd mounted')
print(os.listdir('/sd'))
in main.py
execfile('/flash/sd.py')
and now - remove power and plug again
you got OSError - it is ok
but now - insert SD card and press reset
you still got OSError
remove power completly and plug again - it work
reset is not physical like power removing it miss something