AWRL6844: About SOC_WarmResetWithoutEclipse function

Part Number: AWRL6844

Tool/software:

Hi,

I have one question about SOC_WarmResetWithoutEclipse function.

The following is stated in the SDK documentation.

SOC_WarmResetWithoutEclipse() :- This API will trigger the SW warm reset and device will boot up in non-eclipsed mode. Subsequently, RBL will re-load the application from flash and then execution will start. Reset cause can be read from APPSS_BOOT_INFO_REG0 register.

I am evaluating the use of the warm reset for recovery from low power mode.

As the documentation states that 'RBL will re-load the application from flash,' I assume that invoking this function will return the system to a state equivalent to a power-on reset.

Is this correct?

If it is different, what procedures or considerations are necessary before and after performing a warm reset?

Best regards,

Shige

  • Hi, Shige:

    Thank you for your patient.  One of our expert will get back to you in a day or two.

    Best,

    Zigang

  • Hi Zigang,

    Thank you for your update. I sincerely appreciate your support and will await the response.

    Best regards,
    Shige

  • Hi Shige,

    Thank you for reaching out. Could you please elaborate on what you are trying to achieve here? I am not sure what you mean by "I am evaluating the use of the warm reset for recovery from low power mode."

    To answer the following question:

    As the documentation states that 'RBL will re-load the application from flash,' I assume that invoking this function will return the system to a state equivalent to a power-on reset.

    Yes, this is correct. Please see the High-level Bootloader Flow in the TRM.

    Best,

    Vignesh K.

  • Hi Vignesh,


    Thank you for your response.


    To clarify my intention:
    I would like to stop the radar after a certain period of time during low power mode, and then restart it with a different chirp configuration.


    I am using a modified version of the software based on the sample code from AWRL6844_InCabin_Demos
    (radar_toolbox_3_10_00_05/source/ti/examples/Automotive_InCabin_Security_and_Safety/AWRL6844_InCabin_Demos).


    I incorporated a warm reset at the following location, but after the reset, the radar did not start up correctly. 

    That’s why I asked the question.

    power_management.c

            /*If finite frames are configured, stop the demo after configured frames are trasnmitted */
            if((gMmwMssMCB.mmWaveCfg.frameCfg.numOfFrames != 0) && \
                    (gMmwMssMCB.mmWaveCfg.frameCfg.numOfFrames == gMmwMssMCB.stats.frameStartIntCounter))
            {
                SOC_WarmResetWithoutEclipse();
            }

    Why didn’t the radar behave the same as it does after a power-on reset when performing the warm reset?


    Alternatively, is there any other method to stop and restart the radar during low power mode besides using a warm reset?


    Best regards,
    Shige