Do RAM may have old data after energized
Hi everyone ,
We are using our custom bootloader firmware to update our main firmware.To do that we set a flag at a specific location at RAM and reset the MCU.The flag size is 1 byte.
At the bootloader firmware read the data from RAM and if this data macthes our flag then entering update fırmware function.
After update we clear the data at this RAM location.All this sequence energy is allways ON .
We think when turn off the power all RAM data will be cleared.But some of our devices read this flag after energized.
Is this because of bootloader firmware use this RAM location and set the data same as our Flag or it holds the old data ?