On 2011-06-01, at 11:55 AM, Wouter van Ooijen wrote: >> That is what I assumed from what had been said. >> At startup it would be easy [tm] to fill the stack with return >> addresses that all went to the same place. >=20 > That is possible, am curious how many piclisters can figure out how to=20 > do that. It's not the filling it so much, although that is a 'fun' easy [tm] part, b= ut then being able to detect the erroneous execution rather than the fillin= g.=20 >> A timer can haul the system >> back into control and note can be made of how many locations returned Which is how I have done it on bigger systems with tasks, multiple stacks e= tc as part of a full diagnostics and in one system, recovery whilst still p= reserving minimal operation during recovery (which was coded and tested but= never actual got used in service).=20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .