LPC 1857 SPIFI interfaced Quad SPI Flash (S25FL512) usage for both code execution and data storage.

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

LPC 1857 SPIFI interfaced Quad SPI Flash (S25FL512) usage for both code execution and data storage.

1,077 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ahmed_786 on Wed Jun 15 05:29:00 MST 2016
Hi,

I am using NXP LPC1857 Cortex M3 based controller project, project development in Keil V5.15.

My doubt is application based. I am interfacing external QSPI Flash S25FL512S and it is used to store code.At power on ,controller is booted from this external flash and starts executing.
Attachment shows the settings used for booting from SPIFI.
Now, my basic question since I am using this flash for code memory, can I use this same external flash for data storage (reading writing different records, menu settings, reports etc).
If yes, how???
标签 (1)
0 项奖励
回复
2 回复数

803 次查看
lpcware
NXP Employee
NXP Employee
bump
0 项奖励
回复

803 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

You can of course store any data you wish in the SPIFI flash device.

However you cannot program the device from code executing on the same flash device. If you wish to do this you would need to copy your flash programming code into RAM and execute from there until the programming operation completes.

Yours,

LPCXpresso-Support

0 项奖励
回复