m5stack / M5Cloud

Micropython Web IDE beta version
http://io.m5stack.com/
145 stars 35 forks source link

Problem with sd flash #26

Closed AlexanderSemenov1 closed 5 years ago

AlexanderSemenov1 commented 5 years ago

Problem with sd flush. SD flash 2GB

import uos uos.mountsd() uos.listdir('/')

;31mE (746707) sdmmc_cmd: sdmmc_card_init: sdio_reset: unexpected return: 0x102m ;31mE (746708) vfs_native: Failed to initialize SDcard (258).m Traceback (most recent call last): File "", line 3, in OSError: [Errno 5] EIO

AlexanderSemenov1 commented 5 years ago

The problem solved the replacement flash drive.

import os os.mountsd() os.listdir('/sd')

Mode: SPI Name: USD00 Type: SDHC/SDXC Speed: default speed (25 MHz) Size: 7503 MB CSD: ver=1, sector_size=512, capacity=15366144 read_bl_len=9 SCR: sd_spec=2, bus_width=5

[]