ZipCPU / sdspi

SD-Card controller, using either SPI, SDIO, or eMMC interfaces
202 stars 34 forks source link

eMMC read & write block issue #9

Closed klcheungaj closed 6 months ago

klcheungaj commented 6 months ago

I tried to write & read a eMMC sector but the result was wrong. It seems that it is because in emmc_write_block and emmc_read_block functions, the phy value is not written back to the IP register.

ZipCPU commented 6 months ago

Thank you. The issue(s) should now be fixed.