Home
last modified time | relevance | path

Searched +full:erase +full:- +full:block +full:- +full:size (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/Zephyr-latest/dts/bindings/mtd/
Datmel,sam-flash.yaml2 # SPDX-License-Identifier: Apache-2.0
7 The Atmel SAM flash area varies in write-block-size, memory area,
8 and the layout of erase-blocks.
12 |--------------------|
13 | 8 Kbytes | erase block size = 2048
14 |--------------------|
15 | 8 Kbytes | erase block size = 2048
16 |--------------------|
17 | 48 Kbytes | erase block size = 4096
18 |--------------------|
[all …]
Dsoc-nv-flash.yaml3 compatible: "soc-nv-flash"
8 erase-block-size:
10 description: address alignment required by flash erase operations
12 write-block-size:
Datmel,at45.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [spi-device.yaml]
11 jedec-id:
12 type: uint8-array
16 size:
21 sector-size:
24 description: Flash sector size in bytes.
26 sector-0a-pages:
32 and has its size equal to eight pages (one block) and the second one
33 (usually 0b) is the complement to the size of a regular sector.
[all …]
/Zephyr-latest/dts/bindings/misc/
Dzephyr,flash-disk.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Block storage device on flash partition
6 compatible: "zephyr,flash-disk"
17 disk-name:
23 sector-size:
27 Emulated block device sector size in bytes.
29 cache-size:
33 Size of statically allocated buffer size in bytes. The size should be
34 adequately chosen. On storage backends with uniform erase-blocks it
35 should be at least the erase-block-size, on storage backends with
[all …]
/Zephyr-latest/dts/bindings/espi/
Dnuvoton,npcx-espi-taf.yaml2 # SPDX-License-Identifier: Apache-2.0
10 compatible = "nuvoton,npcx-espi-taf";
13 mapped-addr = <0x68000000>;
14 max-read-sz = "NPCX_ESPI_TAF_MAX_READ_REQ_64B";
15 erase-sz = "NPCX_ESPI_TAF_ERASE_BLOCK_SIZE_4KB";
17 #address-cells = <1>;
18 #size-cells = <1>;
22 compatible: "nuvoton,npcx-espi-taf"
24 include: [espi-controller.yaml, pinctrl-device.yaml]
27 mapped-addr:
[all …]
/Zephyr-latest/dts/arm/renesas/ra/ra8/
Dr7fa8m1ahecbd.dtsi4 * SPDX-License-Identifier: Apache-2.0
11 flash-controller@40100000 {
13 compatible = "renesas,ra-nv-flash";
15 write-block-size = <128>;
16 erase-block-size = <8192>;
17 renesas,programming-enable;
21 compatible = "renesas,ra-nv-flash";
23 write-block-size = <4>;
24 erase-block-size = <64>;
25 renesas,programming-enable;
Dr7fa8t1ahecbd.dtsi4 * SPDX-License-Identifier: Apache-2.0
11 flash-controller@40100000 {
13 compatible = "renesas,ra-nv-flash";
15 write-block-size = <128>;
16 erase-block-size = <8192>;
17 renesas,programming-enable;
21 compatible = "renesas,ra-nv-flash";
23 write-block-size = <4>;
24 erase-block-size = <64>;
25 renesas,programming-enable;
Dr7fa8d1bhecbd.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/mipi_dsi/mipi_dsi.h>
12 flash-controller@40100000 {
14 compatible = "renesas,ra-nv-flash";
16 write-block-size = <128>;
17 erase-block-size = <8192>;
18 renesas,programming-enable;
22 compatible = "renesas,ra-nv-flash";
24 write-block-size = <4>;
25 erase-block-size = <64>;
[all …]
/Zephyr-latest/tests/drivers/flash_simulator/flash_sim_impl/boards/
Dnative_ev_0x00.overlay4 * SPDX-License-Identifier: Apache-2.0
8 erase-value = < 0x00 >;
12 erase-block-size = <1024>;
13 write-block-size = <4>;
Dnucleo_f411re.overlay4 * SPDX-License-Identifier: Apache-2.0
9 compatible = "zephyr,memory-region", "mmio-sram";
11 zephyr,memory-region = "FlashSim";
16 sim_flash_controller: sim-flash-controller@0 {
17 compatible = "zephyr,sim-flash";
20 #address-cells = <1>;
21 #size-cells = <1>;
22 erase-value = <0xff>;
23 memory-region = <&sram_2001C000>;
27 compatible = "soc-nv-flash";
[all …]
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
8 erase-block-size = <1024>;
9 write-block-size = <4>;
/Zephyr-latest/tests/subsys/llext/boards/
Dqemu_arc_qemu_arc_em.overlay3 compatible = "zephyr,sim-flash";
5 #address-cells = <1>;
6 #size-cells = <1>;
7 erase-value = <0x00>;
10 compatible = "soc-nv-flash";
13 erase-block-size = <1024>;
14 write-block-size = <4>;
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
Dqemu_cortex_a9.overlay3 compatible = "zephyr,sim-flash";
5 #address-cells = <1>;
6 #size-cells = <1>;
7 erase-value = <0x00>;
10 compatible = "soc-nv-flash";
13 erase-block-size = <1024>;
14 write-block-size = <4>;
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
Dqemu_cortex_r5.overlay3 compatible = "zephyr,sim-flash";
5 #address-cells = <1>;
6 #size-cells = <1>;
7 erase-value = <0x00>;
10 compatible = "soc-nv-flash";
13 erase-block-size = <1024>;
14 write-block-size = <4>;
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
/Zephyr-latest/tests/drivers/flash_simulator/flash_sim_reboot/boards/
Dmps2_an385.overlay5 compatible = "zephyr,memory-region", "mmio-sram";
7 zephyr,memory-region = "FlashSim";
12 compatible = "zephyr,sim-flash";
14 #address-cells = <1>;
15 #size-cells = <1>;
16 erase-value = <0xff>;
17 memory-region = <&sram_203F0000>;
20 compatible = "soc-nv-flash";
23 erase-block-size = <1024>;
24 write-block-size = <4>;
/Zephyr-latest/drivers/flash/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
23 Device does not do erase-on-write (erase-on-program, auto-erase
24 on write) and requires explicit erase procedure to be programmed
26 some other value, as program can only change bits from erased-value
28 All pure Flash devices are evolution of EEPROM where erase has
29 been separated from write, EEPROM has erase-on-write, giving
30 it advantage of higher write speeds at a cost of larger erase block.
31 Note that explicit-erase capability does not warrants that
32 write without erase is not allowed, taking the above restrictions,
34 erase.
[all …]
DKconfig.nrf1 # SPDX-License-Identifier: Apache-2.0
49 bool "Nordic nRFx flash driver partial erase"
52 Enable partial erase feature. Partial erase is performed in time
55 This allows interrupting flash erase between operations
57 This feature may also be used for better syncing flash erase
62 int "Partial erase timeout in MS"
66 This is maximum time, in ms, that NVMC will use to erase part
78 to the flash erase and write operations timeout. The base for
87 ordinary flash memory. Erase is possible for whole UICR at once.
90 bool "8-bit write block size emulation"
[all …]
/Zephyr-latest/dts/bindings/fs/
Dzephyr,fstab,littlefs.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Description of pre-defined file systems.
9 include: "zephyr,fstab-common.yaml"
12 # num-files and num-dirs are not filesystem-specific.
14 read-size:
18 The size of file system read operations, in bytes.
25 prog-size:
29 The size of file system program (write) operations, in bytes.
36 cache-size:
40 The size of block caches, in bytes.
[all …]
/Zephyr-latest/dts/bindings/flash_controller/
Datmel,sam-flash-controller.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "atmel,sam-flash-controller"
8 include: flash-controller.yaml
14 "#erase-block-cells":
18 erase-block-cells:
19 - pages-count
20 - pages-size
/Zephyr-latest/samples/drivers/soc_flash_nand/
Dsample.yaml7 - intel_socfpga_agilex5_socdk
9 - intel_socfpga_agilex5_socdk
11 - flash
12 - cdns
19 - "Nand flash driver test sample"
20 - "Nand flash driver block size 20000"
21 - "The Page size of 800"
22 - "Nand flash driver data erase successful...."
23 - "Nand flash driver write completed...."
24 - "Nand flash driver read completed...."
[all …]
/Zephyr-latest/dts/arm/st/h7/
Dstm32h745.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/display/panel.h>
12 compatible = "st,stm32h745", "st,stm32h7", "simple-bus";
14 flash-controller@52002000 {
16 compatible = "st,stm32-nv-flash", "soc-nv-flash";
17 write-block-size = <32>;
18 erase-block-size = <DT_SIZE_K(128)>;
19 /* maximum erase time for a 128K sector */
20 max-erase-time = <4000>;
23 compatible = "st,stm32-nv-flash", "soc-nv-flash";
[all …]
/Zephyr-latest/subsys/fs/
DKconfig.littlefs4 # SPDX-License-Identifier: Apache-2.0
31 int "Minimum size of a block read"
37 int "Minimum size of a block program"
43 int "Size of block caches in bytes"
46 Each cache buffers a portion of a block in RAM. The littlefs
51 device, and a factor of the block size.
54 int "Size of lookahead buffer in bytes"
63 int "Number of erase cycles before moving data to another block"
66 For dynamic wear leveling, the number of erase cycles before data
67 is moved to another block. Set to a non-positive value to
[all …]
/Zephyr-latest/samples/drivers/soc_flash_nrf/
DREADME.rst1 .. zephyr:code-sample:: soc-flash-nrf
3 :relevant-api: flash_interface flash_area_api
16 Within the sample, user may observe how read/write/erase operations
24 there is a fixed-partition named ``storage_partition`` defined
27 .. zephyr-app-commands::
28 :zephyr-app: samples/drivers/soc_flash_nrf
36 .. code-block:: console
38 *** Booting Zephyr OS build v2.7.99-17621-g54832687bcbb ***
43 Test 1: Flash erase page at 0x82000
44 Flash erase succeeded!
[all …]
/Zephyr-latest/modules/nrf_wifi/bus/
Dspi_nor.h4 * SPDX-License-Identifier: Apache-2.0
9 * Zephyr OS layer of the Wi-Fi driver.
30 #define SPI_NOR_CMD_SE 0x20 /* Sector erase */
31 #define SPI_NOR_CMD_BE_32K 0x52 /* Block erase 32KB */
32 #define SPI_NOR_CMD_BE 0xD8 /* Block erase */
33 #define SPI_NOR_CMD_CE 0xC7 /* Chip erase */
35 #define SPI_NOR_CMD_ULBPR 0x98 /* Global Block Protection Unlock */
36 #define SPI_NOR_CMD_4BA 0xB7 /* Enter 4-Byte Address Mode */
40 /* Page, sector, and block size are standard, not configurable. */
/Zephyr-latest/include/zephyr/drivers/
Dflash.h2 * Copyright (c) 2017-2024 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
36 size_t pages_count; /* count of pages sequence of the same size */
60 /** Minimal write alignment and size */
68 /* Device has no explicit erase, so it either erases on
70 * This also includes devices that support erase but
80 /** Set for ordinary Flash where erase is needed before write of random data */
85 #define FLASH_ERASE_CAPS_UNSET (int)-1
92 /* @brief Parser for flash_parameters for retrieving erase capabilities
95 * of erase capabilities of 0 if device does not have any.
[all …]

12345678910>>...13