Jason:
What's the Segger J-link version in your side?....If the j-link version is not match 3.6.1, it will be happened the same bug situation as your statement.
Connecting ‘J-Link’ using ‘USB’
Connecting to target using SWD
Loaded D:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 5.20/bin/JLinkARM.dll
Firmware Version: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00
DLL Version: 6.88a
Hardware Version: V1.00
Target Voltage: 3.300
The 3.6.1 release note:
https://github.com/NordicSemiconductor/pc-nrfconnect-launcher/releases
It's mention that driver nrfjprog v10.12.1 and JLink 6.88a. But yours is the same 6.88a
So your bug is not the same with mine. Because my bug is happened in 6.86f. And the nRF51 series can't be recognized. So I reinstall the old one (3.6.0)
i wonder if there is other way to test without the nrf connect this program do have lots of bug
2021-01-28T05:50:28.354Z INFO Application data folder: C:\Users\jason_yu\AppData\Roaming\nrfconnect\pc-nrfconnect-ble
2021-01-28T05:50:28.406Z DEBUG App pc-nrfconnect-ble v2.4.2 official
2021-01-28T05:50:28.406Z DEBUG App path: C:\Users\jason_yu\.nrfconnect-apps\node_modules\pc-nrfconnect-ble
2021-01-28T05:50:28.407Z DEBUG nRFConnect 3.6.1 is supported by the app (^3.6.0)
2021-01-28T05:50:28.407Z DEBUG nRFConnect path: C:\Users\jason_yu\AppData\Local\Programs\nrfconnect\resources\app.asar
2021-01-28T05:50:28.407Z DEBUG HomeDir: C:\Users\jason_yu
2021-01-28T05:50:28.408Z DEBUG TmpDir: C:\Users\jason_yu\AppData\Local\Temp
2021-01-28T05:50:29.349Z VERBOSE Could not fetch serial number for serial port at COM1
2021-01-28T05:50:31.221Z INFO Device setup completed
2021-01-28T05:50:31.222Z INFO Opening custom device
2021-01-28T05:50:31.222Z INFO Note: firmware must be compatible with connectivity firmware version: 4.1.2, SoftDevice API version: 5 and baud rate: 1000000.
2021-01-28T05:50:31.224Z INFO Opening adapter connected to COM3
2021-01-28T05:50:32.155Z INFO Successfully opened COM3. Baud rate: 1000000. Flow control: none. Parity: none.
2021-01-28T05:50:32.155Z DEBUG State change: STATE_START -> STATE_RESET
2021-01-28T05:50:32.155Z DEBUG 1 -> [N/A] type: RESERVED_5 reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:32.157Z INFO Reset performed on adapter COM3
2021-01-28T05:50:32.454Z DEBUG State change: STATE_RESET -> STATE_UNINITIALIZED
2021-01-28T05:50:32.455Z DEBUG 2 -> [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2021-01-28T05:50:32.487Z DEBUG 1/ 0 <- [02 7d ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC_RESP]
2021-01-28T05:50:32.488Z DEBUG State change: STATE_UNINITIALIZED -> STATE_INITIALIZED
2021-01-28T05:50:32.488Z DEBUG 3 -> [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
2021-01-28T05:50:32.737Z DEBUG 4 -> [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
2021-01-28T05:50:32.887Z DEBUG 2/ 0 <- [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2021-01-28T05:50:32.887Z DEBUG 5 -> [02 7d ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC_RESP]
2021-01-28T05:50:32.987Z DEBUG 6 -> [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
2021-01-28T05:50:33.020Z DEBUG 3/ 0 <- [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
2021-01-28T05:50:33.020Z DEBUG 7 -> [04 7b 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG_RESP [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
2021-01-28T05:50:33.237Z DEBUG 8 -> [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
2021-01-28T05:50:33.289Z INFO Adapter connected to COM3 opened
2021-01-28T05:50:33.291Z DEBUG 4/ 0 <- [04 7b 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG_RESP [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
2021-01-28T05:50:33.291Z DEBUG State change: STATE_INITIALIZED -> STATE_ACTIVE
2021-01-28T05:50:33.293Z DEBUG 9 -> [00 69 20 00 00 00 01 01 08 9c 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:0 payload_length:b data_integrity:1 header_checksum:82 err_code:0x0
2021-01-28T05:50:33.326Z DEBUG 5/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.326Z DEBUG 6/ 0 <- [01 69 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:1 payload_length:6 data_integrity:1 header_checksum:ca err_code:0x0
2021-01-28T05:50:33.326Z DEBUG 10 -> [N/A] type: ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.327Z DEBUG 11 -> [00 69 23 00 00 00 01 01 f7 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:1 ack#:1 payload_length:a data_integrity:1 header_checksum:89 err_code:0x0
2021-01-28T05:50:33.359Z DEBUG 7/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:2 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.359Z DEBUG 8/ 0 <- [01 69 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:1 ack#:2 payload_length:6 data_integrity:1 header_checksum:c1 err_code:0x0
2021-01-28T05:50:33.359Z DEBUG 12 -> [N/A] type: ACK reliable: no seq#:0 ack#:2 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.359Z DEBUG 13 -> [00 69 01 00 00 00 01 0a ] type: VENDOR_SPECIFIC reliable:yes seq#:2 ack#:2 payload_length:8 data_integrity:1 header_checksum:a0 err_code:0x0
2021-01-28T05:50:33.392Z DEBUG 9/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:3 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.392Z DEBUG 10/ 0 <- [01 69 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:2 ack#:3 payload_length:6 data_integrity:1 header_checksum:b8 err_code:0x0
2021-01-28T05:50:33.393Z DEBUG 14 -> [N/A] type: ACK reliable: no seq#:0 ack#:3 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.393Z DEBUG 15 -> [00 69 40 00 00 00 01 01 07 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:3 ack#:3 payload_length:a data_integrity:1 header_checksum:77 err_code:0x0
2021-01-28T05:50:33.425Z DEBUG 11/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:4 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.425Z DEBUG 12/ 0 <- [01 69 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:3 ack#:4 payload_length:6 data_integrity:1 header_checksum:af err_code:0x0
2021-01-28T05:50:33.426Z DEBUG 16 -> [N/A] type: ACK reliable: no seq#:0 ack#:4 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.426Z DEBUG 17 -> [00 69 a0 00 00 00 01 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:4 ack#:4 payload_length:8 data_integrity:1 header_checksum:8e err_code:0x0
2021-01-28T05:50:33.458Z DEBUG 13/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:5 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.458Z DEBUG 14/ 0 <- [01 69 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:4 ack#:5 payload_length:6 data_integrity:1 header_checksum:a6 err_code:0x0
2021-01-28T05:50:33.459Z DEBUG 18 -> [N/A] type: ACK reliable: no seq#:0 ack#:5 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.459Z DEBUG 19 -> [00 69 a1 00 00 00 01 80 05 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:5 ack#:5 payload_length:b data_integrity:1 header_checksum:55 err_code:0x0
2021-01-28T05:50:33.491Z DEBUG 15/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:6 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.491Z DEBUG 16/ 0 <- [01 69 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:5 ack#:6 payload_length:6 data_integrity:1 header_checksum:9d err_code:0x0
2021-01-28T05:50:33.492Z DEBUG 20 -> [N/A] type: ACK reliable: no seq#:0 ack#:6 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.492Z DEBUG 21 -> [00 60 ] type: VENDOR_SPECIFIC reliable:yes seq#:6 ack#:6 payload_length:2 data_integrity:1 header_checksum:dc err_code:0x0
2021-01-28T05:50:33.531Z DEBUG 17/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:7 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.531Z DEBUG 18/ 0 <- [01 60 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:6 ack#:7 payload_length:6 data_integrity:1 header_checksum:94 err_code:0x0
2021-01-28T05:50:33.532Z DEBUG 22 -> [N/A] type: ACK reliable: no seq#:0 ack#:7 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.533Z DEBUG 23 -> [00 65 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:7 ack#:7 payload_length:3 data_integrity:1 header_checksum:c3 err_code:0x0
2021-01-28T05:50:33.566Z DEBUG 19/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.566Z DEBUG 20/ 0 <- [01 65 00 00 00 00 09 59 00 a5 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:7 ack#:0 payload_length:b data_integrity:1 header_checksum:7b err_code:0x0
2021-01-28T05:50:33.567Z DEBUG 24 -> [N/A] type: ACK reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.567Z DEBUG 25 -> [00 7d 01 f8 00 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:0 payload_length:6 data_integrity:1 header_checksum:d2 err_code:0x0
2021-01-28T05:50:33.604Z DEBUG 21/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.605Z DEBUG 22/ 0 <- [01 7d 00 00 00 00 01 05 00 6e 52 46 35 78 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:1 payload_length:e data_integrity:1 header_checksum:4a err_code:0x0
2021-01-28T05:50:33.605Z DEBUG 26 -> [N/A] type: ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.605Z DEBUG 27 -> [00 6d 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:1 ack#:1 payload_length:3 data_integrity:1 header_checksum:f9 err_code:0x0
2021-01-28T05:50:33.644Z DEBUG 23/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:2 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.644Z DEBUG 24/ 0 <- [01 6d 00 00 00 00 02 4d 13 d2 8a 48 dd ] type: VENDOR_SPECIFIC reliable:yes seq#:1 ack#:2 payload_length:d data_integrity:1 header_checksum:51 err_code:0x0
2021-01-28T05:50:33.644Z DEBUG 28 -> [N/A] type: ACK reliable: no seq#:0 ack#:2 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:33.645Z DEBUG SoftDevice BLE stack enabled.
2021-01-28T05:50:53.198Z INFO Server setup loaded from C:\Users\jason_yu\Desktop\nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_ias_c\findMeMasterServer.ncs.
2021-01-28T05:50:57.161Z DEBUG 29 -> [00 7c 01 11 05 00 01 6e 52 46 35 75 ] type: VENDOR_SPECIFIC reliable:yes seq#:2 ack#:2 payload_length:c data_integrity:1 header_checksum:60 err_code:0x0
2021-01-28T05:50:57.193Z DEBUG 25/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:3 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.194Z DEBUG 26/ 0 <- [01 7c 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:2 ack#:3 payload_length:6 data_integrity:1 header_checksum:b8 err_code:0x0
2021-01-28T05:50:57.194Z DEBUG 30 -> [N/A] type: ACK reliable: no seq#:0 ack#:3 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.194Z DEBUG 31 -> [00 63 02 01 02 18 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:3 ack#:3 payload_length:7 data_integrity:1 header_checksum:a7 err_code:0x0
2021-01-28T05:50:57.226Z DEBUG 27/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:4 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.226Z DEBUG 28/ 0 <- [01 63 00 00 00 00 01 02 18 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:3 ack#:4 payload_length:a data_integrity:1 header_checksum:6f err_code:0x0
2021-01-28T05:50:57.227Z DEBUG 32 -> [N/A] type: ACK reliable: no seq#:0 ack#:4 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.227Z DEBUG 33 -> [00 78 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:4 ack#:4 payload_length:4 data_integrity:1 header_checksum:ce err_code:0x0
2021-01-28T05:50:57.259Z DEBUG 29/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:5 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.260Z DEBUG 30/ 0 <- [01 78 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:4 ack#:5 payload_length:6 data_integrity:1 header_checksum:a6 err_code:0x0
2021-01-28T05:50:57.260Z DEBUG 34 -> [N/A] type: ACK reliable: no seq#:0 ack#:5 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.260Z DEBUG 35 -> [00 7a 01 ff ff ff ff 00 00 ff ff ] type: VENDOR_SPECIFIC reliable:yes seq#:5 ack#:5 payload_length:b data_integrity:1 header_checksum:55 err_code:0x0
2021-01-28T05:50:57.292Z DEBUG 31/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:6 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.293Z DEBUG 32/ 0 <- [01 7a 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:5 ack#:6 payload_length:6 data_integrity:1 header_checksum:9d err_code:0x0
2021-01-28T05:50:57.293Z DEBUG 36 -> [N/A] type: ACK reliable: no seq#:0 ack#:6 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.293Z DEBUG 37 -> [00 a0 01 01 02 18 01 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:6 ack#:6 payload_length:8 data_integrity:1 header_checksum:7c err_code:0x0
2021-01-28T05:50:57.325Z DEBUG 33/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:7 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.325Z DEBUG 34/ 0 <- [01 a0 00 00 00 00 01 0b 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:6 ack#:7 payload_length:9 data_integrity:1 header_checksum:64 err_code:0x0
2021-01-28T05:50:57.326Z DEBUG 38 -> [N/A] type: ACK reliable: no seq#:0 ack#:7 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.328Z DEBUG 39 -> [00 a2 0b 00 01 04 00 00 00 00 00 00 00 00 00 00 01 01 06 2a 01 01 11 11 02 00 00 01 00 01 00 01 00 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:7 ack#:7 payload_length:22 data_integrity:1 header_checksum:d1 err_code:0x0
2021-01-28T05:50:57.362Z DEBUG 35/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.362Z DEBUG 36/ 0 <- [01 a2 00 00 00 00 01 0d 00 00 00 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:7 ack#:0 payload_length:f data_integrity:1 header_checksum:3b err_code:0x0
2021-01-28T05:50:57.363Z DEBUG 40 -> [N/A] type: ACK reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
2021-01-28T05:50:57.387Z INFO Server setup was applied
2021-01-28T05:54:41.970Z DEBUG 41 -> [05 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:0 payload_length:2 data_integrity:1 header_checksum:12 err_code:0x0
2021-01-28T05:54:42.212Z DEBUG 42 -> [05 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:0 payload_length:2 data_integrity:1 header_checksum:12 err_code:0x0
2021-01-28T05:54:42.462Z DEBUG 43 -> [05 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:0 payload_length:2 data_integrity:1 header_checksum:12 err_code:0x0
2021-01-28T05:54:42.712Z DEBUG 44 -> [05 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:0 payload_length:2 data_integrity:1 header_checksum:12 err_code:0x0
2021-01-28T05:54:42.962Z DEBUG 45 -> [05 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:0 payload_length:2 data_integrity:1 header_checksum:12 err_code:0x0
2021-01-28T05:54:43.212Z DEBUG 46 -> [05 01 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:0 payload_length:2 data_integrity:1 header_checksum:12 err_code:0x0
somehow it accomplish couple times some times it fails i post the log file but i dont know why