LittleFS for RT1176

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LittleFS for RT1176

882 次查看
lfost
Contributor III

Looking for information on running LittleFS on an RT1176.  I want to run LittleFS out of qspi flash and also write files to the same qspi flash.  The standard nxp LittleFS code runs out of ram which will not work in our application.  What are the pros and cons of attempting to do this.  

0 项奖励
回复
4 回复数

873 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi @lfost ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
-- What are the pros and cons of attempting to do this?
-- It's easy to access the flash memory if the code run into the RAM, further, the whole space of flash memory is able to be accessible, however, when executing the code in the QSPI, the FlexSPI driver needs to be relocated into RAM, further, it shouldn't program or erase the sectors that be occupied by the code, otherwise, it causes code crash issue.
Anyway, the developer is able to modify the demo evkmimxrt1170_littlefs_shell_cm7 to enable running in the QSPI.
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.
------------------------------------------------------------------------------

0 项奖励
回复

871 次查看
lfost
Contributor III

Do you have any sample code that LittleFS runs out of qspi and writes back to the same qspi.  Do you have a linker script that does the sectioning of the flash.  

0 项奖励
回复

865 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi @lfost ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Do you have any sample code that LittleFS runs out of qspi and writes back to the same qspi. Do you have a linker script that does the sectioning of the flash?
-- Please check the attachment.
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.
------------------------------------------------------------------------------

0 项奖励
回复

854 次查看
lfost
Contributor III

Thanks.  I will checkout the sample code.  

0 项奖励
回复