How to store data on internal flash memory

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

How to store data on internal flash memory

1,329 次查看
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,289 次查看
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,289 次查看
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,289 次查看
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,289 次查看
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,289 次查看
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,289 次查看
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 项奖励
回复