Difference between revisions of "HANcoder/STM32/Blocks/Save EEPROM"

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
Line 9: Line 9:
  
 
'''Trigger Port'''
 
'''Trigger Port'''
 +
 
Connect the port to a trigger source to execute the block only when necessary.
 
Connect the port to a trigger source to execute the block only when necessary.
  

Revision as of 08:51, 22 March 2017

Supported Targets: Olimexino, E407, P405

General information about Save EEPROM

The STM32 controller does not have dedicated EEPROM on-chip. All EEPROM write, read and erase operations are therefore performed in a RAM buffer. To make sure RAM buffer contents are still valid after a power-off, its contents needs to be save in flash EEPROM, which is achieved with this block. This is typically called during the software shutdown sequence, right before power off.

Trigger Port

Connect the port to a trigger source to execute the block only when necessary.

Block

SaveEEPROMBlock.png

Mask

SaveEEPROMMask.png