Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
celery6 opened this issue Nov 26, 2024 · 0 comments
Open
Labels
could do nice to have things
Milestone

Comments

@celery6
Copy link
Collaborator

celery6 commented Nov 26, 2024

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?
@celery6 celery6 added the could do nice to have things label Nov 26, 2024
@celery6 celery6 added this to the misc milestone Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
could do nice to have things
Projects
None yet
Development

No branches or pull requests

1 participant