Hi,
There are two issues that limit the use of SPIFI flash on these parts:
- The LPC40xx MCU can only be configured to boot from internal flash and not from external SPIFI flash.
- 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!
-----------------------------------------------------------------------------------------------------------------------