I am working in MDK Keil for ARM. I would like to know what changes in generated code, if I change Options for target/Target and address of IROM1- to start from 0x10000 for example ? Why simulation in that case works, but program loaded on target ARM doesn't work ?
Thanks
I just expected simulation to mirror real CPU at least from the reset (including vectors), although I know it cannot simulate everything. However my primary interest is related to IROM1 question.
Regards
The linker fixes the absolute addresses in the image to reflect the selected placement. The object file will provide an entry point for the simulator to use.
You will need to Please read the manual from the vendor of the specific core/implementation to understand how it will behave absent the meta data in the object file.