常見問題
  • Is there any way to cause a reset by software?
    • There are following two ways to cause a reset by software.
      (1) Reset by BRK instruction
      U8/U16 microcontroller has BRK instruction for CPU reset. Using this BRK instruction enables a reset by software. Note that BRK instruction causes CPU reset only, and peripheral functions such as SFR will not be reset.
      The following shows a description example in C source.

      #pragma asm
      mov psw, #02h
      brk
      #pragma endasm

      (2) Reset by WDT overflow
      CPU and peripheral circuits such as SFR are reset by causing a WDT overflow intentionally (WDTP not cleared). Note that it takes time to cause a WDT overflow.

      Related Products: ML610(Q)40x, ML610(Q)42x, ML610(Q)47x, ML610(Q)48x, ML610Q10x, ML610Q11x, ML610Q17x, ML610Q30x, ML610Q35x, ML610Q36x, ML610Q38x, ML610Q41x, ML610Q43x, ML610Q46x, ML620Q13x, ML620Q15x, ML620Q416/ML620Q418, ML620Q503H/ML620Q504H/ML620Q506H, ML62Q12xx, ML62Q13xx, ML62Q14xx, ML62Q15xx/ML62Q18xx, ML62Q16xx, ML62Q17xx

    • Products: General-purpose MCUs (16bit) , Speech Playback MCUs (8bit)