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.

984件の閲覧回数
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 返答(返信)

710件の閲覧回数
lpcware
NXP Employee
NXP Employee
bump
0 件の賞賛
返信

710件の閲覧回数
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 件の賞賛
返信