2013-06-15 09:32 PM
Hey guys,I would be very grateful if someone help me for the following issue.I want to compile and save some information in an indoor internal SRAMmicrocontroller when power supply of microcontroller goes offline,those information stay in internal SRAM.For instance, an LED is on and the information about it is saved inSRAM, so when power supply goes offline the information about LED willmaintain in the internal SRAM.Is there any solution for this issue?Plase Code And Sample.....
2013-06-16 05:35 AM
For what board and part?
For the STM32F4 you'd need to have a battery attached, and place the data in the BACKUP SRAM (BKPSRAM), 4KB at 0x40024000 STM32F4xx_DSP_StdPeriph_Lib_V1.1.0\Project\STM32F4xx_StdPeriph_Examples\RTC\RTC_BKPDomain\main.c