I am attempting to programmatically access the nRF5340 network core using pynrfjprog on Windows, but am continuously hitting:
`pynrfjprog.APIError.APIError: An error was reported by NRFJPROG DLL: -90 NOT_AVAILABLE_BECAUSE_PROTECTION`
As far as I can tell I have followed the correct procedure for erasing both cores, and the standalone `nrfjprog` tool is able to read memory from the network core with no errors.
Furthermore, my code can access the network core fine under MacOS.
Below is my test program:
```
```
The above works when accessing `CoProcessor.CP_APPLICATION`, but fails when accessing `CoProcessor.CP_NETWORK` with:
```
Traceback (most recent call last):
File "C:\Users\Jordan\code\scripts\test.py", line 33, in <module>
test()
File "C:\Users\Jordan\code\scripts\test.py", line 29, in test
info = p.get_device_info()
File "C:\Python38\lib\site-packages\pynrfjprog\HighLevel.py", line 272, in get_device_info
raise APIError(result, log=self._logger.error)
pynrfjprog.APIError.APIError: An error was reported by NRFJPROG DLL: -90 NOT_AVAILABLE_BECAUSE_PROTECTION.
```
Software versions are:
python: 3.8.0
pynrfjprog: 10.6.0
JLink: 7.50a