Please help me on ARM DS-5 development. I am debugging a baremetal firmware. I compiled and linked it so that its data section's VMA is not equal to its LMA, to save space. Now when loading elf for debugging (via loadfile command), it always place sections to their VMA (runtime) location, such that my start.S code which relocates data from its expected LMA to VMA messes the entire program. This is not the situation with gdb, which loads sections to their LMA. But I'm not using gdb, I'm using DS-5. How do I get DS-5 to load my sections to their LMA from elf?
Thanks a lot! That solved my problem!