Skip to content

investigate persistent memory: eeprom emulation, backup registers, RTC #35

@celery6

Description

@celery6

having some kind of memory that persists between boots (when no power) could be quite useful.

Use cases include:

  • logger would like to have a unique identifier upon each bootup for file naming. this is also generally useful for debugging logs to be able to confirm the order they happened
  • important: in case the board hardfaults or hits some other unrecoverable state, a lastditch effort could be to write some important data to persistent memory so we can debug what happened even after the board loses power

things we should find out:

  • how much data can be stored
  • how would this be incorporated into the project? stm32 hal? external library? how complicated is it
  • for preserving state during hardfaults: is the persistent memory simple enough to be used in a last-ditch effort if the board is hardfaulted in some unknown way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    could donice to have things

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions