When the example mmccard_freertos runs on the RT1020EVK, the first write/read test passed but the following tests failed . Below are logs:
Read/write the card continuously until encounter error......
Write/read block test: start block#=2, block count=1
Write 1 data blocks......
Read 1 data blocks......
Compare the read/write content......
The read/write content is consistent.
Write/read block test: start block#=2, block count=5
Write 5 data blocks......
Read 5 data blocks......
Compare the read/write content......
The read/write content is consistent.
Erase data groups......
Erase blocks ok
Input 'q' to quit read/write/erase process.
Input other char to read/write/erase data blocks again.
1
Write/read block test: start block#=2, block count=1
Write 1 data blocks...... <It was stuck here>
If the tests continue to run, they succeed. It seems the eMMC device goes to sleep if there is no any operations on eMMC, and it won't respond anymore. Is this tur? If yes, how to wakeup the device again? Thanks.
Hi Daniel,
This issue has been fixed. It's caused by hardware.
Thanks
Jason
Hi
I don't have MMC card , I tried sdcard_freertos demo with SD card, it can work on my side.
Regards
Daniel