Updated Persistent Memory (markdown)

Brumi-2021 2022-01-06 14:44:28 +01:00
parent 6e01f87dd0
commit ce976e4cd6

@ -2,7 +2,8 @@ This is part of the **RTC (Real Time Clock) subsystem**, inside the LPC43xx chip
# RTC Subsystem
The RTC subsystem keeps the actual clock (date / time) running, powered by a battery (which needs to be [installed](https://github.com/eried/portapack-mayhem/wiki/Hardware-overview#portapack-internals) on the portapack board), even when the unit is not connected to an USB power source.
The RTC subsystem keeps the actual clock (date / time) running, powered by a back up coin battery (which needs to be [installed](https://github.com/eried/portapack-mayhem/wiki/Hardware-overview#portapack-internals) on the portapack board),even when the unit is not connected to an USB power source.
And on top of this RTC functionality, the same coin battery will keep persistent a small region of VBAT-maintained SRAM (0x40041000, 256 bytes) for saving system state settings when the device is powered off.
The persistent memory map is defined at `/firmware/chibios-portapack/os/hal/platforms/LPC43xx/lpc43xx.inc`: