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.

cc3200 reset 复位问题

Other Parts Discussed in Thread: CC3200

你好:

    请问reset复位引脚拉低,系统复位,这个复位有回调函数吗?我希望在系统复位之前执行一些动作。

  • Hi Weilsng,

    您好!

    复位之前没有回调函数。可以考虑通过其他方式实现。谢谢!

  • 请问一下CC3200的复位函数是什么? CC3200具有FOTA的功能么

  • 在driverlib/prcm.c里面

    //*****************************************************************************
    //
    //! Performs a software reset of a SOC
    //!
    //! This function performs a software reset of a SOC
    //!
    //! \return None.
    //
    //*****************************************************************************
    void PRCMSOCReset()
    {
    //
    // Reset MCU
    //
    HWREG(GPRCM_BASE+ GPRCM_O_MCU_GLOBAL_SOFT_RESET) |= 0x1;

    }

    //*****************************************************************************
    //
    //! Performs a software reset of a MCU and associated peripherals
    //!
    //! \param bIncludeSubsystem is \b true to reset associated peripherals.
    //!
    //! This function performs a software reset of a MCU and associated peripherals.
    //! To reset the associated peripheral, the parameter \e bIncludeSubsystem
    //! should be set to \b true.
    //!
    //! \return None.
    //
    //*****************************************************************************
    void PRCMMCUReset(tBoolean bIncludeSubsystem)
    {
    if(bIncludeSubsystem)
    {
    //
    // Reset Apps processor and associated peripheral
    //
    HWREG(GPRCM_BASE+ GPRCM_O_APPS_SOFT_RESET) = 0x2;
    }
    else
    {
    //
    // Reset Apps processor only
    //
    HWREG(GPRCM_BASE+ GPRCM_O_APPS_SOFT_RESET) = 0x1;
    }
    }

    OTA正在开发中,这个月就会ready.