Hi,
I am using the IMXRT1172xx microcontroller for our Proto. In that we plan to use LittleFS along with the application code running in the Ext. flash of 64MB.
For testing purpose, I was successfully able to run the LittleFS Example code provided in the SDK, wherein I had moved the fsl_flexspi.o and mflash_drv.o files to RAM using Initialize by copy in Linker. Based on this things function as required and I am able to mount the file system at any block address less than 16MB.
Similarly, if I try to the same considering 64MB as Flash size, I try to mount it at 16MB (0x1000000) or further, it is able to format and mount/unmount/create dir etc successfully, but once the code seems to be blocked and not running.
Points to be noted,
IDE used : IAR.
Debugger : Jlink.
Additionally, to accommodate for the 64MB flash, I had changed the #define BOARD_FLASH_SIZE (0x4000000U) in board.h file and the qspiflash_config.memConfig.sflashA1Size = 64u * 1024u * 1024u in evkmimxrt1170_flexspi_nor_config.c file.
Any insight and support will be very much helpful.
Regards,
Amit Kotal