LS1046A QSPI NOR Flash Programming C Code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1046A QSPI NOR Flash Programming C Code

193 Views
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 Kudos
3 Replies

160 Views
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 Kudos

104 Views
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 Kudos

74 Views
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 Kudos