j-link connection fail on nrf52833 DK board.

We have found a nrf52833 DK (PCA101000) with id, 685888541 with 2024.4.

So, it might be used as previous project in our company.

Anyway, I tried to test with this DK board. but I found the fail of j-link connection via PC.

First of all, when I attached dk board to PC, device manager on PC shows device drivers shown as MSD Volume USB Device, J-link driver and JLink CDC UART Port.

So I guessed the DK board was normal. Even thought it looks normal, I found the failure on J-link connection on on-board JLink on nRF52833 DK board.

The error are as following:

D:\ProgramFiles\SEGGER\JLink_V794e>JLink.exe
SEGGER J-Link Commander V7.94e (Compiled Jan 15 2024 15:20:36)
DLL version V7.94e, compiled Jan 15 2024 15:18:46

Connecting to J-Link via USB...O.K.
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Oct 30 2023 12:12:17
Hardware version: V1.00
J-Link uptime (since boot): 0d 00h 01m 36s
S/N: 685888541
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>: NRF52833_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>10
Device "NRF52833_XXAA" selected.


Connecting to target via SWD
InitTarget() start
InitTarget() end - Took 90.4ms
Found SW-DP with ID 0x2BA01477
DPIDR: 0x2BA01477
CoreSight SoC-400 or earlier
Scanning AP map to find all available APs
AP[0]: Stopped AP scan as end of AP map has been reached
Iterating through AP map to find AHB-AP to use
Attach to CPU failed. Executing connect under reset.
Failed to power up DAP
Connect fallback: Reset via Reset pin & Connect.
InitTarget() start
InitTarget() end - Took 89.8ms
Found SW-DP with ID 0x2BA01477
Failed to power up DAP
Cannot connect to target.
J-Link>

Please let me know how to solve this problem.

Thanks,

Jaehong Park

Parents
  • Today, I tested again with old nRF52833 DK board.

    The error log changed a little as followings:


    C:\Program Files\SEGGER\JLink_V794e>JLink.exe
    SEGGER J-Link Commander V7.94e (Compiled Jan 15 2024 15:20:36)
    DLL version V7.94e, compiled Jan 15 2024 15:18:46
    
    Connecting to J-Link via USB...O.K.
    Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Oct 30 2023 12:12:17
    Hardware version: V1.00
    J-Link uptime (since boot): 0d 00h 00m 09s
    S/N: 685096686
    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>: NRF52833_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 "NRF52833_XXAA" selected.
    
    
    Connecting to target via SWD
    InitTarget() start
    InitTarget() end - Took 107ms
    Connect fallback: Reset via Reset pin & Connect.
    InitTarget() start
    InitTarget() end - Took 108ms
    Cannot connect to target.
    J-Link>

    As you see, we can see the log, "Reset via Reset pin & Connect."

    After updating JLink OB FW, this error happens.

    Please advice me how to fix this.

    Thanks,

Reply
  • Today, I tested again with old nRF52833 DK board.

    The error log changed a little as followings:


    C:\Program Files\SEGGER\JLink_V794e>JLink.exe
    SEGGER J-Link Commander V7.94e (Compiled Jan 15 2024 15:20:36)
    DLL version V7.94e, compiled Jan 15 2024 15:18:46
    
    Connecting to J-Link via USB...O.K.
    Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Oct 30 2023 12:12:17
    Hardware version: V1.00
    J-Link uptime (since boot): 0d 00h 00m 09s
    S/N: 685096686
    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>: NRF52833_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 "NRF52833_XXAA" selected.
    
    
    Connecting to target via SWD
    InitTarget() start
    InitTarget() end - Took 107ms
    Connect fallback: Reset via Reset pin & Connect.
    InitTarget() start
    InitTarget() end - Took 108ms
    Cannot connect to target.
    J-Link>

    As you see, we can see the log, "Reset via Reset pin & Connect."

    After updating JLink OB FW, this error happens.

    Please advice me how to fix this.

    Thanks,

Children
Related