Skip to content
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

Fix pre-SDK Cache_Read_Enable for PUYA flash #8658

Merged
merged 6 commits into from
Nov 4, 2022

Commits on Sep 13, 2022

  1. Enable SPI_CS_SETUP for early ICACHE use

    The SPI_CS_SETUP parameter has been observed set by RTOS SDK and NONOS SDK
    as part of flash init/configuration. It may be necessary for some flash
    chips to perform correctly with ICACHE hardware access. Turning on and
    leaving it on should be okay.
    mhightower83 committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    8874ea8 View commit details
    Browse the repository at this point in the history
  2. Cleanup comment

    mhightower83 committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    f19c3db View commit details
    Browse the repository at this point in the history
  3. Change umm_init to default to IRAM

    Some flash chips (PUYA) have some unknown requirements for running with
    early `Cache_Read_Enable`. They work fine after the SDK is started.
    For now, change umm_init to default to IRAM.
    Define UMM_INIT_USE_ICACHE to move to ICACHE and free up IRAM.
    
    Added some experimental code that may indirectly support PUYA.
    
    Note, until this issue is resolved, that HWDT Stack Dump is not
    going to work with PUYA flash.
    mhightower83 committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    f04dedf View commit details
    Browse the repository at this point in the history
  4. typo

    mhightower83 committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    445b899 View commit details
    Browse the repository at this point in the history
  5. Finalize fix for PUYA flash and preSDK use of Cache_Read_Enable.

    This resolves the exception 0 issue with PUYA flash when using
    flash/ICACHE for umm_init and/or using HWDT Stack Dump.
    mhightower83 committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    9f2cd7b View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Configuration menu
    Copy the full SHA
    57e514e View commit details
    Browse the repository at this point in the history