ESP32-S3-USB-OTG板子烧录SDSPI官方例程报错

P-G LJX
Posts: 3
Joined: Fri Jul 21, 2023 3:42 am

ESP32-S3-USB-OTG板子烧录SDSPI官方例程报错

Postby P-G LJX » Sat Jul 22, 2023 4:35 am

[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
[0;32mI (313) example: Initializing SD card[0m
[0;32mI (313) example: Using SPI peripheral[0m
[0;32mI (313) example: Mounting filesystem[0m
[0;32mI (323) gpio: GPIO[34]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 [0m
[0;32mI (333) sdspi_transaction: cmd=52, R1 response: command not supported[0m
[0;32mI (383) sdspi_transaction: cmd=5, R1 response: command not supported[0m
[0;31mE (1383) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107[0m
[0;31mE (1383) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).[0m
[0;32mI (1383) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 [0m
[0;31mE (1393) example: Failed to initialize the card (ESP_ERR_TIMEOUT). Make sure SD card lines have pull-up resistors in place.[0m
如上所示,一直提示我没有上拉电阻,但是我查看ESP32-S3-USB-OTG板子的原理图,存在上拉电阻,供电我是直接用的MICRO-USB接口,想请问下这个报错是啥原因?

ESP_Bob
Posts: 80
Joined: Fri Nov 27, 2020 12:52 pm

Re: ESP32-S3-USB-OTG板子烧录SDSPI官方例程报错

Postby ESP_Bob » Thu Jul 27, 2023 2:28 am

推荐直接用开发板的 BSP 初始化底层接口 https://components.espressif.com/compon ... s3_usb_otg

Who is online

Users browsing this forum: No registered users and 80 guests