I am trying to use WD in order to cause software reset. The following init sequence is used:
TMR1->TGCR = 0x0B; TMR1->PRD12 = 10000; TMR1->WDTCR = 0xA5C64000; TMR1->WDTCR = 0xDA7E4000; TMR1->WDTCR = 0x12344000; // writing wrong sequence should cause immediate reset In the end of the sequence TGCR gets 0x0A instead of 0x0B and no reset occurred. What am I doing wrong?