LPC4088 XIP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC4088 XIP

479 Views
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

Labels (1)
0 Kudos
1 Reply

352 Views
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!
-----------------------------------------------------------------------------------------------------------------------