Home
last modified time | relevance | path

Searched +full:retained +full:- +full:ram (Results 1 – 25 of 44) sorted by relevance

12

/Zephyr-latest/drivers/retained_mem/
DKconfig.zephyr2 # SPDX-License-Identifier: Apache-2.0
5 bool "Generic Zephyr RAM retained memory driver"
9 Enable driver for retained memory in RAM.
12 bool "Generic Zephyr register retained memory driver"
16 Enable driver for retained memory in retained registers.
DKconfig.nrf2 # SPDX-License-Identifier: Apache-2.0
9 Enable driver for Nordic nRF GPREGRET-based retained memory
13 bool "nRF RAM retention driver"
18 Enable driver for Nordic RAM retention.
/Zephyr-latest/dts/bindings/retained_mem/
Dzephyr,retained-ram.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Uninitialised RAM-based retained memory area.
6 compatible: "zephyr,retained-ram"
11 "#address-cells":
14 "#size-cells":
/Zephyr-latest/samples/boards/nordic/system_off/boards/
Dnrf52840dk_nrf52840.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
20 /* Shrink SRAM size to avoid overlap with retained memory region */
Dnrf52dk_nrf52832.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
20 /* Shrink SRAM size to avoid overlap with retained memory region */
Dnrf54l15dk_nrf54l15_cpuapp.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
20 /* Shrink SRAM size to avoid overlap with retained memory region */
Dnrf54l15dk_nrf54l05_cpuapp.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
20 /* Shrink SRAM size to avoid overlap with retained memory region:
21 * 96 - 4 = 92KB = 0x17000
Dnrf54l15dk_nrf54l10_cpuapp.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
20 /* Shrink SRAM size to avoid overlap with retained memory region:
21 * 192 - 4 = 188KB = 0x2f000
Dnrf54l20pdk_nrf54l20_cpuapp.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
20 /* Shrink SRAM size to avoid overlap with retained memory region:
21 * 511 - 4 = 507KB = 0x7ec00
/Zephyr-latest/tests/drivers/retained_mem/api/boards/
Dnrf54l15dk_nrf54l05_cpuapp.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
20 /* Shrink SRAM size to avoid overlap with retained memory region:
21 * 96 - 4 = 92KB = 0x17000
Dnrf54l15dk_nrf54l10_cpuapp.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
20 /* Shrink SRAM size to avoid overlap with retained memory region:
21 * 192 - 4 = 188KB = 0x2f000
Dnrf54l20pdk_nrf54l20_cpuapp.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
20 /* Shrink SRAM size to avoid overlap with retained memory region:
21 * 511 - 4 = 507KB = 0x7ec00
Dnrf54l15dk_nrf54l15_cpuapp.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
Dnrf54h20dk_nrf54h20_cpuapp.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
Dnrf54h20dk_nrf54h20_cpurad.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
Dqemu_cortex_m3.overlay5 compatible = "zephyr,memory-region", "mmio-sram";
7 zephyr,memory-region = "Retention";
11 compatible = "zephyr,retained-ram";
Dnrf52840dk_nrf52840_ram.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
/Zephyr-latest/doc/services/retention/
Dindex.rst11 power failure (or during some low-power modes on some devices) nor should it be
12 stored to a non-volatile storage like :ref:`flash_api`, :ref:`eeprom_api`, or
13 battery-backed RAM.
15 The retention system builds on top of the retained data driver, and adds
16 additional software-level features to it for ensuring the validity of data.
18 the retained data memory section contains this specific value, and an optional
19 checksum (1, 2, or 4-bytes in size) of the stored data can be appended to the
21 the retained data sections into multiple distinct areas. For example, a 64-byte
22 retained data area could be split up into 4 bytes for a boot mode, 16 bytes for
25 per-instance using devicetree.
[all …]
Dblinfo.rst16 created which has a retained data section as its parent, generally non-init RAM
20 .. code-block:: devicetree
24 compatible = "zephyr,memory-region", "mmio-sram";
26 zephyr,memory-region = "RetainedMem";
30 compatible = "zephyr,retained-ram";
32 #address-cells = <1>;
33 #size-cells = <1>;
44 zephyr,bootloader-info = &boot_info0;
49 /* Reduce SRAM0 usage by 1KB to account for non-init area */
65 * :kconfig:option:`CONFIG_RETAINED_MEM` - Enables retained memory driver
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dretained_mem.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Public API for retained memory drivers
31 * @brief Retained memory driver interface
32 * @defgroup retained_mem_interface Retained memory driver interface
41 * @brief Callback API to get size of retained memory area.
48 * @brief Callback API to read from retained memory area.
56 * @brief Callback API to write to retained memory area.
64 * @brief Callback API to clear retained memory area (reset all data to 0x00).
70 * @brief Retained memory driver API
71 * API which can be used by a device to store data in a retained memory area. Retained memory is
[all …]
/Zephyr-latest/samples/boards/nordic/system_off/
DREADME.rst1 .. zephyr:code-sample:: nrf_system_off
3 :relevant-api: sys_poweroff subsys_pm_device
13 RAM Retention
16 This sample can also demonstrate RAM retention.
18 number of times system off was entered, and total uptime since initial power-on
19 are retained in a checksummed data structure.
20 RAM is configured to keep the containing section powered while in system-off mode.
31 -----------------
33 .. code-block:: console
35 *** Booting Zephyr OS build v2.3.0-rc1-204-g5f2eb85f728d ***
/Zephyr-latest/soc/nordic/nrf54h/
Dpm_s2ram.h3 * SPDX-License-Identifier: Apache-2.0
16 * This function is used on suspend-to-RAM (S2RAM) to save the CPU state in
17 * (retained) RAM before powering the system off using the provided function.
26 * @retval -EBUSY The system is busy and cannot be suspended at this time.
27 * @retval -errno Negative errno code in case of failure.
Dpower.c3 * SPDX-License-Identifier: Apache-2.0
44 /* Power up and re-enable ICACHE */ in common_resume()
51 /* Power up and re-enable DCACHE */ in common_resume()
86 /* Substate for idle with cache powered on - not implemented yet. */ in s2idle_enter()
88 case 1: /* Substate for idle with cache retained - not implemented yet. */ in s2idle_enter()
110 /* Substate for idle with cache powered on - not implemented yet. */ in s2idle_exit()
112 case 1: /* Substate for idle with cache retained - not implemented yet. */ in s2idle_exit()
125 /* Resume domain after local suspend to RAM. */
130 /* Re-enable domain retention. */ in s2ram_exit()
135 /* Function called during local domain suspend to RAM. */
[all …]
/Zephyr-latest/samples/subsys/mgmt/mcumgr/smp_svr/sysbuild/
Dnrf52840dk_nrf52840_mcuboot_ram_load.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
11 #address-cells = <1>;
12 #size-cells = <1>;
23 zephyr,bootloader-info = &boot_info0;
/Zephyr-latest/dts/bindings/retention/
Dzephyr,retention.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Retention subsystem area, which has a retained memory parent. Example
6 64-byte area with 2-byte prefix and 1-byte checksum with 61 usable bytes
10 compatible = "zephyr,memory-region", "mmio-sram";
12 zephyr,memory-region = "RetainedMem";
16 compatible = "zephyr,retained-ram";
18 #address-cells = <1>;
19 #size-cells = <1>;
36 "#address-cells":
43 "#size-cells":
[all …]

12