Reset in sim
2007-06-19 by Dave VanHorn
My M128 app is ending up back at the reset vector in sim, after running for several seconds. The interesting thing is that I'm not getting any flag bits to say WHY I got reset, I just end up there... SP is cleared, everything looks like I just had a powerup reset again, but that flag isn't set, and of course I wouldn't actually GET one of those in sim. According to my breadcrumbs, the T0 overflow ISR is always in progress when this happens, but inspection isn't showing any problems there. Basically it's a 1mS int that I use to dec some system timers to zero.