Hi folks,

  After a power failure event that is handled by an interrupt routine,
I'd like to reset MSP.

  I tried:
    asm("dint\nnop\nbr\t_reset_vector__; restart\n");
  But sometimes this seems to fail.

  I could put some code to reset the device or just a "while(1);" to
loop forever and wait watchdog to reset...

  Which is the best way to reset the device? Is my "asm" code above ok?

  Thanks,
   Pedro

Reply via email to