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.

紧急求助!f169看门狗写错导致程序一直复位而不能下载?



没有仿真器的情况下还有救吗?下载提示同步错误。用的MspFet这个软件。

  • 应该可以的。MspFet支持jtag。你用的什么工具下载的?

    如果能重新下载就能救。

  • BSL下载方式,看门狗写错了。

    下面应该正确,

    WDTCTL = WDT_ADLY_1000 ;       //设置看门狗为1000ms的定时器
      IE1 |= WDTIE;                             //开中断

    但是我写成了

    WDTCTL = WDT_ADLY_1000 + WDTSSEL;       //设置看门狗为1000ms的定时器
      IE1 |= WDTIE;                             //开中断
    然后下载后,程序就一直复位,下载就提示 同步错误。求问还有救吗在没有仿真器的条件下?