sdspi_transaction: command not supported

DrMickeyLauer
Posts: 167
Joined: Sun May 22, 2022 2:42 pm

sdspi_transaction: command not supported

Postby DrMickeyLauer » Thu Jun 20, 2024 12:47 pm

For the next generation of our hardware, we want to include an SD card in parallel w/ the W5500. I connected a sample via SPI and initialized it as per

Code: Select all

esp_vfs_fat_sdspi_mount
.

Reading seems to work fine, although I get warnings about not supported commands.

Code: Select all

esp32s3> sd start
I (10708) sdspi_transaction: cmd=52, R1 response: command not supported
I (10762) sdspi_transaction: cmd=5, R1 response: command not supported
I (10786) sd: SD card mounted
esp32s3> sd list
/sd/README.TXT
/sd/PHOTO
/sd/PHOTO/THUMBS.DB
Do I need to worry about that or is it just checking for supported features?

MicroController
Posts: 1692
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: sdspi_transaction: command not supported

Postby MicroController » Thu Jun 20, 2024 2:03 pm

DrMickeyLauer wrote:
Thu Jun 20, 2024 12:47 pm
Do I need to worry about that or is it just checking for supported features?
It's the latter. There are different possible 'initialization sequences' for SD/MMC cards, and the driver appears to try one after the other until one succeeds with the current card.

DrMickeyLauer
Posts: 167
Joined: Sun May 22, 2022 2:42 pm

Re: sdspi_transaction: command not supported

Postby DrMickeyLauer » Fri Jun 21, 2024 4:07 pm

Great, thanks for confirming!

Who is online

Users browsing this forum: No registered users and 126 guests