-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve QSPIFBlockDevice conformance to SFDP #11531
Commits on Nov 12, 2019
-
Update reading/writing of status registers to conform to SFDP standard
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for e2b1ac0 - Browse repository at this point
Copy the full SHA e2b1ac0View commit details -
Matthew Macovsky authored and Kyle Kearney committed
Nov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for cd78bf9 - Browse repository at this point
Copy the full SHA cd78bf9View commit details -
Update flash device reset to conform to SFDP standard
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 4785e83 - Browse repository at this point
Copy the full SHA 4785e83View commit details -
Enable 4-byte addressing when supported in accordance with the SFDP s…
…tandard
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for cf9b6d5 - Browse repository at this point
Copy the full SHA cf9b6d5View commit details -
Clear block protection on non-SST flash devices
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 08a0b3d - Browse repository at this point
Copy the full SHA 08a0b3dView commit details -
Move configuration of QSPI format to within commands where it is nece…
…ssary
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for ba41273 - Browse repository at this point
Copy the full SHA ba41273View commit details -
Update SDFP erase detection to properly handle legacy erase instruction
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 8fd1a50 - Browse repository at this point
Copy the full SHA 8fd1a50View commit details -
Replace power function with bit shift
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 4f01392 - Browse repository at this point
Copy the full SHA 4f01392View commit details -
Streamline setting of instruction member variables
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for d330dee - Browse repository at this point
Copy the full SHA d330deeView commit details -
Add missing debug prints to command functions
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 91141bb - Browse repository at this point
Copy the full SHA 91141bbView commit details -
Matthew Macovsky authored and Kyle Kearney committed
Nov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 19330da - Browse repository at this point
Copy the full SHA 19330daView commit details -
Update QSPI format after enabling 4-byte addressing
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 2154948 - Browse repository at this point
Copy the full SHA 2154948View commit details -
Enable some of the kvstore tests for PSoC 6 MCUs
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for a1c7403 - Browse repository at this point
Copy the full SHA a1c7403View commit details -
Remove redundant QSPI erase alignment
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 619c5d9 - Browse repository at this point
Copy the full SHA 619c5d9View commit details -
Generalize KVStore phase 1/2 test BlockDevice sizes
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 92829bd - Browse repository at this point
Copy the full SHA 92829bdView commit details -
Enable TDBStore whitebox test on PSoC 6
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 78569aa - Browse repository at this point
Copy the full SHA 78569aaView commit details -
Update QSPI test to reflect fixes in QSPIFBlockDevice
Matthew Macovsky authored and Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 106fd5b - Browse repository at this point
Copy the full SHA 106fd5bView commit details -
Kyle Kearney committed
Nov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 60e4d14 - Browse repository at this point
Copy the full SHA 60e4d14View commit details -
Remove hard-coded instruction ids from QSPI Tests
Replace with macros from the test flash_config header, consistent with how most commands are built in this test.
Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for cc4d428 - Browse repository at this point
Copy the full SHA cc4d428View commit details -
QSPIF: Add back enable_fast_mode
This function writes a "config" register to ensure that the flash part is in high performance mode, not low-power mode. This is required at by at least MX25R6435F in order to operate at frequencies > 33MHz (for reference, DISCO_L475VG_IOT01A runs the QSPI interface at 80 MHz). The config register that this writes does not appear to be covered by the SFDP spec (JESD216D.01) so this remains the status quo of unconditional execution, as has been done on master since ARMmbed#8352.
Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for d2ef568 - Browse repository at this point
Copy the full SHA d2ef568View commit details -
Don't clear quad enable when clearing block protection
QSPIFBlockDevice::_clear_block_protection() has logic to retain the WIP and WEL bits in status register 1, but it failed to account for the situation where the QE bit is also in status register 1. In _sfdp_set_quad_enabled, note the status register and bit therein for the quad enable, so that _clear_block_protection can retain it.
Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 26314d9 - Browse repository at this point
Copy the full SHA 26314d9View commit details -
QSPIF: Centralize handling of vendor quirks
Introduce a separate function for handling alterations to device interaction which are not covered by the SFDP tables and therefore require checking against the vendor id.
Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for eb5494e - Browse repository at this point
Copy the full SHA eb5494eView commit details -
QSPIF: Handle parts with extra config registers
Default to 2 status registers, but update this value if necessary during vendor quirk handling for parts (currently only Macronix) which have one status register and two control registers. For the purposes of QSPIFBlockDevice, these are all considered status (or at least "status-like") registers because they are all written via the Write Status Register instruction. Set the custom RDCR instruction for Macronix during quirk handling. Update reading and writing of status registers to handle a variable number of status registers.
Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 02dbf68 - Browse repository at this point
Copy the full SHA 02dbf68View commit details -
QSPIF: Handle fast mode enable via vendor quirks
Use a vendor id check to only perform this enable on devices which define the second configuration register where the fast mode enable bit lives. Change _enable_fast_mode to use the standard status register reading and writing functions
Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 2526b9f - Browse repository at this point
Copy the full SHA 2526b9fView commit details -
Disable attempted 4-byte addressing for some boards
4-byte addressing has been seen to cause failures on NORDIC boards and with Macronix memories. Suppress the attempt to enable it on that hardware (via vendor quirks and a target check) until either the failure cause can be fixed or a more robust suppression mechanism is implemented.
Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 96cfc73 - Browse repository at this point
Copy the full SHA 96cfc73View commit details -
General Block Device Test: Expand Thread Stack
The addition of trace logging during greentea tests pushes the multithreaded read-write test beyond the limits of the stack it allocates for its threads. The increase of 128 bytes was chosen by experimentation.
Kyle Kearney committedNov 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 0103e3a - Browse repository at this point
Copy the full SHA 0103e3aView commit details