Hello,
I have an nRF52840 custom board, I'm unable to connect with the board using J-Link EDU after programming once. Here is the connection diagram, I have used same connections on another board with nRF52832 chip.
Here is the log file:
T3940 4755:806 SEGGER J-Link V6.40b Log File (0002ms, 3126ms total) T3940 4755:806 DLL Compiled: Jan 22 2019 11:30:26 (0002ms, 3126ms total) T3940 4755:806 Logging started @ 2019-12-20 14:22 (0002ms, 3126ms total) T3940 4755:808 JLINK_ExecCommand("EnableAutoUpdateFW", ...). returns 0x00 (0000ms, 3126ms total) T3940 4755:808 JLINK_OpenEx(...) Firmware: J-Link EDU Mini V1 compiled Jan 7 2019 14:01:42 Hardware: V1.00 S/N: 801006937 Feature(s): FlashBP, GDB TELNET listener socket opened on port 19021WEBSRV Starting webserver (0038ms, 3164ms total) T3940 4755:808 WEBSRV Webserver running on local port 19081 (0038ms, 3164ms total) T3940 4755:808 returns O.K. (0038ms, 3164ms total) T3940 4755:846 JLINK_GetEmuCaps() returns 0xB8EA5A33 (0000ms, 3164ms total) T3940 4755:847 JLINK_GetFirmwareString(...) (0000ms, 3164ms total) T3940 4755:848 JLINK_GetDLLVersion() returns 64002 (0000ms, 3164ms total) T3940 4755:848 JLINK_GetHardwareVersion() returns 0x2710 (0000ms, 3164ms total) T3940 4755:848 JLINK_GetHWStatus(...) returns 0x00 (0001ms, 3165ms total) T3940 4755:849 JLINK_ExecCommand("ProjectFile = "E:/COBRA-Hotshot_Firing_System/Hotshot_Firmware/hw_v1.3_sdk16/Hotshot_firmware/hotshot_s140_nrf52840_Debug.jlink"", ...). returns 0x00 (0003ms, 3168ms total) T3940 4755:852 JLINK_EMU_GetCurrConnectionInfo() returns 0 (0000ms, 3168ms total) T3940 4755:852 JLINK_DEVICE_GetIndex(sDeviceName = nRF52840_xxAA) returns 1787 (0000ms, 3168ms total) T3940 4755:852 JLINK_ExecCommand("device = nRF52840_xxAA", ...). Device "NRF52840_XXAA" selected. returns 0x00 (0003ms, 3171ms total) T3940 4755:855 JLINK_DEVICE_GetIndex(sDeviceName = nRF52840_xxAA) returns 1787 (0000ms, 3171ms total) T3940 4755:855 JLINK_DEVICE_GetInfo(DeviceIndex = 1787) returns 0 (0000ms, 3171ms total) T3940 4755:855 JLINK_GetEmuCaps() returns 0xB8EA5A33 (0000ms, 3171ms total) T3940 4755:855 JLINK_TIF_GetAvailable(...) (0000ms, 3171ms total) T3940 4755:856 JLINK_TIF_Select(JLINKARM_TIF_SWD) returns 0x00 (0001ms, 3173ms total) T3940 4755:857 JLINK_GetEmuCaps() returns 0xB8EA5A33 (0000ms, 3173ms total) T3940 4755:857 JLINK_SWO_Control(JLINKARM_SWO_CMD_GET_SPEED_INFO, ...) returns 0x00 (0001ms, 3174ms total) T3940 4755:858 JLINK_SetEndian(ARM_ENDIAN_LITTLE) returns 0x00 (0000ms, 3174ms total) T3940 4755:858 JLINK_GetEmuCaps() returns 0xB8EA5A33 (0000ms, 3174ms total) T3940 4755:858 JLINK_SetSpeed(4000) (0001ms, 3175ms total) T3940 4755:859 JLINK_GetSpeed() returns 0xFA0 (0000ms, 3175ms total) T3940 4755:859 JLINK_Connect() >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF> >0x10F TIF> returns 0xFFFFFFFF (0837ms, 4012ms total) T3940 4756:698 JLINK_IsOpen() returns 0x01 (0000ms, 4012ms total) T3940 4756:730 JLINK_Close() (0003ms, 4015ms total) T3940 4756:730 (0003ms, 4015ms total) T3940 4756:730 Closed (0004ms, 4016ms total)
What I cannot understand that why I cannot connect with boards after programming once successfully. This is the message I receive when try to connect:
Here is the log from J-Link commander:
SEGGER J-Link Commander V6.40 (Compiled Oct 26 2018 15:06:29) DLL version V6.40, compiled Oct 26 2018 15:06:02 Connecting to J-Link via USB...O.K. Firmware: J-Link EDU Mini V1 compiled Jan 7 2019 14:01:42 Hardware version: V1.00 S/N: 801006937 License(s): FlashBP, GDB VTref=3.157V Type "connect" to establish a target connection, '?' for help J-Link>connect Please specify device / core. <Default>: NRF52840_XXAA Type '?' for selection dialog Device>nrf52840_xxaa Please specify target interface: J) JTAG (Default) S) SWD T) cJTAG TIF>s Specify target interface speed [kHz]. <Default>: 4000 kHz Speed>4000 Device "NRF52840_XXAA" selected. Connecting to target via SWD Cannot connect to target. J-Link>
Regards.