Use of QSPI NOR flash in 2 sections

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

Use of QSPI NOR flash in 2 sections

437 次查看
shrinivasnh
Contributor I

Hi,

I am using IMXRT 1170 Eval Kit.
Can I partition QSPI NOR Flash in 2 sections. of 32MB each.
One sections shall be RAW for red write and other needs to have filesystem for storing logs, text files
Please let me know how I can do it and if its possible

0 项奖励
回复
1 回复

420 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
Hope you are well.

It is possible to do it but we need to be careful about certain aspects.
This can be achieved through the linker files or in project properties under C/C++Build -> MCU Settings on Memory details.

You can share the flash to execute and store data but you need to execute the drivers in RAM and stop any other XiP access during such operations. So it is important to use Non-XIP mode so that after boot the code runs in RAM and the remaining space can be used for the file system.

Having a flash capable of using RWW(Read While Write) can make this easier, you might refer to this AN: Implement RWW on i.MX RT Series (nxp.com)

Best regards,
Omar

0 项奖励
回复