This is an infield situation, where the COP cannot, and in general, should not be disabled.
But when erasing and reflashing it is important that nothing interrupts or aborts the reflash procedure.
One way is to keep the COP quiet during this procedure, which is fine,
if the COP can be served often enough.
Another, perhaps less desirable way may be to disable the COP, if it was possible.
I initially tried this with some success, when running the debugger.
Then after normal, debugger-less power up, it no longer worked, for now confirmed reasons, thx.
I am now serving the COP during flash erase and program and it works fine.
I believe it as important (even more so) to know why things work, as why they don't work.
That's why I asked for comments on the COP issue.
Thanks for your help,
Anders J