-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
USDHC: Fails after reset #32289
Comments
I haven't been able to reproduce this issue. Have you tried a different SD card? @lgl88911 have you seen this behavior? |
@MaureenHelm It may be that the hardware design does not support the high speed mode switching for UHS Card. This problem can also be solved from the software,please refer to #29096 for modification to see if it is valid.
|
Fixed by #34205. Please reopen if you still see the issue after pulling in this change. |
I still get this issue with some micro SD cards. |
@nxf58843 Whether
|
Linked pull request adds |
The mimxrt10xx evaluation boards that support the NXP USDHC IP communicate unreliably with SD cards at 1.8V using the USDHC driver. This commit temporarily disables 1.8V communication for all rt10xx boards that currently support the USDHC driver. Fixes #32289 Signed-off-by: Daniel DeGrasse <[email protected]>
The mimxrt10xx evaluation boards that support the NXP USDHC IP communicate unreliably with SD cards at 1.8V using the USDHC driver. This commit temporarily disables 1.8V communication for all rt10xx boards that currently support the USDHC driver. Fixes zephyrproject-rtos#32289 Signed-off-by: Daniel DeGrasse <[email protected]>
Describe the bug
The sd card sample fails after resetting board.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
work the same after flash pressing reset
Impact
showstopper for use of the usdhc
Environment (please complete the following information):
Logs and console output
west flash
*** Booting Zephyr OS build v2.5.0-rc4-2-g769d91b922b7 ***
Sector size 512
Memory Size(MB) 15271
Disk mounted.
Listing dir /SD: ...
[DIR ] SPOTLI
11[DIR ] FSEVEN
[DIR ] SYSTEM
11.TXT (size = 26)[FILE] TEXTTX
[00:00:00.105,000] usdhc: SD inserted!
[00:00:00.112,000] main: Block count 31275008
pressed reset
*** Booting Zephyr OS build v2.5.0-rc4-2-g769d91b922b7 ***
Error mounting disk.
[00:00:00.105,000] usdhc: SD inserted!
[00:00:00.364,000] usdhc: CMD17 Polling ERROR
[00:00:00.364,000] usdhc: USDHC bus device initalization failed!
[00:00:00.364,000] main: Storage init ERROR!
[00:00:00.365,000] fs: fs mount error (-5)
west flash
*** Booting Zephyr OS build v2.5.0-rc4-2-g769d91b922b7 ***
Sector size 512
Memory Size(MB) 15271
Disk mounted.
Listing dir /SD: ...
[DIR ] SPOTLI
11[DIR ] FSEVEN
[DIR ] SYSTEM
11.TXT (size = 26)[FILE] TEXTTX
[00:00:00.105,000] usdhc: SD inserted!
[00:00:00.112,000] main: Block count 31275008
pressed reset
*** Booting Zephyr OS build v2.5.0-rc4-2-g769d91b922b7 ***
Error mounting disk.
[00:00:00.105,000] usdhc: SD inserted!
[00:00:00.364,000] usdhc: CMD17 Polling ERROR
[00:00:00.364,000] usdhc: USDHC bus device initalization failed!
[00:00:00.364,000] main: Storage init ERROR!
[00:00:00.365,000] fs: fs mount error (-5)
The text was updated successfully, but these errors were encountered: