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.

How does my program fit into the Rm46 program flash on the HDK

Other Parts Discussed in Thread: RM46L852

The .out for the prototype program I am running on the rm46 on my HDK is over 3MB but the RM46L852 datasheet says there is only 1.25MB of program flash. The program loads and runs without any issues. Can anyone explain where the program is being stored? I've looked at the HDK schematic and i see an external RAM chip but i don't see any external program flash. Did i just miss it or is there something else in play that i am not understanding?

  • Josiah Yeagley31 said:
    The .out for the prototype program I am running on the rm46 on my HDK is over 3MB

    How are you measuring the .out at > 3MByte?   Is that just through the Host PC's OS?

    The .out file size on the host can be much larger than the actual flash content - especially if it contains debug symbols.

    You can look at the .map file output by the linker in the build directory to see exactly how much flash memory is being used.



    If your linker command file specifies 1.25MBytes of flash - and you didn't add any extra memory sections - you'd have gotten a linker error if your program was too big for the flash.

  •  I realized my folly as soon as I read your message. I was just looking at the size of the .out file on the host PC. Thank you for pointing out that I need to look in the .map :-D turns out I was only using 470k

  • Super! I'm glad it was the case.