west flash ERROR: Access to the selected address is blocked by the SPU.

D:\ncs\v2.3.0\nrf\samples\ipc\ipc_service>west flash
-- west flash: rebuilding
[0/4] Performing build step for 'remote_subimage'
ninja: no work to do.
-- west flash: using runner nrfjprog
Using board 801036305
-- runners.nrfjprog: Flashing file: D:\ncs\v2.3.0\nrf\samples\ipc\ipc_service\build\zephyr\merged_domains.hex
-- runners.nrfjprog: D:\ncs\v2.3.0\nrf\samples\ipc\ipc_service\build\zephyr\merged_domains.hex targets both nRF53 coprocessors; splitting it into: D:\ncs\v2.3.0\nrf\samples\ipc\ipc_service\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex and D:\ncs\v2.3.0\nrf\samples\ipc\ipc_service\build\zephyr\GENERATED_CP_APPLICATION_merged_domains.hex
[error] [ Client] - stderr: [*** LOG ERROR #0001 ***] [2023-07-27 16:43:01] [nRF53] {argument not found}
Failed to enable coprocessor with unknown error.
ERROR: Access to the selected address is blocked by the SPU.
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 37: nrfjprog --program 'D:\ncs\v2.3.0\nrf\samples\ipc\ipc_service\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex' --sectorerase --verify -f NRF53 --snr 801036305 --coprocessor CP_NETWORK

Procedures to reproduce this issue are as follows.

1. cd D:\ncs\v2.3.0\nrf\samples\ipc\ipc_service

2. west build -b nrf5340dk_nrf5340_cpuapp

3. west flash

Parents
  • Hi Snowuyl,

    I have tried running the IPC_service sample in NCS v2.3.0, and will just copy here what I wrote to you in another case:

    I tried to reproduce this issue, and ran into all sort of trouble. It turns out that the IPC service sample (and some others, I suspect), are completely broken on NCS 2.3.0.

    I believe that earlier NCS versions worked, and I can confirm that NCS v2.4.0 works as well. Are you early enough in development that you could upgrade your NCS version to v2.4.0? I would strongly recommend it. I see that you have opened a lot of other IPC related cases as well, these might be resolved by that.

    Best regards,

    Raoul

  • Thanks for your reply! I have upgraded ncs from v2.3.0 to v2.4.0. The following issue has been solved by "west flash --recover" command.

    west flash ERROR: Access to the selected address is blocked by the SPU.

Reply Children
No Data
Related