Hi NXP,
I want to integrate SD card to evkmimxrt1060_tensorflow_lite_kws, but not success.The console stuck in "Make file system......The time may be long if the card capacity is big."
When debug, I see that Program is hanging in disk_initialize()
I copied all file in fatfs,sdmmc,board,driver,component,... from example SDcard project to my kws project, and define SD_ENABLED in pre-processor.
This attached link is my project (27MB)https://drive.google.com/file/d/1YOzNcXlGXQGUtHLPs1uZehqtpYvVcQug/view?usp=sharing
Thanks in advance.
Solved! Go to Solution.
Hello @nahan_trogn,
Modifying the memory map like the following one I was able to debug your proyect:
It looks like using the buffers for the SD outside the internal memory cause some problems.
Best Regards,
Alexis Andalon
Hello @nahan_trogn,
Did you try the SD project before to check that the SD is correctly recognized?
Best Regards,
Alexis Andalon
Yes, I had run evkmimxrt1060_sai_peripheral, evkmimxrt1060_sai, evkmimxrt1060_sdcard_fatfs. Everything is ok.
Hello @nahan_trogn,
Unfortunately, I can't download the project from the link attached. Could you try to attach it to the post?
Best Regards,
Alexis Andalon
Hi,
I've re-uploaded my project to MEGA
https://mega.nz/file/lPIylRiT#_I5_EaqcBjvJzILgR67aAUUFuKD6UnNuAaYStE2mPyA
Since project's size is more than 25MB so I can't attach it.
Thanks.
Hello @nahan_trogn,
Modifying the memory map like the following one I was able to debug your proyect:
It looks like using the buffers for the SD outside the internal memory cause some problems.
Best Regards,
Alexis Andalon