I was reading the specification of the microcontroller. In Booting, they mentioned three option. 1.Main Flash memory 2.System Memory 3.Embedded SRAM Memory. First two memory is non-volatile memory, so you put your code and start booting. but SRAM is a volatile memory, when the power goes off code will be erased. so what is use of SRAM for booting? In many blogs, All advise to use SRAM for booting.
what is the use of using non-volatile memory in booting?