Success: I can build hex, like follow:
[2/274] No download step for 'hci_rpmsg_subimage'
[3/274] No update step for 'hci_rpmsg_subimage'
[4/274] Generating include/generated/version.h
-- Zephyr version: 3.3.99 (D:/ncs_v2.4.0/zephyr), build: v3.3.99-ncs1
[5/274] No patch step for 'hci_rpmsg_subimage'
[6/274] No configure step for 'hci_rpmsg_subimage'
[6/274] Performing build step for 'hci_rpmsg_subimage'
[259/274] Linking C executable zephyr\zephyr_pre0.elf
[263/274] Linking C executable zephyr\zephyr_pre1.elf
[268/274] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
[270/274] No install step for 'hci_rpmsg_subimage'
[271/274] Completed 'hci_rpmsg_subimage'
[272/274] Linking C executable zephyr\zephyr.elf
Memory region Used Size Region Size %age Used
FLASH: 125564 B 1008 KB 12.16%
RAM: 27364 B 448 KB 5.96%
IDT_LIST: 0 GB 2 KB 0.00%
[273/274] Generating zephyr/merged.hex
[274/274] Generating zephyr/merged_domains.hex
* Terminal will be reused by tasks, press any key to close it.
* Executing task: nRF Connect: Build: peripheral_lbs_imyfit/build (active)
---------------------------------------------------------
Failed: but I can "west flash" to nRF5340DK, error like follow(the red message):
ninja: no work to do.
[0/4] Performing build step for 'hci_rpmsg_subimage'
[2/3] No install step for 'hci_rpmsg_subimage'
[3/3] Completed 'hci_rpmsg_subimage'
* Terminal will be reused by tasks, press any key to close it.
* Executing task: nRF Connect: Flash: peripheral_lbs_imyfit/build (active)
Flashing build to 960156192
C:\Windows\system32\cmd.exe /d /s /c "west flash -d d:\ncs_test\peripheral_lbs_imyfit\build --skip-rebuild --dev-id 960156192"
-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: d:\ncs_test\peripheral_lbs_imyfit\build\zephyr\merged_domains.hex
-- runners.nrfjprog: d:\ncs_test\peripheral_lbs_imyfit\build\zephyr\merged_domains.hex targets both nRF53 coprocessors; splitting it into: d:\ncs_test\peripheral_lbs_imyfit\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex and d:\ncs_test\peripheral_lbs_imyfit\build\zephyr\GENERATED_CP_APPLICATION_merged_domains.hex
[error] [ Client] - stderr: Crashed with signal 11.
[error] [ Client] - stderr: Crashed with signal 22.
[error] [ Client] - Worker process dies while processing command connect_to_emu_with_snr
ERROR: Unable to connect to a debugger.
[error] [ Client] - Worker process is dead, cannot execute command.
ERROR: An internal error has occurred, please try again.
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 63: nrfjprog --program 'd:\ncs_test\peripheral_lbs_imyfit\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex' --sectorerase --verify -f NRF53 --coprocessor CP_NETWORK --snr 960156192
* The terminal process terminated with exit code: 63.
* Terminal will be reused by tasks, press any key to close it.