Corrupt data detected, please check connection to PPK.

Hi,

I am using the nrf52 DK with the PPK board.

nRF Connect Desktop ver:3.12.0 and power profiler app ver:3.4.5

my Power Profiler Kit on nRF52 DK stops recording every 3min with the error message "Corrupt data detected, please check connection to PPK."

why this error occurs? why does it time out after every 3 min?  how to increase the time period because I have to monitor the application continuously. 

Please help me with this.

Please check the below-attached log file.

.

2022-08-29T06:06:54.305Z DEBUG Application data folder: C:\Users\Sunil\AppData\Roaming\nrfconnect\pc-nrfconnect-ppk
2022-08-29T06:06:55.209Z DEBUG App pc-nrfconnect-ppk v3.4.3 official
2022-08-29T06:06:55.210Z DEBUG App path: C:\Users\Sunil\.nrfconnect-apps\node_modules\pc-nrfconnect-ppk
2022-08-29T06:06:55.210Z DEBUG nRFConnect 3.11.1, required by the app is (^3.9.2)
2022-08-29T06:06:55.210Z DEBUG nRFConnect path: C:\Users\Sunil\AppData\Local\Programs\nrfconnect\resources\app.asar
2022-08-29T06:06:55.210Z DEBUG HomeDir: C:\Users\Sunil
2022-08-29T06:06:55.210Z DEBUG TmpDir: C:\Users\Sunil\AppData\Local\Temp
2022-08-29T06:06:55.436Z INFO Using nrf-device-lib-js version: 0.4.11
2022-08-29T06:06:55.437Z INFO Using nrf-device-lib version: 0.11.8
2022-08-29T06:06:55.492Z INFO Using nrfjprog DLL version: 10.15.4
2022-08-29T06:06:55.493Z INFO Using JLink version: JLink_V7.70a
2022-08-29T06:06:55.513Z INFO Installed JLink version does not match the provided version (V7.58b)
2022-08-29T06:07:12.570Z DEBUG iface: Wi-Fi
2022-08-29T06:07:12.570Z DEBUG IP4: 192.168.137.138
2022-08-29T06:07:12.570Z DEBUG IP6: fe80::95a3:34db:1c5:40ae
2022-08-29T06:07:12.571Z DEBUG MAC: 3c:a0:67:6d:7a:05
2022-08-29T06:07:12.590Z DEBUG Client Id: 0e945bd31b8ee32e8db75b12f13ea4f72e26d4ba
2022-08-29T06:07:19.224Z DEBUG Google Analytics for category pc-nrfconnect-ppk has initialized
2022-08-29T06:12:58.376Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T06:12:58.795Z INFO Opening device with s/n 000682153666
2022-08-29T06:12:59.543Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"architecture","label":"ia32"}
2022-08-29T06:12:59.551Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK2 selected"}
2022-08-29T06:13:48.038Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T06:13:48.098Z INFO PPK closed
2022-08-29T06:13:48.139Z DEBUG Found matching firmware definition nrf52
2022-08-29T06:13:50.040Z INFO Deselecting device
2022-08-29T06:13:56.653Z INFO Opening device with s/n 000682153666
2022-08-29T06:13:56.655Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T06:13:56.879Z INFO Initializing the PPK
2022-08-29T06:13:56.879Z INFO SEGGER serial number:  000682153666
2022-08-29T06:13:56.879Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T06:14:01.721Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T06:14:01.797Z INFO PPK closed
2022-08-29T06:14:01.803Z DEBUG Found matching firmware definition nrf52
2022-08-29T06:14:23.598Z ERROR Failed to start PPK
2022-08-29T06:14:23.599Z DEBUG TIME_OUT
2022-08-29T06:18:28.641Z INFO Opening device with s/n 000682153666
2022-08-29T06:18:28.646Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T06:18:28.846Z INFO Initializing the PPK
2022-08-29T06:18:28.846Z INFO SEGGER serial number:  000682153666
2022-08-29T06:18:28.846Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T06:18:31.418Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T06:18:31.452Z INFO PPK closed
2022-08-29T06:18:31.460Z DEBUG Found matching firmware definition nrf52
2022-08-29T06:18:41.771Z INFO Opening device with s/n 000682153666
2022-08-29T06:18:41.773Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T06:18:41.919Z INFO Initializing the PPK
2022-08-29T06:18:41.919Z INFO SEGGER serial number:  000682153666
2022-08-29T06:18:41.919Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T06:18:55.895Z ERROR Failed to start PPK
2022-08-29T06:18:55.896Z DEBUG TIME_OUT
2022-08-29T06:18:56.447Z INFO PPK opened
2022-08-29T06:19:08.825Z ERROR Failed to start PPK
2022-08-29T06:19:08.825Z DEBUG TIME_OUT
2022-08-29T06:19:08.851Z INFO PPK opened
2022-08-29T06:19:49.253Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T06:19:49.378Z INFO PPK closed
2022-08-29T06:19:49.390Z DEBUG Found matching firmware definition nrf52
2022-08-29T06:19:54.716Z DEBUG Programming 000682153666 with C:\Users\Sunil\.nrfconnect-apps\node_modules\pc-nrfconnect-ppk\firmware\ppk_nrfconnect.hex
2022-08-29T06:19:55.889Z INFO Uploading image through JLink: 0%
2022-08-29T06:19:56.871Z INFO Uploading image through JLink: 100%
2022-08-29T06:19:57.164Z INFO Device programming completed.
2022-08-29T06:19:57.164Z DEBUG Resetting 000682153666
2022-08-29T06:19:58.996Z INFO Opening device with s/n 000682153666
2022-08-29T06:19:58.997Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T06:19:59.151Z INFO Initializing the PPK
2022-08-29T06:19:59.151Z INFO SEGGER serial number:  000682153666
2022-08-29T06:19:59.151Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T06:20:02.140Z INFO Trigger length updated to 10 ms
2022-08-29T06:20:02.234Z INFO PPK started
2022-08-29T06:20:02.281Z INFO PPK opened
2022-08-29T06:20:08.161Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T06:20:08.250Z INFO Sampling started
2022-08-29T06:20:08.280Z ERROR Corrupt data detected, please check connection to PPK.
2022-08-29T06:20:08.296Z DEBUG Measurement range not detected
2022-08-29T06:20:08.434Z INFO Sampling stopped
2022-08-29T06:20:08.713Z INFO PPK closed
2022-08-29T06:23:00.719Z INFO Deselecting device
2022-08-29T06:29:46.056Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T06:29:46.061Z DEBUG Found matching firmware definition nrf52
2022-08-29T06:29:50.407Z INFO Opening device with s/n 000682153666
2022-08-29T06:29:50.411Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T06:29:50.841Z INFO Initializing the PPK
2022-08-29T06:29:50.841Z INFO SEGGER serial number:  000682153666
2022-08-29T06:29:50.842Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T06:29:53.615Z INFO PPK started
2022-08-29T06:29:53.635Z INFO PPK opened
2022-08-29T06:30:06.927Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T06:30:06.980Z INFO Sampling started
2022-08-29T06:30:06.995Z ERROR Corrupt data detected, please check connection to PPK.
2022-08-29T06:30:07.007Z DEBUG Measurement range not detected
2022-08-29T06:30:07.106Z INFO Sampling stopped
2022-08-29T06:30:07.384Z INFO PPK closed
2022-08-29T06:31:24.130Z INFO Deselecting device
2022-08-29T06:48:26.508Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T06:48:26.516Z DEBUG Found matching firmware definition nrf52
2022-08-29T06:48:30.258Z INFO Opening device with s/n 000682153666
2022-08-29T06:48:30.260Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T06:48:30.464Z INFO Initializing the PPK
2022-08-29T06:48:30.465Z INFO SEGGER serial number:  000682153666
2022-08-29T06:48:30.465Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T06:48:32.992Z INFO PPK started
2022-08-29T06:48:33.016Z INFO PPK opened
2022-08-29T06:49:32.266Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T06:49:32.372Z INFO Sampling started
2022-08-29T06:49:32.375Z ERROR Corrupt data detected, please check connection to PPK.
2022-08-29T06:49:32.391Z DEBUG Measurement range not detected
2022-08-29T06:49:32.505Z INFO Sampling stopped
2022-08-29T06:49:32.823Z INFO PPK closed
2022-08-29T06:57:35.848Z INFO Deselecting device
2022-08-29T07:32:56.107Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T07:32:56.177Z DEBUG Found matching firmware definition nrf52
2022-08-29T07:32:58.957Z INFO Opening device with s/n 000682153666
2022-08-29T07:32:59.133Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T07:32:59.741Z INFO Initializing the PPK
2022-08-29T07:32:59.741Z INFO SEGGER serial number:  000682153666
2022-08-29T07:32:59.742Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T07:33:02.874Z INFO PPK started
2022-08-29T07:33:03.069Z INFO PPK opened
2022-08-29T07:33:09.739Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T07:33:09.906Z INFO Sampling started
2022-08-29T07:35:51.650Z ERROR Corrupt data detected, please check connection to PPK.
2022-08-29T07:35:51.702Z DEBUG Measurement range not detected
2022-08-29T07:35:51.884Z INFO Sampling stopped
2022-08-29T07:35:51.889Z ERROR Corrupt data detected, please check connection to PPK.
2022-08-29T07:35:52.122Z DEBUG Measurement range not detected
2022-08-29T07:35:52.153Z INFO PPK closed
2022-08-29T07:36:25.518Z INFO Restoring state from C:\Users\Sunil\AppData\Roaming\nrfconnect\pc-nrfconnect-ppk\logs\2022-08-29T06_06_50.773Z-log.txt
2022-08-29T07:36:25.903Z ERROR Error loading from C:\Users\Sunil\AppData\Roaming\nrfconnect\pc-nrfconnect-ppk\logs\2022-08-29T06_06_50.773Z-log.txt
2022-08-29T07:36:45.212Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T07:36:45.218Z DEBUG Found matching firmware definition nrf52
2022-08-29T07:36:48.724Z INFO Opening device with s/n 000682153666
2022-08-29T07:36:48.726Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T07:36:49.108Z INFO Initializing the PPK
2022-08-29T07:36:49.108Z INFO SEGGER serial number:  000682153666
2022-08-29T07:36:49.108Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T07:36:52.491Z INFO PPK started
2022-08-29T07:36:52.520Z INFO PPK opened
2022-08-29T07:36:55.156Z INFO Stopping trigger
2022-08-29T07:37:08.384Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T07:37:08.450Z INFO Sampling started
2022-08-29T07:37:24.455Z INFO Sampling stopped
2022-08-29T07:37:31.490Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T07:37:31.532Z INFO Sampling started
2022-08-29T07:38:12.015Z INFO Sampling stopped
2022-08-29T07:38:23.454Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T07:38:23.748Z INFO PPK closed
2022-08-29T07:38:23.754Z DEBUG Found matching firmware definition nrf52
2022-08-29T07:38:26.203Z INFO Opening device with s/n 000682153666
2022-08-29T07:38:26.205Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T07:38:26.247Z INFO Initializing the PPK
2022-08-29T07:38:26.248Z INFO SEGGER serial number:  000682153666
2022-08-29T07:38:26.248Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T07:38:29.200Z INFO PPK started
2022-08-29T07:38:29.235Z INFO PPK opened
2022-08-29T07:38:44.285Z INFO Sampling stopped
2022-08-29T07:38:46.972Z INFO Starting trigger at 1000 µA
2022-08-29T07:39:01.665Z INFO Stopping trigger
2022-08-29T07:39:05.865Z INFO Stopping trigger
2022-08-29T07:39:07.380Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T07:39:07.424Z INFO Sampling started
2022-08-29T07:39:10.784Z INFO Sampling stopped
2022-08-29T07:39:12.888Z INFO Sampling stopped
2022-08-29T07:39:15.072Z INFO Starting trigger at 1000 µA
2022-08-29T07:39:17.393Z INFO Stopping trigger
2022-08-29T07:39:19.790Z INFO Stopping trigger
2022-08-29T07:57:34.746Z INFO Deselecting device
2022-08-29T07:57:48.042Z INFO PPK closed
2022-08-29T08:27:28.762Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T08:27:28.918Z DEBUG Found matching firmware definition nrf52
2022-08-29T08:27:31.866Z INFO Opening device with s/n 000682153666
2022-08-29T08:27:32.153Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T08:27:33.639Z INFO Initializing the PPK
2022-08-29T08:27:33.639Z INFO SEGGER serial number:  000682153666
2022-08-29T08:27:33.639Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T08:27:33.999Z ERROR Failed to start PPK
2022-08-29T08:27:34.000Z DEBUG rtt interface already open
2022-08-29T08:27:35.523Z INFO PPK opened
2022-08-29T08:27:50.727Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T08:27:52.132Z INFO PPK closed
2022-08-29T08:27:52.179Z DEBUG Found matching firmware definition nrf52
2022-08-29T08:27:55.867Z INFO Opening device with s/n 000682153666
2022-08-29T08:27:55.868Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T08:27:55.968Z INFO Initializing the PPK
2022-08-29T08:27:55.968Z INFO SEGGER serial number:  000682153666
2022-08-29T08:27:55.968Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T08:27:59.330Z INFO PPK started
2022-08-29T08:27:59.397Z INFO PPK opened
2022-08-29T08:28:05.966Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T08:28:06.190Z INFO Sampling started
2022-08-29T08:29:40.154Z ERROR Corrupt data detected, please check connection to PPK.
2022-08-29T08:29:40.282Z DEBUG Measurement range not detected
2022-08-29T08:29:40.310Z INFO Sampling stopped
2022-08-29T08:29:40.317Z ERROR Corrupt data detected, please check connection to PPK.
2022-08-29T08:29:40.711Z DEBUG Measurement range not detected
2022-08-29T08:29:40.809Z INFO PPK closed
2022-08-29T08:29:52.612Z INFO Deselecting device
2022-08-29T08:30:29.497Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T08:30:29.505Z DEBUG Found matching firmware definition nrf52
2022-08-29T08:30:31.715Z INFO Opening device with s/n 000682153666
2022-08-29T08:30:31.719Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T08:30:31.800Z INFO Initializing the PPK
2022-08-29T08:30:31.800Z INFO SEGGER serial number:  000682153666
2022-08-29T08:30:31.801Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T08:30:34.503Z INFO PPK started
2022-08-29T08:30:34.520Z INFO PPK opened
2022-08-29T08:30:40.534Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T08:30:40.583Z INFO Sampling started
2022-08-29T08:30:40.770Z ERROR Corrupt data detected, please check connection to PPK.
2022-08-29T08:30:40.786Z DEBUG Measurement range not detected
2022-08-29T08:30:40.919Z INFO Sampling stopped
2022-08-29T08:30:41.835Z INFO PPK closed
2022-08-29T08:30:51.282Z INFO Deselecting device
2022-08-29T08:31:21.904Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T08:31:21.912Z DEBUG Found matching firmware definition nrf52
2022-08-29T08:31:24.166Z INFO Opening device with s/n 000682153666
2022-08-29T08:31:24.167Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T08:31:24.239Z INFO Initializing the PPK
2022-08-29T08:31:24.239Z INFO SEGGER serial number:  000682153666
2022-08-29T08:31:24.239Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T08:31:26.930Z INFO PPK started
2022-08-29T08:31:26.950Z INFO PPK opened
2022-08-29T08:31:29.125Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T08:31:29.170Z INFO Sampling started
2022-08-29T08:32:19.382Z INFO DUT OFF
2022-08-29T08:32:24.244Z INFO DUT ON
2022-08-29T08:32:30.522Z INFO DUT OFF
2022-08-29T08:32:33.972Z INFO DUT ON
2022-08-29T08:32:37.535Z INFO DUT OFF
2022-08-29T08:32:40.961Z INFO DUT ON
2022-08-29T08:33:04.196Z ERROR Corrupt data detected, please check connection to PPK.
2022-08-29T08:33:04.218Z DEBUG Measurement range not detected
2022-08-29T08:33:04.262Z INFO Sampling stopped
2022-08-29T08:33:15.882Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T08:33:16.041Z INFO PPK closed
2022-08-29T08:33:23.611Z INFO Validating firmware for device with s/n 000682153666
2022-08-29T08:33:23.616Z DEBUG Found matching firmware definition nrf52
2022-08-29T08:33:28.369Z INFO Opening device with s/n 000682153666
2022-08-29T08:33:28.371Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"PPK1 selected"}
2022-08-29T08:33:28.611Z INFO Initializing the PPK
2022-08-29T08:33:28.612Z INFO SEGGER serial number:  000682153666
2022-08-29T08:33:28.612Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
2022-08-29T08:33:32.102Z INFO PPK started
2022-08-29T08:33:32.140Z INFO PPK opened
2022-08-29T08:33:34.364Z DEBUG Sending usage data {"category":"pc-nrfconnect-ppk","action":"Real Time sampling started"}
2022-08-29T08:33:34.407Z INFO Sampling started
2022-08-29T08:34:32.876Z INFO Deselecting device
2022-08-29T08:34:32.983Z ERROR PPK command failed: [object Object]
2022-08-29T08:34:32.983Z INFO Sampling stopped
2022-08-29T08:34:33.084Z INFO PPK closed

Parents
  • Hi,

    There are a few other reports of getting this error (like this thread), but I have not found any that match your exact description. One thing comes to mind, though. There is a known issue with data via the USB-UART interface on the onboard debugger if that has the mass storage device enabled (which is default). Can you disable that and see if it helps? To do that, use the command "MSDDisable" from J-Link Commander.

  • Hi Einar,

    Thanks for the reply.

    As per your suggestion, I have installed and tried to use the J-Link commander. 

    I am not familiar with it. 

    Is there any link for how to use it? (i.e. how to connect nRF52 DK with J-Link commander) or getting started guide. if any please share.

    I am unable to connect the nRF52 DK to the J-link commander.

    I am using the Windows 10 pc.

  • Hi,

    You can use it like this:

    1. Open J-Link Commander. This is a command line tool
    2. Type the command "connect" and press the enter key
    3. Now Type "S" to select SWD
    4. Now just press enter to use the default interface speed
    5. Type the command "MSDDisable" and press the enter key.

    Here is the whole sequence when I did it:

    SEGGER J-Link Commander V7.66b (Compiled May 30 2022 14:14:01)
    DLL version V7.66b, compiled May 30 2022 14:12:40
    
    Connecting to J-Link via USB...O.K.
    Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31
    Hardware version: V1.00
    S/N: 683369451
    License(s): RDI, FlashBP, FlashDL, JFlash, GDB
    USB speed mode: High speed (480 MBit/s)
    VTref=3.300V
    
    
    Type "connect" to establish a target connection, '?' for help
    J-Link>connect
    Please specify device / core. <Default>: NRF52840_XXAA
    Type '?' for selection dialog
    Device>
    Please specify target interface:
      J) JTAG (Default)
      S) SWD
      T) cJTAG
    TIF>S
    Specify target interface speed [kHz]. <Default>: 4000 kHz
    Speed>
    Device "NRF52840_XXAA" selected.
    
    
    Connecting to target via SWD
    InitTarget() start
    InitTarget() end
    Found SW-DP with ID 0x2BA01477
    DPIDR: 0x2BA01477
    CoreSight SoC-400 or earlier
    Scanning AP map to find all available APs
    AP[2]: Stopped AP scan as end of AP map has been reached
    AP[0]: AHB-AP (IDR: 0x24770011)
    AP[1]: JTAG-AP (IDR: 0x02880000)
    Iterating through AP map to find AHB-AP to use
    AP[0]: Core found
    AP[0]: AHB-AP ROM base: 0xE00FF000
    CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
    Found Cortex-M4 r0p1, Little endian.
    FPUnit: 6 code (BP) slots and 2 literal slots
    CoreSight components:
    ROMTbl[0] @ E00FF000
    [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
    [0][1]: E0001000 CID B105E00D PID 003BB002 DWT
    [0][2]: E0002000 CID B105E00D PID 002BB003 FPB
    [0][3]: E0000000 CID B105E00D PID 003BB001 ITM
    [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
    [0][5]: E0041000 CID B105900D PID 000BB925 ETM
    Cortex-M4 identified.
    J-Link>MSDDisable
    Probe configured successfully.
    J-Link>

    This is a common fix for USB-UART communication issues via the SWD debugger, so this should be the first thing to test. However, I am not sure this will fix the issue you are seeing, so if this does not help we will need to look further into the issue.

  • Hi Einar,

    I have Disabled the MSD via j-Link Commander but the issue is remains. it still stops after 3-sec interval

  • I do not know the root cause yet, but the maintainers are aware of it and will look into it. However, this issue is significantly improved if you downgrade the J-Link firmware on the DK to v6.80 of J-Link. With that, we see that you get the error after approximately 36 minutes of sampling. That is unfortunately the best workaround I have at this point in time. You can refer to this thread for how to downgrade the J-Link firmware.

Reply
  • I do not know the root cause yet, but the maintainers are aware of it and will look into it. However, this issue is significantly improved if you downgrade the J-Link firmware on the DK to v6.80 of J-Link. With that, we see that you get the error after approximately 36 minutes of sampling. That is unfortunately the best workaround I have at this point in time. You can refer to this thread for how to downgrade the J-Link firmware.

Children
Related