Error uploading code to network core nrf5340dk

Hello
We have nrf5340 min development kits. I am trying to compile the periphal_Ibs example in SDK 2.5.2 and throw it into application and network cores. While I can upload the code to the card with version 0.11.0 of the PCA10095 models we have, I get an error when uploading the code to the card with version 0.8.0. I get the error while installing to network core. 

Error: 


* Executing task: nRF Connect: Build: peripheral_lbs_3/build (active)

Building peripheral_lbs_3
C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/nordic/myApps/peripheral_lbs_3/build c:/nordic/myApps/peripheral_lbs_3"

[0/4] Performing build step for 'hci_rpmsg_subimage'
ninja: no work to do.
* Terminal will be reused by tasks, press any key to close it.

* Executing task: nRF Connect: Flash: peripheral_lbs_3/build (active)

Flashing build to 960178516
C:\WINDOWS\system32\cmd.exe /d /s /c "west flash -d c:\nordic\myApps\peripheral_lbs_3\build --skip-rebuild --dev-id 960178516"

-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: c:\nordic\myApps\peripheral_lbs_3\build\zephyr\merged_domains.hex
-- runners.nrfjprog: c:\nordic\myApps\peripheral_lbs_3\build\zephyr\merged_domains.hex targets both nRF53 coprocessors; splitting it into: c:\nordic\myApps\peripheral_lbs_3\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex and c:\nordic\myApps\peripheral_lbs_3\build\zephyr\GENERATED_CP_APPLICATION_merged_domains.hex
[ #################### ] 10.076s | Erase file - Done erasing
[ #################### ] 1.257s | Program file - Done programming
[ #################### ] 1.286s | Verify file - Done verifying
[ #################### ] 3.998s | Erase file - Done erasing
[ #################### ] 0.891s | Program file - Done programming
[ #################### ] 0.897s | Verify file - Done verifying
Applying pin reset.
-- runners.nrfjprog: Board with serial number 960178516 flashed successfully.
* Terminal will be reused by tasks, press any key to close it.

* Executing task: nRF Connect: Build: hci_rpmsg (active)

Building hci_rpmsg
C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/nordic/myApps/peripheral_lbs_3/build/hci_rpmsg c:/ncs/v2.5.2/zephyr/samples/bluetooth/hci_rpmsg"

ninja: no work to do.
* Terminal will be reused by tasks, press any key to close it.

* Executing task: nRF Connect: Flash: hci_rpmsg (active)

Flashing hci_rpmsg to 960178516
C:\WINDOWS\system32\cmd.exe /d /s /c "west flash -d c:\nordic\myApps\peripheral_lbs_3\build\hci_rpmsg --skip-rebuild --dev-id 960178516"

-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: c:\nordic\myApps\peripheral_lbs_3\build\hci_rpmsg\zephyr\merged_CPUNET.hex
[error] [ nRF53] - Failed while detecting device memory block protection status!
[error] [ nRF53] - Failed while erasing device. -102: JLinkARM.dll Halt returned error 1.
[error] [ Worker] - JLinkARM.dll Halt returned error 1.
[error] [ Client] - Encountered error -102: Command erase_file executed for 108 milliseconds with result -102
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 33: nrfjprog --program 'c:\nordic\myApps\peripheral_lbs_3\build\hci_rpmsg\zephyr\merged_CPUNET.hex' --sectorerase --verify -f NRF53 --coprocessor CP_NETWORK --snr 960178516

Could you help to solve the problem?

Related