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.
HI,
At the moment I am debugging my software download and everything is working fine except the reboot.
What I do is WDTCTL = 0xFF00;
But for some reason the software does not come up.
When I remove the power and turn it back on again it runs fine.
I check the flash written with the Hex file and they are the same.
Any suggestion to perform a complete software reboot? Maybe write to an illegal segment or something?
Hi Jeffrey,
maybe this can help you:
http://processors.wiki.ti.com/index.php/MSP430_FAQ#Is_it_possible_to_generate_software_reset.3F
Likely not. The proposed WDT setting as well as the power management module, are 5x family specific and not available on the 149.Leo Hendrawan said:maybe this can help you:
However, writing 0xff00 (or anything else that doesn't have the proper WDT password) should trigger a password violation reset.
So what do you mean with 'the software doesn't come up'?
One thing to note: a password violation reset won't reset the timer registers. If you have them programmed for interrupts, they will fire as soon as you set GIE - even if your software doesn't expect it at this point (because it configures the timers later).
Dear All,
Thank you for your reply.
The 0xFF does work, there was a hardware failure that caused the cpu not to restart again.
(It took us a while to figure this out)
Best regards,
Jeffrey
**Attention** This is a public forum