Home
last modified time | relevance | path

Searched full:flash (Results 1 – 25 of 2780) sorted by relevance

12345678910>>...112

/Zephyr-latest/drivers/flash/
DKconfig1 # Flash driver configuration options
7 # Flash driver
12 This option is enabled when any flash driver is enabled.
17 This option is selected by drivers that support flash extended
28 All pure Flash devices are evolution of EEPROM where erase has
73 This option is enabled when the SoC flash driver supports
74 retrieving the layout of flash memory pages.
79 Selected by drivers that support JESD216-compatible flash
82 menuconfig FLASH config
83 bool "Flash drivers"
[all …]
DKconfig.stm321 # ST Microelectronics STM32 MCUs Flash driver config
10 bool "NOR Flash in MemoryMapped for XiP"
16 This option enables the XIP mode for the external NOR flash
20 bool "STM32 flash driver"
30 Enable flash driver for STM32 series
35 bool "Extended operation for flash write protection control"
40 Enables flash extended operation for enabling/disabling flash write
44 bool "Prevent from disabling flash write protection"
48 If enabled, all requests to disable flash write protection will be
52 bool "Extended operation for flash readout protection control"
[all …]
DKconfig.nrf8 of the flash driver.
11 bool "Nordic Semiconductor nRF flash driver"
24 Enables Nordic Semiconductor nRF flash driver.
29 prompt "Nordic nRFx flash driver synchronization"
33 synchronization between flash memory driver and radio.
36 bool "Nordic nRFx flash driver synchronized with radio"
39 Enable synchronization between flash memory driver and radio using
45 disable synchronization between flash memory driver and radio.
49 bool "Nordic nRFx flash driver partial erase"
55 This allows interrupting flash erase between operations
[all …]
Dflash_mspi_atxp032.c27 #include <zephyr/drivers/flash.h>
110 static int flash_mspi_atxp032_command_write(const struct device *flash, uint8_t cmd, uint32_t addr, in flash_mspi_atxp032_command_write() argument
114 const struct flash_mspi_atxp032_config *cfg = flash->config; in flash_mspi_atxp032_command_write()
115 struct flash_mspi_atxp032_data *data = flash->data; in flash_mspi_atxp032_command_write()
142 static int flash_mspi_atxp032_command_read(const struct device *flash, uint8_t cmd, uint32_t addr, in flash_mspi_atxp032_command_read() argument
146 const struct flash_mspi_atxp032_config *cfg = flash->config; in flash_mspi_atxp032_command_read()
147 struct flash_mspi_atxp032_data *data = flash->data; in flash_mspi_atxp032_command_read()
174 static void acquire(const struct device *flash) in acquire() argument
176 const struct flash_mspi_atxp032_config *cfg = flash->config; in acquire()
177 struct flash_mspi_atxp032_data *data = flash->data; in acquire()
[all …]
/Zephyr-latest/soc/microchip/mec/
DKconfig13 On Microchip MEC series chip, the ROM code loads firmware image from flash
30 prompt "Clock rate to use for SPI flash"
34 firmware binary from flash to RAM.
37 bool "SPI flash clock rate of 12 MHz"
40 bool "SPI flash clock rate of 16 MHz"
43 bool "SPI flash clock rate of 24 MHz"
46 bool "SPI flash clock rate of 48 MHz"
58 prompt "Reading mode used by the SPI flash"
61 This sets the reading mode that can be used by the SPI flash.
65 bool "SPI flash operates full-duplex with frequency (< 25 MHz)"
[all …]
/Zephyr-latest/soc/nuvoton/npcx/
DKconfig11 On NPCX series chip, the NPCX ROM code loads firmware image from flash
44 prompt "Clock rate to use for SPI flash"
48 binary from flash to RAM.
51 bool "SPI flash max clock rate of 20 MHz"
54 bool "SPI flash max clock rate of 25 MHz"
57 bool "SPI flash max clock rate of 33 MHz"
61 bool "SPI flash max clock rate of 40 MHz"
64 bool "SPI flash max clock rate of 50 MHz"
76 prompt "Reading mode used by the SPI flash"
79 This sets the reading mode that can be used by the SPI flash.
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dblob_flash.rst3 BLOB Flash
6 The BLOB Flash Readers and Writers implement BLOB reading to and writing from flash partitions
7 defined in the :ref:`flash map <flash_map_api>`.
10 BLOB Flash Reader
13 The BLOB Flash Reader interacts with the BLOB Transfer Client to read BLOB data directly from flash.
15 BLOB Transfer Client. Each BLOB Flash Reader only supports one transfer at the time.
18 BLOB Flash Writer
21 The BLOB Flash Writer interacts with the BLOB Transfer Server to write BLOB data directly to flash.
23 BLOB Transfer Server. Each BLOB Flash Writer only supports one transfer at the time, and requires a
24 block size that is a multiple of the flash page size. If a transfer is started with a block size
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dblob_io_flash.c9 #include <zephyr/drivers/flash.h>
44 struct bt_mesh_blob_io_flash *flash = FLASH_IO(io); in io_open() local
46 flash->mode = mode; in io_open()
48 return flash_area_open(flash->area_id, &flash->area); in io_open()
54 struct bt_mesh_blob_io_flash *flash = FLASH_IO(io); in io_close() local
56 flash_area_close(flash->area); in io_close()
63 struct bt_mesh_blob_io_flash *flash = FLASH_IO(io); in block_start() local
66 if (flash->mode == BT_MESH_BLOB_READ) { in block_start()
75 flash_dev = flash_area_get_device(flash->area); in block_start()
81 flash->offset + block->offset, &page); in block_start()
[all …]
/Zephyr-latest/samples/drivers/soc_flash_nand/
Dsample.yaml5 sample.drivers.flash.soc_flash_nand:
11 - flash
19 - "Nand flash driver test sample"
20 - "Nand flash driver block size 20000"
22 - "Nand flash driver data erase successful...."
23 - "Nand flash driver write completed...."
24 - "Nand flash driver read completed...."
25 - "Nand flash driver read verified"
26 - "Nand flash driver data erase successful...."
27 - "Nand flash driver read verified after erase...."
[all …]
/Zephyr-latest/dts/bindings/mtd/
Dst,stm32-nv-flash.yaml2 STM32 flash memory. This binding is for the flash memory itself, not
3 the flash controller peripheral. For that, see the
4 "st,stm32-flash-controller" binding.
6 include: soc-nv-flash.yaml
8 compatible: st,stm32-nv-flash
13 description: max erase time(millisecond) of a flash sector or page or half-page
15 bank2-flash-size:
18 Embedded flash memory bank 2 size in KBytes.
19 Used by CM4 CPU because it cannot access flash controller register to read size.
20 Provides a way to configure this size when the flash controller driver runs on CM4 CPU.
Datmel,sam-flash.yaml5 This binding describes the Atmel SAM flash area layout.
7 The Atmel SAM flash area varies in write-block-size, memory area,
10 E.g. the flash area layout of the ATSAM4E16C:
23 The ATSAM4E16C has a flash area which is 1000Kbytes
26 (8 blocks of 2048 bytes), the remaining flash area is erasable
29 This flash area layout would described as:
33 eefc: flash-controller@400e0a00 {
34 compatible = "atmel,sam-flash-controller";
43 flash0: flash@400000 {
44 compatible = "atmel,sam-flash", "soc-nv-flash";
[all …]
/Zephyr-latest/subsys/storage/flash_map/
DKconfig1 # Flash map abstraction module
7 # Flash map
11 bool "Flash map abstraction module"
14 Enable support of flash map abstraction.
19 bool "Flash map shell interface"
23 This enables shell commands to list and test flash maps.
26 bool "Custom flash map description"
28 This option enables custom flash map description.
33 bool "Flash check functions"
35 If enabled, there will be available the backend to check flash
[all …]
/Zephyr-latest/boards/nxp/mr_canhubk3/support/
Dstartup.cmm8 ; valid values: flash, debug *
10 ; - loadTo if "flash", the application will be downloaded to SoC *
11 ; program flash by a flash programming routine; if "sram" it *
13 ; valid values: flash, sram *
14 ; default: flash *
15 ; - eraseFlash if set to "yes", the whole content in Flash device will be *
16 ; erased before the application is downloaded to either Flash *
19 ; - verifyFlash if set to "yes", verify after program application to Flash *
27 &loadTo=STRing.SCANAndExtract("&args","loadTo=","flash")
56 ; Only declares flash, does not execute flash programming
[all …]
/Zephyr-latest/tests/drivers/flash/stm32/
Dtestcase.yaml4 - flash
6 drivers.flash.stm32.f4:
13 filter: dt_compat_enabled("st,stm32f4-flash-controller") and
15 drivers.flash.stm32.f4.block_registers:
21 filter: dt_compat_enabled("st,stm32f4-flash-controller") and
23 drivers.flash.stm32.l4:
29 filter: dt_compat_enabled("st,stm32l4-flash-controller") and
31 drivers.flash.stm32.g4:
36 filter: dt_compat_enabled("st,stm32g4-flash-controller") and
38 drivers.flash.stm32.f7:
[all …]
/Zephyr-latest/boards/nxp/ucans32k1sic/support/
Dstartup.cmm9 ; valid values: flash, debug *
11 ; - loadTo if "flash", the application will be downloaded to SoC *
12 ; program flash by a flash programming routine; if "sram" it *
14 ; valid values: flash, sram *
15 ; default: flash *
16 ; - eraseFlash if set to "yes", the whole content in Flash device will be *
17 ; erased before the application is downloaded to either Flash *
20 ; - verifyFlash if set to "yes", verify after program application to Flash *
28 &loadTo=STRing.SCANAndExtract("&args","loadTo=","flash")
54 ; Only declares flash, does not execute flash programming
[all …]
/Zephyr-latest/tests/boards/altera_max10/qspi/src/
Dqspi_flash.c8 #include <zephyr/drivers/flash.h>
25 zassert_true(!device_is_ready(flash_dev), TC_PASS, "Flash device is not ready!"); in ZTEST()
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()
38 TC_PASS, "Flash read call failed!"); in ZTEST()
42 "Flash Erase Test failed!!"); in ZTEST()
46 /* Flash Write & Read Test */ in ZTEST()
47 TC_PRINT(" Flash Write & Read Test..."); in ZTEST()
[all …]
/Zephyr-latest/samples/drivers/mspi/mspi_flash/
DREADME.rst1 .. zephyr:code-sample:: mspi-flash
2 :name: JEDEC MSPI-NOR flash
5 Use the flash API to interact with a MSPI NOR serial flash memory device.
10 This sample demonstrates using the :ref:`flash API <flash_api>` on a MSPI NOR serial flash
12 allows confirmation that the flash is working and that automatic power
26 :goals: build flash
36 JEDEC MSPI-NOR flash testing
39 Test 1: Flash erase
40 Flash erase succeeded!
42 Test 2: Flash write
/Zephyr-latest/include/zephyr/dfu/
Dflash_img.h10 * @brief Flash image header file
12 * This header file declares prototypes for the flash image APIs used for DFU.
21 * @brief Abstraction layer to write firmware images to flash
23 * @defgroup flash_img_api Flash image API
39 * @brief Structure for verify flash region integrity
42 * to verify flash integrity. The current available algorithm is SHA-256.
50 * @brief Initialize context needed for writing the image to the flash.
53 * @param area_id flash area id of partition where the image should be written
60 * @brief Initialize context needed for writing the image to the flash.
69 * @brief Read number of bytes of the image written to the flash.
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dblob_io_flash.h17 * @defgroup bt_mesh_blob_io_flash Bluetooth Mesh BLOB flash stream
22 /** BLOB flash stream. */
24 /** Flash area ID to write the BLOB to. */
28 /** Offset into the flash area to place the BLOB at (in bytes). */
32 /* Internal flash area pointer. */
38 /** @brief Initialize a flash stream.
40 * @param flash Flash stream.
41 * @param area_id Flash partition identifier. See @ref flash_area_open.
42 * @param offset Offset into the flash area, in bytes.
46 int bt_mesh_blob_io_flash_init(struct bt_mesh_blob_io_flash *flash,
/Zephyr-latest/include/zephyr/storage/
Dflash_map.h11 * @brief Public API for flash map
18 * @brief Abstraction over flash partitions/areas and their drivers
20 * @defgroup flash_area_api flash area Interface
28 * This API makes it possible to operate on flash areas easily and
31 * The system contains global data about flash areas. Every area
49 * @brief Flash partition
51 * This structure represents a fixed-size partition on a flash device.
52 * Each partition contains one or more flash sectors.
58 /** Start offset from the beginning of the flash device */
62 /** Backing flash device */
[all …]
/Zephyr-latest/samples/drivers/spi_flash_at45/
Dsample.yaml2 name: SPI Flash AT45 Sample
4 sample.drivers.spi.flash.at45.build:
7 - flash
11 sample.drivers.spi.flash.at45.build.page_layout:
15 - flash
19 sample.drivers.spi.flash.at45.build.pm:
23 - flash
27 sample.drivers.spi.flash.at45.build.page_layout_pm:
31 - flash
35 sample.drivers.spi.flash.at45:
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/replay_cache/
Dreplay_attack.sh10 rpc_rx_immediate_replay_attack -flash=../results/mesh_replay_attack/flash.bin -flash_erase
15 rpc_rx_power_replay_attack -flash=../results/mesh_replay_attack/flash.bin -flash_rm
20 rpc_rx_immediate_replay_attack -flash=../results/mesh_replay_attack_psa/flash.bin -flash_erase
25 rpc_rx_power_replay_attack -flash=../results/mesh_replay_attack_psa/flash.bin -flash_rm
/Zephyr-latest/tests/drivers/flash/common/
Dtestcase.yaml4 - flash
6 drivers.flash.common.nrf_qspi_nor:
11 drivers.flash.common.nrf_qspi_nor.size_in_bytes:
20 drivers.flash.common.nrf_qspi_nor_4B_addr:
31 drivers.flash.common.soc_flash_nrf:
36 drivers.flash.common.default:
43 drivers.flash.common.no_explicit_erase:
49 drivers.flash.common.tfm_ns:
55 drivers.flash.common.mx25r_high_perf:
64 drivers.flash.common.mr_canhubk3_sfdp_runtime:
[all …]
/Zephyr-latest/samples/drivers/flash_shell/
DREADME.rst1 .. zephyr:code-sample:: flash-shell
2 :name: Flash shell
5 Explore a flash device using shell commands.
10 This is a simple shell module that allows arbitrary boards with flash
11 driver support to explore the flash device.
30 uart:~$ flash page_info 0
35 uart:~$ flash erase 0x1000
37 uart:~$ flash write 0x1000 0x12345678 0x9abcdef0
40 uart:~$ flash write 0x1000 0x11111111
42 uart:~$ flash read 0x1000 0x10
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/proxy_sol/
Dsol_replay.sh27 -flash=../results/mesh_srpl_replay_attack/flash.bin -flash_erase
33 -flash=../results/mesh_srpl_replay_attack/flash.bin -flash_rm
39 -flash=../results/mesh_srpl_replay_attack/flash.bin -flash_erase
45 -flash=../results/mesh_srpl_replay_attack/flash.bin -flash_rm
51 -flash=../results/mesh_srpl_replay_attack_psa/flash.bin -flash_erase
57 -flash=../results/mesh_srpl_replay_attack_psa/flash.bin -flash_rm

12345678910>>...112