Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Problem with SD Card in Pysense

    Scheduled Pinned Locked Moved Firmware
    wipyother
    2 Posts 2 Posters 538 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      ghelbig
      last edited by

      I've read all the posts I could fine - they don't seem to be up to date.

      >>> import os
      >>> from machine import SD
      >>> sd=SD()
      >>> os.mount(sd,'/sd')
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      OSError: the requested operation failed
      >>> os.mkfs('/sd')
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      OSError: error while attempting to format /sd
      >>>

      I'm using Samsung 32GB EVO cards. I tried both as-shipped, and gparted/formated FAT32

      I have the latest firmware: release='1.7.0.b1'

      No joy. Can someone point me in the right direction?

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @ghelbig
        last edited by

        @ghelbig The latest firmware release is 1.18.0.r1. Try to update first. Then try to reset the device after the card was inserted. That help sometimes. If not, try a different, maybe smaller card.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom