Board nrf 9160DK
Template app - asset_tracker_v2
Build optimised for Debug
VSCode:
Version: 1.92.2
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Linux x64 5.15.0-92-generic snap
When try to program or Debug:
>>>
Executing task: nRF Connect: Flash: asset_tracker_v2/build_1 (active)
Flashing build_1 to Tracer1
west flash -d /home/XXXXX/workspace/nrf/asset_tracker_v2/build_1 --skip-rebuild --dev-id 960046XXX --no-reset
-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: /home/XXXXX/workspace/nrf/asset_tracker_v2/build_1/zephyr/merged.hex
[ #################### ] 14.926s | Erase file - Done erasing
[ #################### ] 3.571s | Program file - Done programming
[error] [ Client] - Encountered error -160: Command verify_file executed for 3586 milliseconds with result -160
[error] [ nRF91] - Failed while performing 'Verify' operation on target address 0x00FF8130.
-160: Data does not match in address range [0x00FF8130 - 0x00FF817F] (UICR)
Expected byte value 0xFF but read 0xFC at address 0x00FF8158.
[error] [ Worker] - Data does not match in address range [0x00FF8130 - 0x00FF817F] (UICR)
Expected byte value 0xFF but read 0xFC at address 0x00FF8158.
ERROR: Write verify failed.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
WARNING: runners.nrfjprog: The hex file contains data placed in the UICR, which may require a full erase before reprogramming. Run west flash again with --erase, or --recover.
FATAL ERROR: command exited with status 25: nrfjprog --program /home/XXXXX/workspace/nrf/asset_tracker_v2/build_1/zephyr/merged.hex --sectorerase --verify -f NRF91 --snr 960046XXX
Tried Erasing first of all.
Board programs the same app OK from the Quick Start app..