EmbeddedRelated.com
Forums

reset interrupt vector

Started by quaratie June 9, 2003
Could someone tell me if it is possible to reset the processor, i.e.
call the reset interrupt vector from my program.

I do not want to use the watchdog timer just yet.

Thanks in advance


Beginning Microcontrollers with the MSP430

You can call the interrupt vector, but it won't force a system reset,
ie
it will not return registers to their default states.

Al

quaratie wrote:
> 
> Could someone tell me if it is possible to reset the processor, i.e.
> call the reset interrupt vector from my program.
> 
> I do not want to use the watchdog timer just yet.
> 
> Thanks in advance
> 
> 
> .
> 
> 
> 
> ">http://docs.yahoo.com/info/terms/

Writing an illegal value to the Watch Dog Timer register will cause a 
reset. Here is it in assembly.

    mov.w #01215h,&WDTCTL     ; force reset with bad write (should be 
5a) to wdt  

--- In msp430@msp4..., "quaratie" <quaratie@y...> wrote:
> Could someone tell me if it is possible to reset
the processor, i.e.
> call the reset interrupt vector from my program.
> 
> I do not want to use the watchdog timer just yet.
> 
> Thanks in advance