You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mimxrt/sdcard: Wait for card programming completion after write.
After a write command completes, the SD card data has been transferred
to the card's internal buffer but not yet programmed to flash memory.
The card enters programming state during this operation.
Add sdcard_cmd_send_status() to poll card status via CMD13.
Add sdcard_wait_ready() to poll until READY_FOR_DATA bit is set and
card returns to transfer state, with configurable timeout.
Update sdcard_write() to call sdcard_wait_ready() with 5s timeout
after the transfer completes, ensuring the write is fully complete
before returning to the caller.
Signed-off-by: Andrew Leech <[email protected]>
0 commit comments