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.
boot是从DC00开始,中断复位是ffe0
APP是从8000开始,中断复位DBCE
一个片子只有一个复位管脚,如何让boot跳转到APP,直接复位ffe0指定APP的起始位吗?请问有参考例子吗
您可以参考下
您可以在 http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPBoot/latest/index_FDS.html 下载相关的例程
/****************************************************************************** * * @brief Jump to Appplication * A Reset is forced in order to validate Application after Reset * Software BOR is used on devices supporting this feature, * other devices use a PUC by an invalid watchdog write * Check HW_RESET_BOR * * @return None *****************************************************************************/ void TI_MSPBoot_AppMgr_JumpToApp(void) { #if defined (HW_RESET_BOR) // Force a Software BOR PMMCTL0 = PMMPW | PMMSWBOR; #else // Force a PUC reset by writing incorrect Watchdog password WDTCTL = 0xDEAD; #endif }