LittleFS for RT1176

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LittleFS for RT1176

660 Views
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 Kudos
Reply
4 Replies

651 Views
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 Kudos
Reply

649 Views
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 Kudos
Reply

643 Views
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 Kudos
Reply

632 Views
lfost
Contributor III

Thanks.  I will checkout the sample code.  

0 Kudos
Reply