- E (107) sdmmc_mmc: sdmmc_init_mmc_read_ext_csd: send_ext_csd_data error 0x109
- Name: 4YMD3R�
- Type: MMC
- Speed: 0 kHz
- Size: 1024MB
- CSD: ver=3, sector_size=512, capacity=2097152 read_bl_len=9
Equipment: MOORC EMMC + ESP-WROOM-32 + Сonnectors Dupont
Сode:
- #include "driver/sdmmc_host.h"
- #include "driver/sdmmc_types.h"
- #include "sdmmc_cmd.h"
- #include "stdio.h"
- sdmmc_slot_config_t slot_config = {SDMMC_SLOT_NO_CD, SDMMC_SLOT_NO_WP, 1, 0};
- sdmmc_host_t host = SDMMC_HOST_DEFAULT();
- sdmmc_card_t card;
- void setup() {
- host.max_freq_khz = SDMMC_FREQ_PROBING;
- sdmmc_host_init();
- sdmmc_host_init_slot(SDMMC_HOST_SLOT_1, &slot_config);
- sdmmc_card_init(&host,&card);
- sdmmc_card_print_info(stdout, &card);
- }
- void loop() {
- // put your main code here, to run repeatedly:
- }