esp-idf/components/soc
Michael (XIAO Xufeng) 571864e8ae esp_flash: fix set qe bit and write command issues
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.
2019-10-14 17:25:58 +08:00
..
esp32 esp_flash: fix set qe bit and write command issues 2019-10-14 17:25:58 +08:00
include esp_flash: fix set qe bit and write command issues 2019-10-14 17:25:58 +08:00
src esp_flash: fix set qe bit and write command issues 2019-10-14 17:25:58 +08:00
test components: use new component registration api 2019-06-21 19:53:29 +08:00
CMakeLists.txt cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
component.mk make: fix build failure on macos with GNU make <= 3.81 2019-05-16 14:09:43 +02:00
linker.lf ethernet: can build without enable esp32 emac 2019-07-22 21:07:02 +08:00