Volatile RAM. Thinking DS1307 without battery.


Author Message
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1092
Posted: 07:41am 23 Jan 2025      

  bfwolf said  @PhenixRising, @Volhout:
Did nobody notice my above post?  
It wasn't ment as a joke/hoax!

I sometimes used this method e.g. to communicate between a bootloader and an application and vice versa!

I's a simple method and takes no additional special hardware! The only thing to find is a RAM area (some bytes) which isn't affected by e.g. the startup-code. Some microcontrollers even have a seperated RAM area which is small and difficult to use as "common application RAM space".


It was the reason for the start of the thread. Before going for a hardware solution, I wondered if there was some sort of persistent-memory-while-power-was-applied that I was unaware of.
Pete had already done this in the past but there was no interest and so it was disabled.
Now it has been reinstated and works perfectly for my needs.

See phil99's posts from earlier.

  Quote  SAVE PERSISTENT and MM.INFO(PERSISTENT) added in b2.

Edited 2025-01-23 17:43 by PhenixRising