Benjamin Valentin
32bbba2fc5
cpu/lpc2387: add support for backup RAM
...
lpc23xx has 2k of battery RAM that is retained in Deep Power Down mode.
To not overwrite that data it must only be initialized on Power On Reset.
However, RSIR looks the same when waking up from Deep Power Down as it does
on the power-on case.
So use 4 bytes of the backup RAM to keep a signature that is only valid if
memory was retained (no power-on Reset).
A small change to the linker script is required so two sections can be
placed into flash.
2019-11-28 11:33:03 +01:00
..
2019-11-28 11:33:03 +01:00
2019-10-18 12:40:34 +02:00
2019-11-23 22:39:35 +01:00
2019-11-23 22:39:35 +01:00
2019-11-23 22:39:35 +01:00
2019-11-23 22:39:35 +01:00
2019-11-23 22:39:35 +01:00
2019-11-23 22:39:35 +01:00
2019-11-27 01:39:33 +01:00
2019-10-29 21:27:00 +01:00
2019-10-29 21:27:00 +01:00
2019-10-29 21:27:00 +01:00
2019-09-12 11:32:31 +02:00
2019-11-23 22:39:36 +01:00
2019-11-23 22:39:36 +01:00
2019-11-23 22:39:36 +01:00
2019-11-25 15:49:13 +01:00
2019-11-23 14:26:37 +01:00
2019-11-23 22:39:07 +01:00
2019-10-21 08:23:51 +02:00
2019-11-23 22:39:07 +01:00
2019-11-23 22:39:36 +01:00
2019-11-23 22:39:07 +01:00
2019-11-21 11:58:07 +01:00
2019-11-28 11:33:03 +01:00
2019-11-23 22:39:36 +01:00
2019-11-23 22:39:07 +01:00
2019-10-18 18:57:42 +01:00
2019-10-18 18:57:42 +01:00
2019-11-25 12:48:48 +01:00
2019-06-03 13:44:10 +02:00
2019-11-23 22:39:36 +01:00
2019-11-23 22:39:36 +01:00
2019-11-23 22:39:07 +01:00
2019-11-23 22:39:36 +01:00
2019-11-28 10:07:11 +01:00
2019-11-23 22:39:07 +01:00
2019-09-30 17:25:24 +02:00
2019-11-27 19:01:00 +01:00
2019-11-27 19:01:00 +01:00
2019-11-27 19:01:00 +01:00
2019-11-27 19:01:00 +01:00
2019-08-29 10:35:53 +02:00
2019-11-23 22:39:36 +01:00
2019-10-21 15:30:22 +02:00
2019-11-23 22:39:07 +01:00
2019-11-15 10:35:32 +01:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-11-15 10:35:32 +01:00
2019-11-23 22:39:07 +01:00
2017-01-20 13:36:26 +01:00