Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


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

How can I get or build a FLM file for MPS3 for Cortex-m33

AFAIK the RO region in MPS3 from where an application binary would execute is RAM. I.e. a flash algorithm should not be needed. How can I transfer a binary to the target without a flash algorithm.

Or if an *.flm file is indeed needed, "flashing" to RAM should be a matter of copying data and should be generic. Does such a generic flm-file exist?

  • Hello Mambrus,

    which environment are you using. In MDK, you would use the LOAD command to send the image to the target without a FLM file:

    LOAD %L INCREMENTAL

    Kind regards,

    Christopher

  • To expand on the answer from Christopher, usually one disables the "load application at startup" or "download to target", and instead select an initialization file

    FUNC void Setup (void) { // Change 0x10000000 to 0x08000000 or 0x20000000 as appropriate
      SP = _RDWORD(0x10000000);             // Setup Stack Pointer
      PC = _RDWORD(0x10000004);             // Setup Program Counter
      _WDWORD(0xE000ED08, 0x10000000);      // Setup Vector Table Offset Register
    }
    
    LOAD %L INCREMENTAL                     // Download
    
    Setup();                                // Setup for Running
    
    g, main