Sign in

username:

password:



Not a member?

Search c28x



Search tips

Subscribe to c28x



Ads

Discussion Groups

Discussion Groups | TMS320C28x | How to do Watchdog reset ?

Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).

  

Post a new Thread

How to do Watchdog reset ? - sanj...@gmail.com - Mar 21 7:41:45 2008



Hi ALL,
I want WDCR and SCSR configuration details for watchdog reset. I have gone through the data
sheet and configure them as per my understanding. In my case watchdog reset (I can monitor low
reset signal at XRS pin using CRO) is happening. Sometime it is re-executing a code and
sometimes it is not !!! And even if it is re-executing a code the WDFLAG bit in WDCR register
is not getting set to indicate watchdog reset. I think something is going wrong with my either
watchdog registers setting or command (cmd) file setting.
Here is my registers setting:

SysCtrlRegs.WDCR = 0x00AF;

i = 0;
// Monitor WDINTS bit to check the current status of WDINT signal
i = SysCtrlRegs.SCSR & 0x0004;

// WDINTS (bit-3) should be high to Re-configure Watchdog Timer in RESET 
while (i != 4)		
	i = SysCtrlRegs.SCSR & 0x0004;
// Re-configure the watchdog to the RESET Mode
EALLOW;
SysCtrlRegs.SCSR = 0x0000;
EDIS;

Please help me guys... I am really fed up...
Thanks in advance..

Regards,
Sanjaykumar T.

------------------------------------

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution
for Commercial & Consumer End Equipment: www.ti.com/dm6467

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )