thanks for that, I'll check.
I've done some more detailed testing. The fall over point is when the for loop is set
for(i = 0; i < 0x1fa; i++)
If set at 0x1f9...it's ok...0x1fa it falls over.
I recon you're probably right on the COP. I'll check it out.
Steve