完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
使用ESP32-idfexamplesstoragesd_card中的SPI模式读写SD卡,串口返回的信息如下:
I (0) cpu_start: App cpu up. I (261) heap_init: Initializing. RAM available for dynamic allocation: I (268) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (274) heap_init: At 3FFB2A28 len 0002D5D8 (181 KiB): DRAM I (280) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (287) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (293) heap_init: At 4008AB80 len 00015480 (85 KiB): IRAM I (299) cpu_start: Pro cpu start user code I (317) spi_flash: detected chip: generic I (318) spi_flash: flash io: dio I (318) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (326) example: Initializing SD card I (326) example: Using SPI peripheral I (336) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (346) sdspi_transaction: cmd=52, R1 response: command not supported I (396) sdspi_transaction: cmd=5, R1 response: command not supported E (426) sdmmc_sd: sdmmc_check_scr: send_scr returned 0x109 I (426) gpio: GPIO[15]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (426) gpio: GPIO[2]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (436) gpio: GPIO[14]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (446) gpio: GPIO[13]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 E (456) example: Failed to initialize the card (ESP_ERR_INVALID_CRC). Make sure SD card lines have pull-up resistors in 我使用的是ESP_WROVER_KIT_V4.1开发板,看开发板的电路图是有接上拉电阻的,但是使用SD modes OK。 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
545浏览 6评论
457浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
438浏览 5评论
441浏览 4评论
411浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 12:39 , Processed in 1.730324 second(s), Total 73, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号