my board is
https://uk.farnell.com/nxp/imxrt1050-evkb/eval-board-32bit-arm-cortex-a7/dp/2855005
f_mkfs stuck.
Same exampl works with internal ram.
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I'd like to know what demo code you used for testing, did it from the SDK library?
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
My board : evkbimxrt1050
Yes from SDK.
sdcard_fatfs_freertos
using SDRAM , It stop working. with default internal ram it works.
Hi,
Thanks for your reply.
Please check the attachment, which I modify the sdcard_fatfs_freertos demo to work with the SDRAM as the primary RAM, it works well on my board.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
What changes you did . Is it only ffconf.h file
Thanks for your reply.
1) What changes you did . Is it only ffconf.h file
-- No, firstly, I adjusted the memory allocation for using the SDRAM, next, I modified the sdcard_fatfs_freertos.c like the below shows.
/*******************************************************************************
* Variables
******************************************************************************/
AT_NONCACHEABLE_SECTION(static FATFS g_fileSystem); /* File system object */
AT_NONCACHEABLE_SECTION(static FIL g_fileObject1);
AT_NONCACHEABLE_SECTION(static FIL g_fileObject2);
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Thanks, I will try it in few days.