When I tried to flash my sample to my nRF9160DK using west flash command (the sample that has completed its build process without any errors or warnings), the process of "flashing" stopped at the following point:
"Using board ... --runners.nrfprog: Flashing file: c:\.....\build\zephyr\merged.h "
for about 22 minutes (i.e. about 1356 seconds) and then the following error messages came up:
[####...###] 1356.867 s | Erase file - Done erasing
[error] [JLink] - communication timed out: Requested 8 bytes, received 0 bytes!
ERROR: The JLinkARM DLL timed out while communicating to the JLink probe
FATAL ERROR: command exited with status 35: nrfjprog --program 'C;\...\build\zephyr\merged.hex'
--sectorerase --verify -f NRF91 --snr ...
as can be seen in the attached screenshot: "West Flash Error on 07-07-2023".
Also, the following suggestion was made among the error messages:
"If the error condition persists , run the same command again with argument --log, contact Nordic Semiconductor and provide the generated log.log file to them".
However, my attempts to run the same command (west flash) with argument --log were unsuccessful, as can be seen in the attached screenshot: "West Flash --Log on 07-07-2023".
How can this problem be resolved, so that I could successfully flash my sample to my nRF9160DK using west flash command?
Regards,
JM