esp32 sd fatfs read/write error

tianyingkeji
Posts: 4
Joined: Fri Nov 17, 2017 2:08 pm

esp32 sd fatfs read/write error

Postby tianyingkeji » Sat Nov 18, 2017 7:01 am

Name: SA08G
Type: SDHC/SDXC
Speed: default speed
Size: 7386MB
CSD: ver=1, sector_size=512, capacity=15126528 read_bl_len=9
SCR: sd_spec=2, bus_width=5
I (1380) example: Opening file
I (1410) example: File written
I (1420) example: Rena웫file
I (1420) example: Reading file
I (1420) example: Read from file: 'Hello SA08G!'
I (1420) mp3:: ----------
I (1430) gpio: GPIO[1]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:0
I (1440) gpio: GPIO[4]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:0
I (2460) mp3:: ----------
I (2460) mp3:: Reading file
E (2460) sdmmc_cmd: sdmmc_read_sectors: sdmmc_send_cmd returned 0xffffffff
E (2460) diskio_sdmmc: sdmmc_read_blocks failed (-1)
I (3460) mp3:: ----------
I (3460) mp3:: Reading file
E (4460) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (4460) sdmmc_cmd: sdmmc_read_sectors: sdmmc_send_cmd returned 0x107
E (4460) diskio_sdmmc: sdmmc_read_blocks failed (263)
I (5460) mp3:: ----------
I (5460) mp3:: Reading file


when I want to use fread function at different c source file,show up questions

Who is online

Users browsing this forum: Bing [Bot] and 122 guests