LPC4088 XIP

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

LPC4088 XIP

960 次查看
qinhg
Contributor I

Hi,

Can i use XIP (Execution In Place) from external SPI nor flash (winbond) for code storage, and run code from the external flash in XIP.

 

Thanks In advance

标签 (1)
0 项奖励
回复
1 回复

833 次查看
soledad
NXP Employee
NXP Employee

Hi, 

There are two issues that limit the use of SPIFI flash on these parts:

  1. The LPC40xx MCU can only be configured to boot from internal flash and not from external SPIFI flash.
  2. On the LPC40xx, SPIFI flash is mapped to address 0x28000000. However, the Cortex M4 architecture does not support the use of hardware breakpoints at addresses above 0x20000000. This limitation makes debugging code located in SPIFI flash impractical.

In consequence, although execute in place (XIP) is supported on these parts, for practical purposes SPIFI flash is generally only suitable for storage of data.

Have a great day,
Sol

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------