I (825) example: Initializing SD card
I (825) example: Using SPI peripheral
D (835) spi: SPI2 use gpio matrix.
I (835) example: Mounting filesystem
D (835) sdspi_host: sdspi_host_init_device: SPI2 cs=27 cd=-1 wp=-1 wp_polarity:0
D (845) intr_alloc: Connected src 30 to int 5 (cpu 0)
D (855) spi_hal: eff: 400, limit: 26666k(/2), 0 dummy, -1 delay
D (855) spi_master: SPI2: New device added to CS5, effective clock: 400000 Hz
I (865) gpio: GPIO[27]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
D (875) spi_master: device5 locked the bus
D (875) spi_master: device5 release bus
I (885) sdspi_transaction: cmd=52, R1 response: command not supported
D (895) sdmmc_cmd: cmd=52, sdmmc_req_run returned 0x106
D (895) spi_master: device5 locked the bus
......
D (945) sdmmc_sd: SDHC/SDXC card
D (945) spi_master: device5 locked the bus
D (945) spi_master: device5 release bus
I (945) sdspi_transaction: cmd=5, R1 response: command not supported
D (955) sdmmc_cmd: cmd=5, sdmmc_req_run returned 0x106
D (965) sdmmc_io: sdmmc_init_io: io_send_op_cond (1) returned 0x106; not IO card
D (965) spi_master: device5 locked the bus
D (975) spi_master: device5 release bus
D (975) sdspi_host: data CRC set=1
D (975) spi_master: device5 locked the bus
...
D (1025) sdmmc_common: host_ocr=0xff8000 card_ocr=0xc0ff8000
D (1025) sdmmc_common: sdmmc_card_init: host_ocr=00ff8000, card_ocr=c0ff8000
D (1035) sdmmc_init: sdmmc_card_init: card type is SD
...
D (1085) sdspi_host: Setting card clock to 10000 kHz
D (1095) spi_hal: eff: 10000, limit: 26666k(/2), 0 dummy, -1 delay
D (1095) spi_master: SPI2: New device added to CS5, effective clock: 10000000 Hz
...
D (1125) vfs_fat_sdmmc: using pdrv=0
...
I (1185) example: Filesystem mounted
Name: EC1S5
Type: SDHC
Speed: 10.00 MHz (limit: 10.00 MHz)
Size: 61120MB
CSD: ver=2, sector_size=512, capacity=125173760 read_bl_len=9
SSR: bus_width=1
I (1205) example: Opening file /sdcard/hello.txt
...
I (1755) example: File written
I (1765) example: Reading file /sdcard/nihao.txt
...
I (1805) example: Read from file: 'Nihao EC1S5!'
I (1805) gpio: GPIO[27]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1815) example: Card unmounted
I (1815) gpio: GPIO[23]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1825) gpio: GPIO[19]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1835) gpio: GPIO[18]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0