Programming external custom board with nrf52832 DK

Hi all,

I have a custom board running on nrf52840. I need to flash the custom board with the NRF52832 DK. But I am running into some issues. the development is at early stages and there are too many failure points and variables. So I just need to be sure at every step what each error means.

I tried recovering using 'nrfjprog --recover' . It ave the same error. I am attaching the log of the recover operation. 

One question I have is about the connection between the target board and the DK. I have not connected the VDD_nrf (pin #1 on P20) or the VDD (pin #2 on p20) since my target board is powered by an external USB source. Is it necessary that I should connect these ? i saw a lot of suggested schematics between the target and the DK but i do not know which one of these to accept. Can you recommend a connection that works ?

Thank you

  • I'm seeing a similar issue but with nRF52840 DK 3.0.0 specifically. Always happens if I try to program the target which isnt powered on. The DK just enters this broken state which can only be fixed by flashing the target with a dedicated debugger.

    Also happens when my target is battery powered for some reason. Previous DK board worked just fine, didn't have this issue.

    I've only found that it has something to do with how nrfjprog erases the memory. When the J-link reports a failed read, for example it can't check for readback protection, the erase command in nrfjprog just ignores this and tries to continue with the erasing which leads me to believe this is some bug on Nordic's side.

  • Hello,

    One question I have is about the connection between the target board and the DK. I have not connected the VDD_nrf

    Take a look at this guide for the connection.

    Sorry, the attached log is broken and I am not able to open it. Could you please specify the version of the JLink you are trying with?

    Kind Regards,

    Abhijith

  • Hi, after verifying the connections with the target board, with the help of the guide you provided, I could get rid of the issue. But now I have another issue while flashing.

    Can you explain the reason behind this ?

    When I tried to reocver the device using nrfjprog --recover, I got the same error as before. Attaching the generated log.

    [2023-Mar-10 16:16:01] [debug] --------------------------------------------------------------------------------
    [2023-Mar-10 16:16:01] [debug] nrfjprog --recover --log 
    [2023-Mar-10 16:16:01] [debug] nrfjprog version 10.19.0 external
    [2023-Mar-10 16:16:01] [debug] --------------------------------------------------------------------------------
    [2023-Mar-10 16:16:01] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2023-Mar-10 16:16:01] [ info] Library loaded, loading member functions.
    [2023-Mar-10 16:16:01] [ info] Member functions succesfully loaded.
    [2023-Mar-10 16:16:01] [debug] [ Client] - open
    [2023-Mar-10 16:16:01] [debug] [ Client] - start
    [2023-Mar-10 16:16:01] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 7cf1581a-fb8c-43aa-b5ae-fb63ee446994.
    
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2023-Mar-10 16:16:01] [debug] [  JLink] - Logger sink registered in JLink logger
    [2023-Mar-10 16:16:01] [debug] [  nRFXX] - open
    [2023-Mar-10 16:16:01] [debug] [  nRFXX] - just_check_family
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - open_dll
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2023-Mar-10 16:16:01] [ info] [SeggerBackend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLink_x64.dll.
    [2023-Mar-10 16:16:01] [trace] [ Client] - Command open executed for 39 milliseconds with result 0
    [2023-Mar-10 16:16:01] [debug] [ Client] - config
    [2023-Mar-10 16:16:01] [trace] [ Client] - Command config executed for 6 milliseconds with result 0
    [2023-Mar-10 16:16:01] [debug] [ Client] - enum_emu_snr
    [2023-Mar-10 16:16:01] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2023-Mar-10 16:16:01] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Set batch mode
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - dll_version
    [2023-Mar-10 16:16:01] [ info] [SeggerBackend] - Segger dll version 7.86.c loaded.
    [2023-Mar-10 16:16:01] [trace] [ Worker] - Command open executed for 4 milliseconds with result 0
    [2023-Mar-10 16:16:01] [debug] [  nRFXX] - config
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - enum_emu_snr
    [2023-Mar-10 16:16:01] [trace] [ Worker] - Command config executed for 4 milliseconds with result 0
    [2023-Mar-10 16:16:01] [trace] [ Client] - Command enum_emu_con_info executed for 4 milliseconds with result 0
    [2023-Mar-10 16:16:01] [debug] [ Client] - connect_to_emu_with_snr
    [2023-Mar-10 16:16:01] [debug] [  nRFXX] - enum_emu_con_info
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - enum_emu_con_info
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Mar-10 16:16:01] [trace] [ Worker] - Command enum_emu_con_info executed for 3 milliseconds with result 0
    [2023-Mar-10 16:16:01] [debug] [  nRFXX] - connect_to_emu_with_snr
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_get_num_emus
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Segger logging enabled.
    [2023-Mar-10 16:16:01] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Nov  7 2022 16:22:01
    [2023-Mar-10 16:16:01] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Nov  7 2022 16:22:01
    [2023-Mar-10 16:16:01] [trace] [  JLink] - Hardware: V1.00
    [2023-Mar-10 16:16:01] [trace] [  JLink] - S/N: 1050316948
    [2023-Mar-10 16:16:01] [trace] [  JLink] - OEM: SEGGER
    [2023-Mar-10 16:16:01] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2023-Mar-10 16:16:01] [trace] [  JLink] - USB speed mode: Full speed (12 MBit/s)
    [2023-Mar-10 16:16:01] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2023-Mar-10 16:16:01] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2023-Mar-10 16:16:01] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 25.912ms returns "O.K."  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_Lock()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.002ms returns 0x01  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.002ms returns 0x00  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.004ms returns 0x00  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.012ms returns 0  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.731ms returns 0x00  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - 128000000 Hz / n, n >= 64
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.010ms  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.121ms  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_GetSpeed()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.006ms returns 2000  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_GetSN()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.004ms returns 1050316948  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.006ms  
    [2023-Mar-10 16:16:01] [debug] [  nRFXX] - read_device_family
    [2023-Mar-10 16:16:01] [debug] [  nRFXX] - read_device_family
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.005ms returns 0x01  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_Lock()  
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - read_debug_port_idr
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - read_debug_port_register
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - coresight_configure
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.248ms returns 0  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 100.468ms returns 0  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - read_debug_port_idr
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - read_debug_port_register
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.663ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.595ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 1.015ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.673ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.616ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.610ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.944ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.937ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.757ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.680ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.692ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [ Client] - Command connect_to_emu_with_snr executed for 168 milliseconds with result -102
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.603ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.656ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.612ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.592ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.574ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.513ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.530ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.566ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.593ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.643ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.647ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.536ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.531ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.728ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.490ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.504ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.500ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.601ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.528ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.014ms  
    [2023-Mar-10 16:16:01] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 165 milliseconds with result -102
    [2023-Mar-10 16:16:01] [debug] [  nRFXX] - close
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.033ms returns 0x01  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_Lock()  
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - close
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - disconnect_from_emu
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - is_connected_to_device
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_IsConnected()  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.037ms returns FALSE  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.563ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.553ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.584ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.550ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.539ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.594ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.528ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.476ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.510ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.548ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.495ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.570ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.473ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.628ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.528ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.779ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.562ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.553ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.531ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.537ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.587ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.507ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.488ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.549ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.587ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.928ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.534ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.470ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.499ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.491ms returns -1  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_HasError()  
    [2023-Mar-10 16:16:01] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Mar-10 16:16:01] [trace] [  JLink] - - 0.069ms  
    [2023-Mar-10 16:16:01] [trace] [  JLink] - JLINK_Close()  
    [2023-Mar-10 16:16:01] [debug] [SeggerBackend] - Segger Backend closed.
    [2023-Mar-10 16:16:01] [debug] [  nRFXX] - nRF family DLL closed
    [2023-Mar-10 16:16:01] [trace] [ Client] - Command close executed for 56 milliseconds with result 0
    [2023-Mar-10 16:16:01] [debug] [ Client] - terminate
    [2023-Mar-10 16:16:01] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2023-Mar-10 16:16:01] [trace] [ Worker] - Command close executed for 53 milliseconds with result 0
    [2023-Mar-10 16:16:01] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2023-Mar-10 16:16:01] [trace] [ Worker] - Executed 6 commands for 229 milliseconds
    [2023-Mar-10 16:16:01] [debug] [ Client] - Worker process exited with code: 0
    [2023-Mar-10 16:16:01] [debug] [ Client] - Worker process exited with code: 0
    [2023-Mar-10 16:16:01] [debug] [ Client] - Child process terminated with result 0
    [2023-Mar-10 16:16:01] [trace] [ Client] - Executed 6 commands for 273 milliseconds
    [2023-Mar-10 16:16:01] [debug] [ Client] - terminate
    

    Jlink version is 7.86b

    Thank you

  • Hello,

    Please see that nRF52 only supports external devices powered with 3V. Can you recheck what voltage your custom board is powered with? Is it  because of the hardware, do you have any schematics or layout files for checking or reviewing.

    Kind Regards,

    Abhijith

  • Hi, I figured out the problem. The connections were right but there was a loose contact between the P20 on the DK and my custom board. Sorry for the mess here.

    Thank you.

Related