In the process of debugging my code, when the program runs "off in the weeds", sometimes I'll get a "Double Bus Fault" error.
I am using Wind River's (USB) Probe for In-Circuit debugging, and when you get a Double Bus Fault, it's rendered useless until you reinitialize it (which trashes any info that might've told me WTF happened).
My CPU is MCF5271. All OS is homegrown.
What I expect is possible is defining a "fenced" area of memory from which the CPU is allowed to execute code, and a special exception vector I could use to catch instances of the PC going outside this range.
Anyone know how to pull this off?