This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Jlink debug in eclipse and mac

I am able to debug in windows using uVision, and now I port it to use eclipse in mac, however, I am getting GDBServer will be closed error, anything clue what did I do wrong?

SEGGER J-Link GDB Server V4.84 Command Line Version

JLinkARM.dll V4.84 (DLL compiled Mar 28 2014 16:35:10)

-----GDB Server start settings----- GDBInit file: none GDB Server Listening port: 2331 SWO raw output listening port: 2332 Terminal I/O port: 2333 Accept remote connection: localhost only Generate logfile: off Verify download: on Init regs on start: on Silent mode: off Single run mode: on Target connection timeout: 5 sec. ------J-Link related settings------ J-Link Host interface: USB J-Link script: none J-Link settings file: none ------Target related settings------ Target device: nRF51822_xxAA_s110 Target interface: SWD Target interface speed: 30kHz Target endian: little

Connecting to J-Link... J-Link is connected. Firmware: J-Link OB-SAM3U128 V1 compiled Dec 11 2013 20:20:11 Hardware: V1.00 S/N: 480205216 Checking target voltage... Target voltage: 3.30 V Listening on TCP/IP port 2331 Connecting to target...ERROR: Could not connect to target. Target connection failed. GDBServer will be closed...

Related