Hi guys,
I've got a Cortex-M3 (STM32F103) application that updates code in flash.
From what I understand if the FPEC is busy with, say, flash erasing it won't fetch instructions for the core thereby stalling it.
I would like to avoid these stalls so I'd like the flash updating code to run out of RAM.
I'm using a custom scatter file and I'm not initializing anything.
I'm not using any RTOS or libraries.
Ideally I'd be able to define a section in flash where the code is stored so, on startup, I can just copy it into another section in RAM and execute it.
Many thanks,