8000 SDCard os.mount(sd,'/sd') OSError: [Errno 5] EIO · Issue #16171 · micropython/micropython · GitHub 8000
[go: up one dir, main page]

Skip to content
SDCard os.mount(sd,'/sd') OSError: [Errno 5] EIO  #16171
Closed
@FreddyBI

Description

@FreddyBI

Port, board and/or hardware

port esp32, esp32 devkit v1

ports esp32 build-ESP32_GENERIC Chip ESP32D0WDQ5 (revision 1)

MicroPython version

MicroPython v1.25.0-preview.16.g919756cea on 2024-11-05; Generic ESP32 module with ESP32

With IDF v5.1.2 or v5.2. or v5.2.2.

or MicroPython from downloads v1.24 IDF version ?

Reproduction

MicroPython v1.25.0-preview.16.g919756cea on 2024-11-05; Generic ESP32 module with ESP32

With IDF v5.1.2 or v5.2. or v5.2.2.

or MicroPython v1.24 from github download

import machine
sd=machine.SDCard(slot=2)
import os
os.mount(sd,'/sd')

Traceback (most recent call last):
File "", line 4, in
OSError: [Errno 5] EIO

Expected behaviour

No response

Observed behaviour

no

Additional Information

With this build no problem:

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4728
load:0x40078000,len:14888
load:0x40080400,len:3368
entry 0x400805cc
MicroPython v1.24.0-preview.181.g91f4a6b9e on 2024-11-06; Generic ESP32 module with ESP32
Type "help()" for more information.

IDF version:

~/esp-idf$ git describe
v5.0.4

import machine
import os
sd=machine.SDCard(slot=2)
os.mount(sd,'/sd')
print(os.listdir())

%Run -c $EDITOR_CONTENT

['sd', 'boot.py', 'config.txt', 'shellfbi.py']

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0