How to store data on internal flash memory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to store data on internal flash memory

1,330件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mackrants on Tue Jun 16 04:33:35 MST 2015
Hi,
I'm using lpc2387 and because of security reasons I want to store some data on the flash memory.

I'm aware that some of it is used for running the code, but I want to use the part of the flash that isn't used.

I searched a lot but didn't find enough info about how to do this.

I need ALL of the libraries that I'm required to use and a full example of how to read and write data to the flash.



thanks a lot!!

Asaf
ラベル(1)
0 件の賞賛
返信
6 返答(返信)

1,290件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Jun 17 05:17:15 MST 2015
There is no header file  - you do not need it.
There is no library - you do not need it.

The User Manual tells you what you need to do.
0 件の賞賛
返信

1,290件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mackrants on Wed Jun 17 05:06:25 MST 2015
I don't have the necessary libraries and I don't know which libraries I should have,
Where can I find the header files for this?
lpc23xx.h isn't enough
0 件の賞賛
返信

1,290件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mackrants on Wed Jun 17 05:06:20 MST 2015
I don't have the necessary libraries and I don't know which libraries I should have,
Where can I find the header files for this?
lpc23xx.h isn't enough
0 件の賞賛
返信

1,290件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Jun 17 02:42:22 MST 2015
Did you READ THE USER MANUAL? It shows you how.

UM10211, Chapter 29, section 8.
0 件の賞賛
返信

1,290件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mackrants on Wed Jun 17 02:22:36 MST 2015
I got the Flash Mem address range, but I don't know how to write there on run-time.
I didn't figure out how to do that with C code...
Can you please show me an example?
0 件の賞賛
返信

1,290件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Tue Jun 16 05:32:18 MST 2015
Read the User Manual. The section on IAP should provide everything you need.
0 件の賞賛
返信