Skip to content
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
@livius2

Description

@livius2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions