SD Card not registering on Pyboard SF6W

The official PYBD running MicroPython, and its accessories.
Target audience: Users with a PYBD
Post Reply
kbrenner
Posts: 46
Joined: Mon Jan 20, 2020 8:05 pm

SD Card not registering on Pyboard SF6W

Post by kbrenner » Thu Jul 09, 2020 4:28 pm

Hi,

I have a Lexar 32GB SD card attached to the SF6W. I have several SF6W's, and it has worked on others, but for this device, it won't register it. I have confirmed that sys.path does not show '/sd', and upon trying to access '/sd', I recieve OSError: [Error 19] ENODEV. Has anyone else experienced this or have any troubleshooting suggestions?

Best,
Kevin

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: SD Card not registering on Pyboard SF6W

Post by jimmo » Mon Jul 13, 2020 2:03 am

kbrenner wrote:
Thu Jul 09, 2020 4:28 pm
I have several SF6W's,
This indicates it's probably not something you're doing wrong!

I assume you're doing:

Code: Select all

import os
import pyb
os.mount(pyb.SDCard(), "/sd")
kbrenner wrote:
Thu Jul 09, 2020 4:28 pm
Has anyone else experienced this or have any troubleshooting suggestions?
I guess the main thing I'd try is to see if the block device works at all:

Code: Select all

import pyb
b = pyb.SDCard()
print(b.read(0))
I get a block ending in b'U\xaa' with a partition table in the final 64 bytes.

Post Reply