How to Run an NRF Connect SDK App from External Flash (XIP) for NRF52840 chip

Hello Team,

Just to give you a background , I am working on a project using the NRF Connect SDK and want to run my application from external flash memory. Specifically, I am trying to replicate the functionality of the blinky_systick example from NRF SDK 17, which runs from external flash.

Problem: I am unsure about the steps required to configure my NRF Connect SDK app to run from external flash. I need guidance on the necessary configurations and modifications.

Attempts: I have reviewed the blinky_systick example in NRF SDK 17 and tried to adapt its settings to my NRF Connect SDK project. However, I am facing difficulties in understanding the correct procedure and necessary modifications. I have looked through the NRF Connect SDK documentation but could not find a clear guide on this topic for NRF52840 soc.

What steps should I take to configure and run an NRF Connect SDK application from external flash memory, similar to the blinky_systick example in NRF SDK 17? Could you provide a detailed guide or point me to relevant documentation?

Kind regards,

Ahmed

Parents Reply Children
  • The memory placement is defined by the partitions specified in your DeviceTree or Partition Manager if you are building with the bootloader. However, as I mentioned in my first reply, running the Zephyr application from the external flash is likely not going to work due to said errata. Additionally, the execution performance will prevent you from running things such as the Bluetooth controller.

Related