there has been a bit written on this;
Crossworks Implementation of In-Application Bootloader for STM32 High-Density Devices
Compiling for a particular way of updating application
...change the start address and size of my program in memory?
and the manual pages etc.
However having read them and tried a number of things I find it not working.as expected.
Modified the STM32F103VE_MemoryMap.xml last line now
<MemorySegment size="0x78000" access="ReadOnly" name="FLASH" start="0x08008000"/> >
compile and load. I find the program vectors and program where I expect, and the
/* Configure vector table offset register */
ldr r0, =0xE000ED08
is set to 0x08008000 which is where the vectors are.
But still it goes off into the weeds after ctl_task_run() which I guess enables ints.
Thanks for your time.
Please sign in to leave a comment.