AM2634: AM2634 warm reset function

Part Number: AM2634

Tool/software:

I want to use both the C3 pin's Warmrstn function and the SOC_generateSwWarmReset() from the SDK for a warm reset on the AM2634.

Currently, the warm reset configuration is as follows:

reset_config =
CSL_TOP_RCM_WARM_RESET_CONFIG_DEBUGSS_RST_EN_MASK |
CSL_TOP_RCM_WARM_RESET_CONFIG_WDOG0_RST_EN_MASK |
CSL_TOP_RCM_WARM_RESET_CONFIG_WDOG1_RST_EN_MASK |
CSL_TOP_RCM_WARM_RESET_CONFIG_WDOG2_RST_EN_MASK |
CSL_TOP_RCM_WARM_RESET_CONFIG_WDOG3_RST_EN_MASK |
CSL_TOP_RCM_WARM_RESET_CONFIG_PAD_BYPASS_MASK;

SOC_configureWarmResetSource(reset_config);

When CSL_TOP_RCM_WARM_RESET_CONFIG_PAD_BYPASS_MASK is enabled, SOC_generateSwWarmReset() works, but warm reset through the C3 pin is not possible.

When CSL_TOP_RCM_WARM_RESET_CONFIG_PAD_BYPASS_MASK is disabled, warm reset through C3 works, but calling SOC_generateSwWarmReset() causes the MCU to freeze.

  • Hello,

    When CSL_TOP_RCM_WARM_RESET_CONFIG_PAD_BYPASS_MASK is enabled, SOC_generateSwWarmReset() works, but warm reset through the C3 pin is not possible.

    This is expected.

    When CSL_TOP_RCM_WARM_RESET_CONFIG_PAD_BYPASS_MASK is disabled, warm reset through C3 works, but calling SOC_generateSwWarmReset() causes the MCU to freeze.

    Could you please elaborate on what you mean by MCU freezes?

    And also, are you using the latest AM263 MCU PLUS SDK? I was unable to observe it when using the latest SDK.

    Thanks,

    Sahana

  • I am using SDK version 9.2.0.56.

    When calling SOC_generateSwWarmReset() or controlling the C3 pin, if the warm reset completes successfully, the following message is printed on the UART debug log.

    However, when the MCU freezes, this message does not appear, and the MCU becomes unresponsive.

    I am using FreeRTOS, I confirmed the freeze by observing that the LED stops blinking.

    [HSM_CLIENT] New Client Registered with Client Id = 0
    Starting QSPI Bootloader ...
    [BOOTLOADER_PROFILE] Boot Media : NOR SPI FLASH
    [BOOTLOADER_PROFILE] Boot Media Clock : 80.000 MHz
    [BOOTLOADER_PROFILE] Boot Image Size : 0 KB
    [BOOTLOADER_PROFILE] Cores present :
    r5f0-0
    [BOOTLOADER PROFILE] System_init : 64us
    [BOOTLOADER PROFILE] Drivers_open : 32us
    [BOOTLOADER PROFILE] LoadHsmRtFw : 14242us
    [BOOTLOADER PROFILE] Board_driversOpen : 2843us
    [BOOTLOADER PROFILE] CPU load : 41us
    [BOOTLOADER_PROFILE] SBL Total Time Taken : 17225us

    Image loading done, switching to application ...

  • Can you try using the latest SDK version and check if the issue persists?

    Also, it would be helpful to see where the system hangs after SW WARM Reset and have a dump of TOP_RCM registers after the freeze to see what exactly is happening.

    Thanks,

    Sahana