2021-09-14 03:28 AM
2021-09-14 08:19 AM
Is there a question here? You can write to FLASH in your program using the various HAL_FLASH_* calls. There should be examples in the relevant CubeMX repository for your chip.
2021-09-14 09:53 AM
Do you plan on writing the Windows side application replacing the ST-LINK Utility?
How do you propose to do the download? Via serial? Using X/Y-MODEM type protocol?
You can implement the target side code via the HAL Flash calls to erase and write to the memory area to be used for the binary data.