Searched refs:flash (Results 1 – 10 of 10) sorted by relevance
| /components/drivers/spi/sfud/src/ |
| A D | sfud.c | 272 if (flash->chip.capacity == 0 || flash->chip.write_mode == 0 || flash->chip.erase_gran == 0 in hardware_init() 285 flash->chip.capacity = flash->sfdp.capacity; in hardware_init() 293 flash->chip.erase_gran = flash->sfdp.eraser[0].size; in hardware_init() 294 flash->chip.erase_gran_cmd = flash->sfdp.eraser[0].cmd; in hardware_init() 296 … if (flash->sfdp.eraser[i].size != 0 && flash->chip.erase_gran > flash->sfdp.eraser[i].size) { in hardware_init() 326 if (flash->chip.capacity == 0 || flash->chip.write_mode == 0 || flash->chip.erase_gran == 0 in hardware_init() 361 …if ((0xC2 == flash->chip.mf_id) && (0x20 == flash->chip.type_id) && (0x16 == flash->chip.capacity_… in hardware_init() 871 flash->chip.mf_id, flash->chip.type_id, flash->chip.capacity_id); 899 result = flash->spi.wr(&flash->spi, &cmd, 1, NULL, 0); 946 result = flash->spi.wr(&flash->spi, &cmd, 1, NULL, 0); [all …]
|
| A D | sfud_sfdp.c | 81 SFUD_ASSERT(flash); in sfud_read_sfdp() 85 if (read_sfdp_header(flash) && read_basic_header(flash, &basic_header)) { in sfud_read_sfdp() 101 sfud_sfdp *sfdp = &flash->sfdp; in read_sfdp_header() 109 SFUD_ASSERT(flash); in read_sfdp_header() 150 SFUD_ASSERT(flash); in read_basic_header() 188 sfud_sfdp *sfdp = &flash->sfdp; in read_basic_table() 194 SFUD_ASSERT(flash); in read_basic_table() 346 SFUD_ASSERT(flash); in read_sfdp_data() 349 SFUD_ASSERT(flash->spi.wr); in read_sfdp_data() 351 return flash->spi.wr(&flash->spi, cmd, sizeof(cmd), read_buf, size); in read_sfdp_data() [all …]
|
| /components/drivers/spi/sfud/inc/ |
| A D | sfud.h | 53 sfud_err sfud_device_init(sfud_flash *flash); 92 sfud_err sfud_qspi_fast_read_enable(sfud_flash *flash, uint8_t data_line_width); 105 sfud_err sfud_read(const sfud_flash *flash, uint32_t addr, size_t size, uint8_t *data); 118 sfud_err sfud_erase(const sfud_flash *flash, uint32_t addr, size_t size); 130 sfud_err sfud_write(const sfud_flash *flash, uint32_t addr, size_t size, const uint8_t *data); 142 sfud_err sfud_erase_write(const sfud_flash *flash, uint32_t addr, size_t size, const uint8_t *data); 151 sfud_err sfud_chip_erase(const sfud_flash *flash); 161 sfud_err sfud_read_status(const sfud_flash *flash, uint8_t *status); 172 sfud_err sfud_write_status(const sfud_flash *flash, bool is_volatile, uint8_t status);
|
| /components/drivers/spi/sfud/ |
| A D | README.md | 84 sfud_err sfud_device_init(sfud_flash *flash) 89 |flash |待初始化的 Flash 设备| 105 | flash | Flash 设备 | 128 |flash |Flash 设备对象| 143 |flash |Flash 设备对象| 150 sfud_err sfud_chip_erase(const sfud_flash *flash) 155 |flash |Flash 设备对象| 165 |flash |Flash 设备对象| 180 |flash |Flash 设备对象| 193 |flash |Flash 设备对象| [all …]
|
| /components/fal/ |
| A D | Kconfig | 4 bool "FAL: flash abstraction layer" 19 on a specified location in flash partition. 24 string "The flash device which saving partition table" 27 It will auto find the partition table on this flash device. 30 int "The patition table end address relative to flash device offset." 34 offset address on flash.
|
| /components/drivers/usb/cherryusb/port/pusb2/ |
| A D | README.md | 44 …- 1. [Using a keyboard/mouse/USB flash drive as a host on FreeRTOS](https://gitee.com/phytium_embe… 45 …- 5. [Recognizing a keyboard/mouse/USB flash drive as a host on RT-Thread](https://github.com/RT-T… 50 …- 1. [Simulating as a USB flash drive on a standalone system](https://gitee.com/phytium_embedded/p… 52 …- 3. [Simulating as a USB flash drive on FreeRTOS](https://gitee.com/phytium_embedded/phytium-free… 54 …- 5. [Simulating as a USB flash drive on RT-Thread](https://github.com/RT-Thread/rt-thread/blob/ma…
|
| /components/drivers/spi/ |
| A D | dev_spi_flash_sfud.c | 255 sfud_err sfud_spi_port_init(sfud_flash *flash) { in sfud_spi_port_init() argument 258 RT_ASSERT(flash); in sfud_spi_port_init() 261 flash->spi.wr = spi_write_read; in sfud_spi_port_init() 263 flash->spi.qspi_read = qspi_read; in sfud_spi_port_init() 265 flash->spi.lock = spi_lock; in sfud_spi_port_init() 266 flash->spi.unlock = spi_unlock; in sfud_spi_port_init() 267 flash->spi.user_data = flash; in sfud_spi_port_init() 272 flash->retry.delay = retry_delay_100us; in sfud_spi_port_init() 274 flash->retry.times = 60 * 10000; in sfud_spi_port_init() 307 extern sfud_err sfud_device_init(sfud_flash *flash); in rt_sfud_flash_probe_ex()
|
| A D | Kconfig | 200 An using JEDEC's SFDP standard serial (SPI) flash universal driver library 204 bool "Using auto probe flash JEDEC SFDP parameter" 208 bool "Using defined supported flash chip information table"
|
| /components/fal/samples/porting/ |
| A D | README.md | 62 /* flash device table */ 124 单片机内部flash中 一次最少写2个字节数据(STM32F105RC) 且只能将地址2字节对齐写入 只写一个字节时 给后面的字节补成FF 327 至此 我们就完成了Flash驱动的移植 实现了读写擦除等操作 上面的思路对于大部分flash驱动来说是通用的
|
| /components/dfs/ |
| A D | Kconfig | 138 … If you use some spi nor flash for fatfs, please set this the erase sector size, for example 4096. 173 bool "Enable ReadOnly file system on flash" 194 bool "Enable ReadOnly compressed file system on flash"
|
Completed in 17 milliseconds