send_ext_csd_data error 0x109

911(C)
Posts: 2
Joined: Wed Dec 16, 2020 8:52 am

send_ext_csd_data error 0x109

Postby 911(C) » Wed Dec 16, 2020 8:58 am

HI!
Equipment: MOORC EMMC + ESP-WROOM-32 + Сonnectors Dupont
Сode:
  1. #include "driver/sdmmc_host.h"
  2. #include "driver/sdmmc_types.h"
  3. #include "sdmmc_cmd.h"
  4. #include "stdio.h"
  5.  
  6. sdmmc_slot_config_t slot_config = {SDMMC_SLOT_NO_CD, SDMMC_SLOT_NO_WP, 1, 0};
  7.  
  8. sdmmc_host_t host = SDMMC_HOST_DEFAULT();
  9.  
  10. sdmmc_card_t card;
  11.  
  12. void setup() {
  13.  
  14.   host.max_freq_khz = SDMMC_FREQ_PROBING;
  15.  
  16.   sdmmc_host_init();
  17.  
  18.   sdmmc_host_init_slot(SDMMC_HOST_SLOT_1, &slot_config);
  19.  
  20.   sdmmc_card_init(&host,&card);
  21.  
  22.   sdmmc_card_print_info(stdout, &card);
  23.  
  24. }
  25.  
  26. void loop() {
  27.   // put your main code here, to run repeatedly:
  28.  
  29. }
COM port output:
  1. E (107) sdmmc_mmc: sdmmc_init_mmc_read_ext_csd: send_ext_csd_data error 0x109
  2. Name: 4YMD3R�
  3. Type: MMC
  4. Speed: 0 kHz
  5. Size: 1024MB
  6. CSD: ver=3, sector_size=512, capacity=2097152 read_bl_len=9
Can anyone tell me why the error occurs?

Who is online

Users browsing this forum: No registered users and 93 guests