8000 SD card doesn't work after calling go_to_sleep() on Pysense/Pytrack · Issue #216 · pycom/pycom-micropython-sigfox · GitHub
[go: up one dir, main page]

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.
SD card doesn't work after calling go_to_sleep() on Pysense/Pytrack #216
Closed
@campbellsinclair

Description

@campbellsinclair

WiPy3.0, release='1.18.1.r1', version='v1.8.6-849-b0520f1 on 2018-08-29'

Tested on both:
Pytrack v1.1 with pytrack_0.0.8.dfu firmware
Pysense (v1.0 and v1.1) with pysense_0.0.8.dfu firmware

SanDisk Ultra 32GB micro SD HC I

  • Exact steps to cause this issue
import pysense
pysense_board = pysense.Pysense()
pysense_board.setup_sleep(10)
pysense_board.go_to_sleep(False)

# wait for reboot

import machine
sd = machine.SD()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: the requested operation failed

I expected to be able to access the SD card after sleeping. If I eject and then reinsert the SD card after sleeping, it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0