Littlefs on RT1064 internal flash.

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

Littlefs on RT1064 internal flash.

2,371 次查看
emvlabs
Contributor III

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 ?

标签 (1)
标记 (3)
7 回复数

2,067 次查看
Sabina_Bruce
NXP Employee
NXP Employee

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

0 项奖励

2,067 次查看
jeremyzhou
NXP Employee
NXP Employee

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.
-------------------------------------------------------------------------------

2,067 次查看
emvlabs
Contributor III

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 ?

0 项奖励

2,066 次查看
jeremyzhou
NXP Employee
NXP Employee

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.
-------------------------------------------------------------------------------

2,065 次查看
emvlabs
Contributor III

Hi jeremyzhou,

Did you attached a demo project ?

I can't find a demo project.

0 项奖励

2,066 次查看
jeremyzhou
NXP Employee
NXP Employee

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.

pastedImage_1.png

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 项奖励

2,066 次查看
emvlabs
Contributor III

Dear jeremyzhou,

I merge rt1060_rom_api project to my project.

But I found the link error. 

How can I do ?

pastedImage_1.png

0 项奖励