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.

SD card doesn't work after calling go_to_sleep() on Pysense/Pytrack #216

Closed
campbellsinclair opened this issue Oct 11, 2018 · 3 comments
8000
Closed

Comments

@campbellsinclair
Copy link

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.

@campbellsinclair campbellsinclair changed the title Pysense/Pytrack: using SD card after sleep SD card doesn't work after calling go_to_sleep() (Pysense/Pytrack) Oct 31, 2018
@campbellsinclair campbellsinclair changed the title SD card doesn't work after calling go_to_sleep() (Pysense/Pytrack) SD card doesn't work after calling go_to_sleep() on Pysense/Pytrack Oct 31, 2018
@iwahdan88
Copy link
Contributor

Hello @campbellsinclair , I've tested with the same model SanDisk ultra micro SD HC1 but with capacity 16GB and I don't have the problem you describe, did you test with an other SD cards or with different capacities?

@campbellsinclair
Copy link
Author

Hi @iwahdan88,

Tested with Lexar 32GB microSDHC and this card doesn't have the issue.

Tested again with Sandisk Ultra 32 GB microSDHC I and the issue definitely exists for that card.

@iwahdan88
Copy link
Contributor

Ok thanks @campbellsinclair , I will close the issue for now as it seems a problem with this particular SD card

peter-pycom pushed a commit to peter-pycom/pycom-micropython-sigfox that referenced this issue Apr 19, 2021
X-Ryl669 pushed a commit to X-Ryl669/pycom-micropython-sigfox that referenced this issue May 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0