Skip to content

adafruit_sdcard.py : group related cmds in a single transaction #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 28, 2019

Conversation

Anton-2
Copy link
Contributor

@Anton-2 Anton-2 commented Oct 24, 2019

Most cards tested wants to have CS low during a group of read-multiple / write-multiple commands.
Also, some can insert 0x7F return bytes after CMD12 (response type R1b)

These changes make reading and writing big chunks of data at once possible, on all cards tested, where previously all but the oldest one would fail when reading/writng more than a block.

Most cards tested wants to have CS low during a group of read-multiple / write-multiple commands.
Also, some can insert 0x7F return bytes after CMD12 (response type R1b)

These changes make reading and writing big chunks of data at once possible, on all cards tested, where previously all but the oldest one would fail when reading/writng more than a block.
Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spending the time to debug and fix this library!

@dhalbert dhalbert merged commit 5ad33e4 into adafruit:master Oct 28, 2019
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Nov 18, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_SD to 3.2.5 from 3.2.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_SD#29 from dhalbert/avoid-longint
  > Merge pull request adafruit/Adafruit_CircuitPython_SD#26 from Anton-2/master
  > Merge pull request adafruit/Adafruit_CircuitPython_SD#24 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_SD#23 from Anton-2/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants