We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
How about this?
; ************************************************************* ; *** Scatter-Loading Description File generated by uVision *** ; ************************************************************* LR_IROM1 0x08000000 0x00020000 { ; load region size_region ER_IROM1 0x08000000 0x00020000 { ; load address = execution address *.o (RESET, +First) *(InRoot$Sections) .ANY (+RO) } RW_IRAM1 0x20000000 0x0000C000 { ; RW data .ANY (+RW +ZI) } } LR_IROM2 +0 { ER_IROM2 +0 { *.o(codeEnd, +Last) } }
Mike, thank you so much !
It works, and I see how you've done it. Beautiful.
Gennady