<somlo>
i.e., there's no "sdcore_issue_cmd_write" anywhere else throughout the sources, so I wonder if this would still work for 8-bit csr_data_width...
<somlo>
s/work/compile/ for that matter :)
<somlo>
bunnie[m]: "sdcore_issue_cmd_write" was introduced by one of your litesdcard commits (f528e8e); did that ever compile for you? I'm getting an unresolved symbol for it when I try to build for 8bit csr_data_width
<_florent_>
somlo: i'll do some tests tomorrow, to verify that the examples are working (i will also probably remove the arty example since it required a specific adapter and will replace it with a board that has an SDCard slot, like the Nexys4DDR :), this way we'll be able to run the same tests).
<futarisIRCcloud>
_florent_: Sounds good. I've got a mimasv2 with a micro sd card slot.
<somlo>
_florent_: https://pastebin.com/yRe1z460 (I think, at least). Got clock setting and init to work, still hangs during any attempt to write blocks
<_florent_>
futarisIRCcloud: good, porting the example to mimasv2 should be easy
<_florent_>
somlo: thanks for the patch, i was just looking at that
<_florent_>
somlo: are you driving SD_RESET to 0? "the SD_RESET signal needs to be actively driven low by the FPGA to power the microSD card slot"
<somlo>
_florent_: nope, is that something I'd have to add to the litesdcard gateware?
<somlo>
_florent_: also https://pastebin.com/pDaNwF4X (but this one probably needs more parameterization, so the sdcard thing isn't always added by default)
<somlo>
_florent_: assuming the above is all correct, I'm still timing out on setting block count, then hanging hard on write_multiple_block during sdtest