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

ID string in a flash

Hello,

I need to put an ID string (file name and version) at a particular address in a flash, so the programming application can read it from a hex / binary file.
I can probably use a scatter file, but is there any simpler solution ?

Cortex-M3 STM32F107
MDK-ARM 4.12

thank you,
Gennady

Parents
  • I am still trying to get rid of extra data appearing at the end of an image after my string.
    According to http://www.keil.com/support/docs/3512.htm
    these is compressed RW initialization data.
    According to the difference between sizes of Load Region LR_IROM1 and Execution Region ER_IROM1 in a memory map, amount of these data is 124 bytes. I actually have 125, but maybe I miscalculated something.

    Anyway, all attempts to eliminate these data were unsuccessful. I tried adding --datacompressor=off in a linker options, some other staff - no luck.

    While doing extensive research on a forum, I saw quite a few references to 'putting metadata / special data at the very end of a rom image'. So it seems like there is a lot of expertise on this issue.

    Please, could someone point me in a right direction.

    Gennady

Reply
  • I am still trying to get rid of extra data appearing at the end of an image after my string.
    According to http://www.keil.com/support/docs/3512.htm
    these is compressed RW initialization data.
    According to the difference between sizes of Load Region LR_IROM1 and Execution Region ER_IROM1 in a memory map, amount of these data is 124 bytes. I actually have 125, but maybe I miscalculated something.

    Anyway, all attempts to eliminate these data were unsuccessful. I tried adding --datacompressor=off in a linker options, some other staff - no luck.

    While doing extensive research on a forum, I saw quite a few references to 'putting metadata / special data at the very end of a rom image'. So it seems like there is a lot of expertise on this issue.

    Please, could someone point me in a right direction.

    Gennady

Children