>>Can you clarify these word's, stm32 is more confusing that I thought.
You have any relevant experience from some other MCU family you can leverage?
>>I want some idea where in i can flash my new software to some flash sections,
take backup of old software. Then move the new software to old software's location. is this possible?
Holding multiple concurrent images, and swapping them, probably beyond you.
On a device with 256 KB you could stage a 128KB image, and subsequently replace one with a newer one. You could break the memory space into three, and have a small loader manage the selection or replacement/update process. Generally you'd want that loader to be very small, efficient and focused, so as not to waste space for use by the application, whilst allowing for robust recovery methods so you aren't left with a bricked device in the field with no firmware on it.
If you have a secondary flash memory, ie Micron, Macronix, Winbond QSPI device, you could stage and hold multiple firmware images in a more leisurely and flexible manner.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..