This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Running code from RAM

Hi,

I am using EK-LM4F120XL board with IAR Workbench. I want to run code from RAM rather than from flash. Can someone guide me how can I do that?

Regards,

Aashish

  • Aashish,

    There must be EWARM_DevelopmentGuide.ENU.pdf file in your IAR installation. Open it and navigate the following sections:

    Part 1. Using the build tool
        Linking your application
            Linking considerations
                Changing the default initialization
                    Initializing code—copying ROM to RAM
                    Running all code from RAM

     ---

    regards,

        Igor