This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to move code up in memory for use with bootloader?

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?