[GSoC 2018: SDHCI MMC Driver]: Week #8 | Haiku Project

Hey guys! Last week we have improved the code and made it more readable. We have completed the reset and clock sequence and proceed with power sequence. In the 4th step of the sequence, it asks to get the Operation Conditions Register(OCR) value of SD card. In the SD host controller spec, in command register there is command index bits which mention about setting up command number specified in bits 45-40 of the command-format in SD Memory Card Physical Layer Specification. Hence, in command format they mentioned about command index, there we figured out that our command of interest is CMD58 which has following config

This is a companion discussion topic for the original entry at https://www.haiku-os.org/blog/krish_iyer/2018-07-09_gsoc_2018_sdhci_mmc_driver_week_8/
1 Like