I'm working on custom test software for use in production programming/testing of my product containing a nRF9160. I'm using the nrfjprog executable, but with problems, every second call to nrfjprog --program is failing:
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
D:\[path here]\nrfjprog\nrfjprog
--ini D:\[path here]\nrfjprog\nrfjprog.ini
-f NRF91
-c 4000
-s [serial here]
--program D:\[path here]\temp_files\74e8207a-5983-41e5-b1e6-45eaa2d0f0fb.hex
--sectorerase
--verify
--log
[error] [ Client] - Encountered error -102: Command program_file executed for 188 milliseconds with result -102
[error] [ nRF91] - The write access failed, but no cause could be determined.
[error] [ nRF91] - It may be due to an unaligned access, accessing a nonexistent memory, or a communication issue.
[error] [ nRF91] - Failed while performing 'Write' operation on target address 0x00000000. -102: An unknown error.
[error] [ nRF91] - Failed while reading device information.
[error] [ Worker] - An unknown error. 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.
The log file is attached.
nrfjprog v10.22.1
JLINK v7.80c
nrf connect system report:
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# nRFConnect System Report - 2023-07-17T12-26-40.066Z
- System: Acer Aspire TC-885
- BIOS: American Megatrends Inc ACRSYS - 1072009
- CPU: 1 x Intel Core™ i7-8700 3.2 GHz 12 cores (6 physical)
- Memory: 5.3 GB free of 15.9 GB total
- Filesystem: C: (NTFS) 930.9 GB 47.6% used
- OS: Microsoft Windows 10 Home (10.0.19045) Windows x64
- Versions
- kernel: 10.0.19045
- git: 2.30.0.windows.1
- node: 16.17.1
- python: 3.11.0
- python3: 3.10.11
- nrf-device-lib-js: 0.6.12
- nrf-device-lib: 0.15.3
- nrfjprog DLL: 10.19.1
- JLink: JLink_V7.80c