SPRADS5 December   2025 AM625 , AM62A7 , AM62D-Q1 , AM62P , AM6442

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Terminology
  6. 3Understanding Boot Mode and Flash Compatibility
  7. 4Flash Integration and SysConfig Setup
    1. 4.1 FLASH Parameters
      1. 4.1.1 Recommended Approach
    2. 4.2 OSPI Parameters
  8. 5Common Bring-up Issues and Debugging
    1. 5.1 Boot Failure
    2. 5.2 Known Errata
    3. 5.3 Flash Initialization Failure
      1. 5.3.1 FLASH and OSPI SysConfig Values
      2. 5.3.2 Flash Device and Manufacture ID Read Failure
      3. 5.3.3 PHY Failure
    4. 5.4 Flash Read Failure
    5. 5.5 Flash Program Failure
  9. 6Checklist for Requesting OSPI and FLASH Support
  10. 7Summary
  11. 8References

Recommended Approach

The MCU+ SDK provides default examples that can be found at the following path: MCU_PLUS_SDK_INSTALL_PATH/examples/drivers/ospi. One such example is OSPI Flash IO. More details about this example can be found here.

Running this example successfully makes sure that all basic flash operations – erase, write and read - are functioning correctly. This also confirms that the protocol configuration between the controller and the flash device is set up properly and that the flash parameters configured in SysConfig are working as expected.

Once a particular combination of flash parameters and protocol has been verified using the OSPI Flash IO example, these validated settings can then be reused in other applications such as UART Uniflash, bootloaders (like SBL OSPI), and similar projects.

In summary, the OSPI Flash IO example serves as a reliable reference point for testing and configuring flash parameters, which can then be applied across multiple applications.