enjoy-digital / litesdcard

Small footprint and configurable SDCard core
Other
107 stars 35 forks source link

LiteSDCard bios test hangs on some microSD card models #8

Closed gsomlo closed 4 years ago

gsomlo commented 4 years ago

I have tried the LiteSDCard test sequence:

sdclk 10
sdinit
sdtest 8

on three different microSD card models:

Of the three, only the 64GB card actually passed the test. The other two initialized successfully (and their size was recognized during sdinit), but sdtest failed with a timeout error, entering an infinite loop that I had to break out of by resetting the development board (a nexys4ddr).

I used rocket (64bit) for testing, but encountered similar behavior in the past with the LiteSDCard demo bios code using vexriscv and mor1k soft CPUs. A detailed log of the test output generated by the three cards (in the order mentioned above) is shown in the attached screenlog.txt file

enjoy-digital commented 4 years ago

@gsomlo: do you still have the issue with the last version of the code?

gsomlo commented 4 years ago

All my SDcards work with the latest version, so I'm going to close this -- Thanks!