esp-idf/components/spi_flash
Armando 2b52f7f696 mspi: fix no buffer reset before each psram read issue
In psram timing tuning driver, we rely on psram read and write functions
defined in `spi_timing_config.c`. If we don't do buffer reset (clear to
0), the function may untouch the buffer, which will keep last time value
(since we reuse the buffer). Therefore, if the first read is expected,
but next few reads didn't modify the buffer content, we will still see
the expected data.

These functions relies on `esp_rom_opiflash_exec_cmd`.
2021-08-03 16:54:01 +08:00
..
esp32 spi_flash: move the unlock patch to bootloader and add support for GD 2021-07-29 10:46:33 +08:00
esp32c3 ota: fix ota with flash encryption 2021-03-01 14:11:55 +08:00
esp32h2 esp32h2: enable more components to support esp32h2 2021-07-01 19:53:11 +08:00
esp32s2 ota: fix ota with flash encryption 2021-03-01 14:11:55 +08:00
esp32s3 mspi: fix no buffer reset before each psram read issue 2021-08-03 16:54:01 +08:00
include mspi: support up-to-80MHz quad flash & up-to-80MHz octal psram on esp32s3 2021-08-03 16:54:00 +08:00
mock spi_flash: mocking should be possible now 2020-12-14 18:53:14 +08:00
sim spi_flash: move the unlock patch to bootloader and add support for GD 2021-07-29 10:46:33 +08:00
test spi_flash: add test case for esp_flash_erase_region with 0 size 2021-07-23 14:14:57 +02:00
cache_utils.c esp32h2: enable more components to support esp32h2 2021-07-01 19:53:11 +08:00
cache_utils.h esp32c3: Apply one-liner/small changes for ESP32-C3 2020-12-01 10:58:50 +11:00
CMakeLists.txt esp32: cleanup build script 2021-07-16 20:14:27 +08:00
component.mk spiflash: add octal spi psram support on 727 2021-06-25 19:41:57 +08:00
esp_flash_api.c rom, spi_flash: add a patch for esp_flash_erase_region for C3, S3, H2 2021-07-24 13:28:25 +02:00
esp_flash_spi_init.c esp32h2: enable more components to support esp32h2 2021-07-01 19:53:11 +08:00
flash_mmap.c esp32h2: enable more components to support esp32h2 2021-07-01 19:53:11 +08:00
flash_ops.c mspi: support up-to-80MHz quad flash & up-to-80MHz octal psram on esp32s3 2021-08-03 16:54:00 +08:00
Kconfig esp_flash: support override default chip driver list 2021-04-26 16:05:42 +08:00
linker.lf spiflash: add octal spi psram support on 727 2021-06-25 19:41:57 +08:00
memspi_host_driver.c spi: remove HSPI macro on esp32c3 and esp32s3 2021-04-06 13:42:49 +08:00
partition.c partition: Replace strlcpy() with strncpy() 2021-05-20 09:51:29 +10:00
README_legacy.rst doc: update the memory types and startup docs 2021-03-31 09:37:28 +11:00
README.rst spi_flash: update docs after adding CONFIG_SPI_FLASH_AUTO_SUSPEND 2021-02-24 20:20:18 +08:00
sdkconfig.rename spi_flash: Rename long Kconfig options 2019-06-12 08:03:07 +02:00
spi_flash_chip_boya.c spi_flash: add support for 32Mbit address GD flash, for GD25Q256 2021-07-02 17:13:51 +08:00
spi_flash_chip_drivers.c esp_flash: support override default chip driver list 2021-04-26 16:05:42 +08:00
spi_flash_chip_gd.c spi_flash: add support for 32Mbit address GD flash, for GD25Q256 2021-07-02 17:13:51 +08:00
spi_flash_chip_generic.c spi_flash: add support for 32Mbit address GD flash, for GD25Q256 2021-07-02 17:13:51 +08:00
spi_flash_chip_issi.c spi_flash: add support for 32Mbit address GD flash, for GD25Q256 2021-07-02 17:13:51 +08:00
spi_flash_chip_mxic.c spi_flash: add support for 32Mbit address GD flash, for GD25Q256 2021-07-02 17:13:51 +08:00
spi_flash_chip_winbond.c spi_flash: add support for 32Mbit address GD flash, for GD25Q256 2021-07-02 17:13:51 +08:00
spi_flash_os_func_app.c espsystem: add support for RISC-V panic backtrace 2021-07-13 15:42:40 +08:00
spi_flash_os_func_noos.c esp32h2: enable more components to support esp32h2 2021-07-01 19:53:11 +08:00
spi_flash_timing_tuning.c mspi: update 80MHz DTR tuning algorithm and Oct PSRAM 80M DTR tuning parameters 2021-08-03 16:54:00 +08:00

See the spi_flash.rst in the programming guide folder for more details.

The docs above is for the new SPI Flash API above 4.0, for legacy implementation (CONFIG_SPI_FLASH_USE_LEGACY_IMPL enabled), read README_legayc.rst in the same folder with this readme.