This is same what same as in my previous ticket Restarting debug session fails on firmware verification
With nRF9160 Ozone solution worked just fine but when trying to debug nRF9161 with Ozone I receive error on Ozone Console and also get an popup telling me that Download failed.
Error on Ozone console.
Failed to verify @ address 0x00FF8108 Download failed: error during verification phase
If I have understood correctly the problem is in the UICR area memory verification. Is there workaround or solution for this. When I try to debugging directly with VS Code I get the same error as on previous ticket.