Home
last modified time | relevance | path

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

12345678910>>...24

/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 …]
Dzephyr,emu-eeprom.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "zephyr,emu-eeprom"
8 include: eeprom-base.yaml
24 partition-erase:
27 Delay erase until complete partition is used. This enables a
28 ram buffer to allow data to be copied during the partition erase. If
29 power is lost during the partition erase the data will be lost.
/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.simulator4 # SPDX-License-Identifier: Apache-2.0
26 bool "Program-erase device"
30 Explicit erase (non-erase-on-write) Flash, which is device that requires erase
31 to erase-value prior to write as it only allows to change bits from erase-value
45 …If selected, writing to a non-erased program unit will succeed, otherwise, it will return an error.
46 Keep in mind that write operations can only change value of a bit from erase-value to the
50 but only change from erase-value to opposite will be registered.
68 int "Minimum erase time (µS)"
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"
Dspi_nor.h2 * Copyright (c) 2018 Savoir-Faire Linux.
4 * SPDX-License-Identifier: Apache-2.0
27 #define SPI_NOR_CMD_DREAD 0x3B /* Read data (1-1-2) */
28 #define SPI_NOR_CMD_2READ 0xBB /* Read data (1-2-2) */
29 #define SPI_NOR_CMD_QREAD 0x6B /* Read data (1-1-4) */
30 #define SPI_NOR_CMD_4READ 0xEB /* Read data (1-4-4) */
34 #define SPI_NOR_CMD_PP_1_1_2 0xA2 /* Dual Page program (1-1-2) */
35 #define SPI_NOR_CMD_PP_1_1_4 0x32 /* Quad Page program (1-1-4) */
36 #define SPI_NOR_CMD_PP_1_4_4 0x38 /* Quad Page program (1-4-4) */
38 #define SPI_NOR_CMD_SE 0x20 /* Sector erase */
[all …]
/Zephyr-latest/scripts/west_commands/runners/
Dnrfjprog.py4 # SPDX-License-Identifier: Apache-2.0
18 '''Runner front-end for nrfjprog.'''
20 def __init__(self, cfg, family, softreset, dev_id, erase=False, argument
24 super().__init__(cfg, family, softreset, dev_id, erase, reset,
34 def tool_opt_help(cls) -> str:
35 return 'Additional options for nrfjprog, e.g. "--clockspeed"'
40 args.dev_id, erase=args.erase,
47 parser.add_argument('--qspiini', required=False, dest='qspi_ini',
51 snrs = self.check_output(['nrfjprog', '--ids'])
67 core_opt = ['--coprocessor', cores[op['core']]] \
[all …]
Dprobe_rs.py2 # SPDX-License-Identifier: Apache-2.0
4 '''Runner for probe-rs.'''
10 '''Runner front-end for probe-rs.'''
13 probe_rs='probe-rs',
15 erase=False, argument
20 self.erase = erase
22 self.args = ['--chip', chip]
25 self.args += ['--probe', dev_id]
34 return 'probe-rs'
40 erase=True,
[all …]
Dminichlink.py3 # SPDX-License-Identifier: Apache-2.0
19 erase: bool,
27 self.erase = erase
37 def capabilities(cls) -> RunnerCaps:
38 return RunnerCaps(commands={"flash"}, flash_addr=True, erase=True, reset=True)
43 "--minichlink", default="minichlink", help="path to the minichlink binary"
46 "--terminal",
49 help="open the terminal after flashing. Implies --reset.",
58 erase=args.erase,
75 cmd = [self.minichlink, "-a"]
[all …]
Dezflashcli.py3 # SPDX-License-Identifier: Apache-2.0
13 '''Runner front-end for ezFlashCLI'''
15 def __init__(self, cfg, tool, dev_id=None, tool_opt=None, erase=False, reset=True): argument
21 self.erase = bool(erase)
35 return RunnerCaps(commands={'flash'}, dev_id=True, tool_opt=True, erase=True, reset=True)
38 def dev_id_help(cls) -> str:
39 return '''Device identifier. Use it to select the J-Link Serial Number
43 def tool_opt_help(cls) -> str:
44 return "Additional options for ezFlashCLI e.g. '--verbose'"
48 parser.add_argument('--tool', default=DEFAULT_EZFLASHCLI,
[all …]
Dspi_burn.py3 # SPDX-License-Identifier: Apache-2.0
14 '''Runner front-end for SPI_burn.'''
16 def __init__(self, cfg, addr, spiburn, iceman, timeout, gdb_port, gdb_ex, erase=False): argument
23 self.erase = bool(erase)
33 return RunnerCaps(commands={'flash', 'debug'}, erase=True, flash_addr=True)
37 parser.add_argument('--addr', default='0x0',
39 parser.add_argument('--timeout', default=10,
41 parser.add_argument('--telink-tools-path', help='path to Telink flash tools')
42 parser.add_argument('--gdb-port', default='1111', help='Port to connect for gdb-client')
43 parser.add_argument('--gdb-ex', default='', nargs='?',
[all …]
Dsilabs_commander.py3 # Based on J-Link runner
5 # SPDX-License-Identifier: Apache-2.0
21 def __init__(self, cfg, device, dev_id, commander, dt_flash, erase, speed, tool_opt): argument
32 self.erase = erase
46 dev_id=True, flash_addr=True, erase=True,
50 def dev_id_help(cls) -> str:
51 return '''Device identifier. Use it to select the J-Link Serial Number
55 def tool_opt_help(cls) -> str:
56 return "Additional options for Simplicity Commander, e.g. '--noreset'"
61 parser.add_argument('--device', required=True,
[all …]
/Zephyr-latest/dts/bindings/flash_controller/
Drenesas,smartbond-flash-controller.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "renesas,smartbond-flash-controller"
8 include: flash-controller.yaml
11 read-cs-idle-delay:
19 erase-cs-idle-delay:
23 erase, erase suspend and erase resume, the QSPI_CS
/Zephyr-latest/samples/drivers/mspi/mspi_flash/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
29 * erase, since the flash component turns on write protection in single_sector_test()
30 * automatically after completion of write and erase in single_sector_test()
33 printf("\nTest 1: Flash erase\n"); in single_sector_test()
35 /* Full flash erase if SPI_FLASH_TEST_REGION_OFFSET = 0 and in single_sector_test()
41 printf("Flash erase failed! %d\n", rc); in single_sector_test()
43 printf("Flash erase succeeded!\n"); in single_sector_test()
72 (uint32_t)(SPI_FLASH_TEST_REGION_OFFSET + (rp - buf)), in single_sector_test()
92 * erase, since the flash component turns on write protection in multi_sector_test()
93 * automatically after completion of write and erase in multi_sector_test()
[all …]
/Zephyr-latest/dts/bindings/misc/
Dzephyr,flash-disk.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "zephyr,flash-disk"
17 disk-name:
23 sector-size:
29 cache-size:
34 adequately chosen. On storage backends with uniform erase-blocks it
35 should be at least the erase-block-size, on storage backends with
36 non-uniform erase-blocks it should be at least the largest
37 erase-block-size. The cache-size property is ignored if the partition
38 is read-only.
/Zephyr-latest/samples/drivers/spi_flash/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
60 * erase, since the flash component turns on write protection in single_sector_test()
61 * automatically after completion of write and erase in single_sector_test()
64 printf("\nTest 1: Flash erase\n"); in single_sector_test()
66 /* Full flash erase if SPI_FLASH_TEST_REGION_OFFSET = 0 and in single_sector_test()
72 printf("Flash erase failed! %d\n", rc); in single_sector_test()
82 printf("Flash erase failed at offset 0x%x got 0x%x\n", in single_sector_test()
86 printf("Flash erase succeeded!\n"); in single_sector_test()
114 (uint32_t)(SPI_FLASH_TEST_REGION_OFFSET + (rp - buf)), in single_sector_test()
133 * erase, since the flash component turns on write protection in multi_sector_test()
[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/include/zephyr/drivers/
Dflash.h2 * Copyright (c) 2017-2024 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
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.
96 * Not that in some cases availability of erase may be dependent on driver
97 * options, so even if by hardware design a device provides some erase
[all …]
/Zephyr-latest/samples/subsys/nvs/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
6 board_runner_args(dfu-util "--dfuse-modifiers=force:mass-erase")
7 board_runner_args(pyocd "--erase")
8 board_runner_args(nrfjprog "--erase")
/Zephyr-latest/scripts/west_commands/tests/
Dtest_stm32cubeprogrammer.py3 # SPDX-License-Identifier: Apache-2.0
71 "erase": False,
79 "--connect",
81 "--download",
83 "--start",
95 "erase": False,
103 "--connect",
105 "--download",
107 "--start",
120 "erase": False,
[all …]
/Zephyr-latest/boards/openisa/rv32m1_vega/support/
Dopenocd_rv32m1_vega_ri5cy.cfg2 # SPDX-License-Identifier: BSD-3-Clause
20 jtag newtap $_CHIPNAME cpu -irlen 4 -expected-id $_CPUTAPID
23 target create $_TARGETNAME rv32m1 -endian little -chain-position $_TARGETNAME
41 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
42 $_TARGETNAME configure -event gdb-detach {
51 # Erase all blok unsecure
68 # Erase all blok unsecure
85 # Erase all blok unsecure
102 # Erase all blok unsecure
120 # Erase all blok unsecure
[all …]
/Zephyr-latest/samples/drivers/soc_flash_nrf/
Dsample.yaml6 - nrf52dk/nrf52832
7 - nrf9160dk/nrf9160
8 - nrf9160dk/nrf9160/ns
10 - nrf52dk/nrf52832
12 - flash
13 - drivers
20 - "Flash erase succeeded"
21 - "Data read: 1234"
22 - "Data read matches data written. Good!"
23 - "Flash erase succeeded"
[all …]
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/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/tests/boards/altera_max10/qspi/src/
Dqspi_flash.c4 * SPDX-License-Identifier: Apache-2.0
28 TC_PRINT("\nTesting: Flash Sector-%d\n", i); in ZTEST()
31 /* Flash Erase Test */ in ZTEST()
32 TC_PRINT(" Flash Erase Test..."); in ZTEST()
35 TC_PASS, "Flash erase call failed!"); in ZTEST()
39 /* In case of erase all bits will be set to 1 */ in ZTEST()
42 "Flash Erase Test failed!!"); in ZTEST()

12345678910>>...24