This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] AM62x, AM275x: Flash driver fails to open after upgrading to MCU+ SDK 11.02

Part Number: AM625

The new Boots Quirk Function, Flash_quirkSpansionSafebootDetection, introduced in MCU+ SDK 11.02, is specifically designed for Serial NOR Flash devices (S28HS512T and S25HL512T). If you are using custom Flash parts, you must modify or remove this function to ensure compatibility.

  • Introduction of Flash_quirkSpansionSafebootDetection in MCU+ SDK 11.02

    The Flash_quirkSpansionSafebootDetection function is a new feature introduced in MCU+ SDK 11.02, designed to safely recover Flash configurations to their default state. This is achieved by resetting the Configuration Registers and Status Registers to their default values, ensuring a reliable and consistent startup process.

    Supported Devices

    Please note that this function is specifically designed to work with the following Serial NOR Flash parts:

    • S28HS512T
    • S25HL512T

    If you are using custom or different Flash parts, this function will not reset their configurations. In such cases, you must remove this function or modify the function to ensure compatibility with your specific Flash Part configuration.

    The function to be commented out, located in the flash_nor_ospi.c file, is shown below:

  • In specific application scenarios where the ROM requires an 8D-8D-8D configuration to boot the bootloader, and the SBL subsequently boots and configures the flash in the same 8D-8D-8D configuration, it is necessary to comment out the Flash_quirkEarlyFixup() API to ensure compatibility.

    The function to be commented out, located in the flash_nor_ospi.c file, is shown below: