I see. So you'd like to jump to some specific program address in the PIC where the PC was at the very moment the WDT triggered. Now since the WDT puts you back at PC=0 (the MCLR or POR vector), and I don't think there is any way to know what the PC address was at the time of the WDT, well, seems hard... How do you *know* the "last known place" ? And is that a "place" in the C-source ? Jan-Erik. Omer Yalhi wrote: > No, but I was planning to have 3 or 4 dummy variables with > specific values. After wdt restart I would check those, > and if they are correct I would assume the others are correct > and jump to last known place. This is all theory though, I > have not yet been able to test it, because I wouldn't know how > to jump from a function to a line of another function. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body