Read and write from SD card #31
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "pca006132:sdio"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The SD card driver now supports reading and writing by block address using 32bit ADMA2.
Currently tested on cora-z7-10 only.
@ -180,3 +227,1 @@
Err(_) =>
Poll::Ready((i + 1, None))
};
let name = stream
Could you move unrelated changes (style etc.) to a separate PR?
@ -1 +1,2 @@
/target
.scripts
What is that for?
That is for my personal scripts, or should I move that into
.git/info/exclude
?Yes, move to
.git/info/exclude
.The rule here is that anything that isn't generated by the build scripts or instructions committed to the repository should not appear in
.gitignore
.Thanks, looks excellent!
@astro can you take a look?
Card detection does not work on ZC706.
Using
libboard_zynq::sdio::SDIO::sdio0(false);
works around the problem, then it works:Confirmed that the data matches on the SD card with another reader.
Well done!
@ -0,0 +208,4 @@
cache::dcci_slice(buffer);
let (cmd, mode) = if block_cnt == 1 {
(
Not sure these tuples are well readable,
rustfmt
would align them differently.I merged the commits into two commits in another branch, now closing this and open another PR.
Pull request closed