mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
2b7681ec4f
There used to be dummy phase before out phase in common command transactions. This corrupts the data. The code before never actually operate (clear) the QE bit, once it finds the QE bit is set. It's hard to check whether the QE set/disable functions work well. This commit: 1. Cancel the dummy phase 2. Set and clear the QE bit according to chip settings, allowing tests for QE bits. However for some chips (Winbond for example), it's not forced to clear the QE bit if not able to. 3. Also refactor to allow chip_generic and other chips to share the same code to read and write qe bit; let common command and read command share configure_host_io_mode. 4. Rename read mode to io mode since maybe we will write data with quad mode one day. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
component.mk | ||
test_cache_disabled.c | ||
test_esp_flash.c | ||
test_flash_encryption.c | ||
test_large_flash_writes.c | ||
test_mmap.c | ||
test_out_of_bounds_write.c | ||
test_partition_ext.c | ||
test_partitions.c | ||
test_read_write.c | ||
test_spi_flash.c |