LS1046A QSPI NOR Flash Programming C Code

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

LS1046A QSPI NOR Flash Programming C Code

194 次查看
DaT63
Contributor I

Hi,

I need to access the boot NOR Flash memory by C code for read/write/erase operations. I wonder if there are C code examples, API, libraries, ... already available which are not OS dependent

Regards

Daniele

0 项奖励
3 回复数

161 次查看
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

You can use CW flash programmer to perform those operations, Please find the attached file and take a look on chapter 7.3 Using flash programmer.

 

0 项奖励

105 次查看
DaT63
Contributor I

Hello,

I do have a CW flash programmer, but if I am asking for sample code is because I need to do such operations inside an embedded software application (not Linux). I wonder if somewhere is available a sort of SDK or at least an Application Note 

Thank you

0 项奖励

75 次查看
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

We don't have a c code example, but, you can use sf command under U-boot to perform those operations.

https://docs.u-boot.org/en/latest/usage/cmd/sf.html

 

0 项奖励