I'm using Freescale MK10FN1M0xxx12.
I want to place my code so it starts from 0x1000 and forward. I'm writing a bootlaoder that will occupy address 0x0 - 0x0FFF.
I have changed the start address for my application to 0x1000 under Configure Flash Tools/Target/IROM1
But the compiler still puts some code at 0x400 I think.
I found this in startup_MK10F12.s:
.ARM.__at_0x400
Should I change it? And to what? Maybe 0x400 + 0x1000 = 0x1400?
I think I solved it. It is the Flash configuration bits that are located at 0x0400. But I don't need to use them for my application. The bootloader has the configuration bits. Problem solved.