Hi Peg,
We kind of got out of the question then.
I imagine we have all the space we wish for this loop in SWI then.
Simon, it is important to note that an SWI in the MON08 mode (debug) is generating a break in the software and will stop the execution.
I know it is a bit out of subject now... Still, I prefer using an Illegal Opcode (ILOP) to fill the empty space.
I consider the code runaway as a very important problem and generate a reset as I am not confident the rest of the flow is valid anymore.
The ILOP comes from a single byte instruction and is handled after reset.
Alberto
