Creating a custom bootloader and firmware in the same sector of the embedded flash memoery
I want to implement a custom bootloader and load the firmware through that. My board is STM32H750XB and according to the data sheet it says, it contains a single sector (sector 0) of 128kB which is user programmable. My question , is it possible to program the bootloader and the firmware separately to the same sector, because when I flash the firmware after flashing the bootloader, it erases the bootloader and writes only the application to the given memory address.