Conversation
|
Also, I just tried an SDXC card and it does seem to work just fine (goes through all of the initialization steps, but I haven't actually tried reading any sectors yet). The hardware peripheral has no knowledge of what SD card capacity you've inserted -- this is entirely under software control. Data corruption (with ev3dev? with the stock firmware?) is probably just a software bug. |
|
Thanks! One way to work towards getting this merged, would be to get this to read a plain text config file on the card. Could be anything that is unique to EV3 to start with. For example, we could set a hue value for this line so we can practically test it. In the future this config file could be used to override system defaults such as volume, bluetooth enable, idle timeout, and so on. |
This is far from complete, but I wanted to make it known that I've hacked on some basic SD card support just to get an understanding of how the MMC/SD controller works.
This initialized a SDHC card (no legacy SD support) and prints out a bunch of its internal registers as debug spam.