I found the Littefs example on SDK.
But It use the External Flash through the FlexSPI.
I would like to use the Internal Flash.
3MB for Program Area.
1MB for littefs Area.
In the lfs_support.h
#define EXAMPLE_FLEXSPI FLEXSPI
#define EXAMPLE_FLEXSPI_CLOCK kCLOCK_FlexSpi
#define EXAMPLE_FLEXSPI_AMBA_BASE FlexSPI_AMBA_BASE
FLEXSPI => . FLEXSPI2
FlexSPI_AMBA_BASE => FlexSPI2_AMBA_BASE + (3MB address)
Is it possible ?
Hello emvlabs@gmail.com ,
Please refer to the following community document, here you will find a detailed explanation of all the modifications that you need to make to one of the SDKs examples to use the on-chip flash as NVM.
RT1064 use on-chip flash as NVM
Have a great day,
Sabina
Hi ChoonGyeong Lee,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Is it possible?
-- No, I'm afraid not.
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.
-------------------------------------------------------------------------------
So, Is there any way to read and write internal flash ?
I would like to read and write some information on the internal flash.
Also Is it impossible ?
Hi ChoonGyeong Lee,
Thanks for your reply.
1) Is there any way to read and write an internal flash?
-- Yes, the RT 106x series MCU contains the
FlexSPI NOR Flash Driver API which is able to implement a variety of flash operations like erase, program, etc. You can find detail information about the driver in the RM. In further, I've attached a demo project that presents how to utilize the ROM driver.
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.
-------------------------------------------------------------------------------
Hi jeremyzhou,
Did you attached a demo project ?
I can't find a demo project.
Hi ChoonGyeong Lee,
Thanks for your reply.
1) Did you attach a demo project?
-- Yes, just as the below figure shows. And I think the demo project still be held in the moderation queue, so it's invisible for you.
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.
-------------------------------------------------------------------------------
Dear jeremyzhou,
I merge rt1060_rom_api project to my project.
But I found the link error.
How can I do ?