Hello.
There is an executable file built by setting the address of the entry point (RO_Base) to 0x00000000 with Keil's linker setting.
I converted this executable file into plain binary format data using "fromelf - bin" command.
This binary data is loaded into the memory without using the debugger.
Although installing in memory 0x00000000 will work without problems, setting it to 0x00010000 does not work well.
When binary data built by setting 0x00010000 at entry point is installed in memory 0x00010000, it works.
Is there a way to rewrite the binary data created with entry point 0x00000000 to 0x00010000 in the C program or Assembler?
You have to give more information. Which CPU (Cortex-M, R, A, ARMv5TE)?Anyway, in general ARM starts at 0 to execute first instruction (check the resp. manual for your CPU).
I'm sorry. Information was missing. The CPU you are using is Cortex-M4. Yes, that is understanding. For this reason, I am rewriting the vector table offset address to the code written in the ARM startup assembler.