LS1046A QSPI NOR Flash Programming C Code

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

LS1046A QSPI NOR Flash Programming C Code

908 次查看
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 项奖励
回复
5 回复数

875 次查看
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 项奖励
回复

819 次查看
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 项奖励
回复

789 次查看
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 项奖励
回复

671 次查看
DaT63
Contributor I

Hello,

accessing the flash memory trough the programmer or u-boot is of no use for me. I need to do it within a custom application. There must be the possibility to do that, I think that NXP should provide a minimal support to do such operation

0 项奖励
回复

663 次查看
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

Please open a new technical case (not community thread) and ask for your c code requirement, if there is something helpful for you it will be provided there.

 

0 项奖励
回复