Hi, I,m using keil uVision V5.37.0.0. and uC STM32G041. Besides the original program residing at memory address 0x0800 0000 I need an existing Intel Hex file to be loaded at address 0x0800 C000. I managed to get it work using the 'flash.ini' file but not to my satisfaction. The Intel Hex file data line addresses start at 0x0000. If I change the Intel Hex file addresses to the 0xC000 range then I manage to store the Intel Hex data at address 0x0800 C000 when downloading my application into the uC using the '04' record type. But I would like to achieve this without modifying the content of the original Intel Hex file. I tried different Intel Hex Record Types but none of them seems to do the job.
Perhaps there is a command line parameter that can do that for you (I don't know), but if you don't mind using an intermediate step, "srecord" can do this for you.
http://srecord.sourceforge.net/
Thanks for this - much appreciated!