This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MCUboot - Execution From External Storage

Hi,

The RAM Loading section for MCUboot states the following:

Execution from external storage has some drawbacks (lower execution speed, image is exposed to attacks) therefore the image is always copied to the internal RAM before the authentication and execution.

In case these drawbacks were acceptable, is it possible to run the image from external storage, without copying it into RAM? In other words, is it possible for the primary slot to be on external storage?

Thank you.

  • Hi,

    In case these drawbacks were acceptable, is it possible to run the image from external storage, without copying it into RAM? In other words, is it possible for the primary slot to be on external storage?

    We do not support mcuboot XIP, unfortunately.

    ARM Cortex M-series does not work with position independent code, meaning that you cannot dynamically run a binary at any other address than it was originally compiled for.

     

    Kind regards,

    Håkon

Related