Wykres commitów

5 Commity (d5f76e666c5b4199bd476617f566ca7fd9dbab49)

Autor SHA1 Wiadomość Data
multicoder9 d5f76e666c
micropython/drivers/storage/sdcard/sdcard.py: Added 0x7F CRC for two more writeblocks cmd calls
Signed-off-by: multicoder9 <205438007+multicoder9@users.noreply.github.com>
2025-03-31 15:22:35 +07:00
multicoder9 3ddee7c04f
Add CRC7 values for SDCard.cmd() function calls
Seems to be needed for some SDXC cards (SanDisk Ultra SDXC)

Signed-off-by: multicoder9 <205438007+multicoder9@users.noreply.github.com>
2025-03-29 22:51:52 +07:00
Jim Mussared a08087249f top: Update Python formatting to black "2023 stable style".
See https://black.readthedocs.io/en/stable/the_black_code_style/index.html

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-02-03 17:12:38 +11:00
Jim Mussared 6fca45f4f5 sdcard: Set MISO high before readblocks/writeblocks.
Originally by @peterhinch.
See https://github.com/micropython/micropython/pull/6007 for discussion.

The summary is that on some cards (especially older Kingston ones) if the
bus is shared with other SPI devices, then it seems to require that MISO
is high for a few cycles before the transaction is initiated.

Because CS is high, this change should otherwise be a no-op.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-11-14 22:46:37 +11:00
Jim Mussared cf5ed97b4d micropython/drivers: Move "sdcard" driver from main repo.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-09-06 13:21:57 +10:00