driver: subsys: sdhc: USAGE FAULT trace and no cs control #21455
Labels
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Waiting for response
Waiting for author's response
Describe the bug
sdhc driver crashes post initialization and mount.
Log is from the fat_fs sample.
The line
... 2OK3OK4OK3OK4OK3 ...
are just some printk I added around the k_sleep while loop. So it looks like the loop executes for some time. I also changed the k_sleep value to 100ms.The cs control also seems to be inhibited, not sure why as the correct pin b12 is mentioned in the overlay file.
Board: 96Boards Carbon
Tested ~5 different sdcards all with same result and two different sd-to-spi modules.
LOG:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No output after
<inf> sdhc_spi: Manufacturer ID=27 OEM='SM' Name='00000' Revision=0x10 Serial=0x28f2183b
.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: