bootloader link file:
app link file:
bootloader code addr is 0x1000000, which is in the same partition for 0x1080000.
This bootloader can erase 0x1080000, but can't program data into 0x1080000, why?
and where I should put bootloader in?
Solved! Go to Solution.
Read-While-Write is supported only between partitions, so the code must be executed from another partition or from RAM memory. If interrupts are not disabled, make sure that interrupt vector table and ISR handlers (+ other resources accessed by the handlers) are also in different partition / RAM.
You can use low and mid blocks for the bootloader:
I followed your suggestion.
My bootloader link file:
my app link file:
but it still can't program into 0x100000
It is strange, program is successful, but "verify" failed.
I double check the bootloader hex file, there is no any code in sixth partition of flash.
can you help me?