Skip to main content
Networked embedded test rack with debug probes for remote firmware debugging and CI/CD in India

J-Link Remote Server: Shared Debug Probes, Remote Debugging, and CI/CD Test Farms

GSAS Engineering · · 6 min read

A debug probe used to be a personal tool: one engineer, one USB cable, one target. That model breaks the day your team shares expensive target hardware, or your firmware needs to be tested on a rack of real boards on every merge. SEGGER’s answer has two layers: J-Link Remote Server, a free utility that puts any USB J-Link on the network, and the J-Link PRO family, probes with Ethernet built in.

This guide covers both, with the setup commands, and how Indian firmware teams wire them into hardware-in-the-loop CI/CD.

J-Link Remote Server ships free in the J-Link Software and Documentation Package (Windows, macOS, Linux, including Linux Arm). SEGGER’s knowledge base puts it plainly: it “makes a J-Link accessible via IP, be it in the local network or from anywhere on the world. The J-Link itself does not need to provide an Ethernet interface, USB is sufficient.”

It has two modes:

LAN mode. Start JLinkRemoteServer on the machine the probe is plugged into. Any J-Link tool on the network connects with the connection string IP <RemoteServerIP> and uses the probe as if it were local. This is the standard pattern for a shared lab bench: the target and its J-Link BASE or PLUS stay in the lab, and whoever needs the hardware connects from their desk.

Tunnel mode. For hardware at another site, SEGGER’s tunnel server removes the VPN-and-firewall problem: both the Remote Server and your debugger connect outward to a tunnel server (SEGGER operates jlink.segger.com; you can also run your own), and the probe registers by serial number or a name you choose. SEGGER documents password authentication and optional encryption for tunnel connections. On the client side the connection string is:

IP tunnel:<SerialNumber>[:<Password>]

A favourite trick from SEGGER’s own documentation: a Raspberry Pi running J-Link Remote Server is “the easiest and most commonly used method” to put a USB probe on a wireless network. Install the Linux Arm J-Link package on the Pi, plug in the probe, start the Remote Server, and the bench is suddenly wherever your laptop is.

One documented limitation to plan around: probe firmware updates are not supported over a Remote Server connection, so update probes on a local USB connection during maintenance windows.

Remote Server needs a computer next to the probe. The J-Link PRO removes that computer: it has a 100 Mbit Ethernet interface, ships configured for DHCP, and carries a built-in web server for configuration. SEGGER’s tooling discovers probes on the local subnet automatically, and the PC-side software talks to the probe directly over TCP.

For racks, the J-Link PRO PoE is the version SEGGER positions as “the high-end debug probe for test farms”: IEEE 802.3af Power over Ethernet means one cable per probe for power and data, and a dedicated power-only USB-A port can supply up to 1 A to the target when PoE-powered. Fewer cables per slot is not cosmetic in a farm, every cable is a failure point that shows up as a flaky test.

Sharing is native at the software level too. SEGGER states that “two or more debuggers can use the same J-Link at the same time”, which is also how multi-core debugging works: multiple debugger instances, one probe.

The pieces above become a hardware-in-the-loop pipeline with two SEGGER tools, both free with every J-Link:

J-Link Commander for flash-and-verify stages. Headless invocation:

JLink.exe -device <Device> -if SWD -speed 4000 -autoconnect 1 \
          -CommandFile flash.jlink -ExitOnError 1 -NoGui 1

with a command file as simple as:

r
loadfile firmware.hex
r

Commander exits with code 0 on success and 1 on error, so the pipeline stage passes or fails on the real hardware result. Point it at a networked probe with the IP command (IP <addr> for LAN or a PRO, IP tunnel:<SN> for tunnel mode).

J-Link GDB Server for test harnesses. The command-line version JLinkGDBServerCL is, in SEGGER’s words, identical to the GUI version except for the missing GUI. Start it against a networked probe (-IP <probe-or-remoteserver>), and your test runner connects GDB to port 2331 (target remote <host>:2331), with SWO on 2332 and semihosting on 2333. From there, flashing, breakpointing, and register inspection are all scriptable from your test framework.

For the deeper CLI patterns, batch files, exit-code handling, and production-line scripting, see our companion guide to J-Link Commander in production and CI.

Which setup fits your team

  • One shared bench target: any J-Link + Remote Server in LAN mode on the bench PC (a Raspberry Pi works).
  • Hardware at a customer site or second office: Remote Server in tunnel mode with a password; no VPN paperwork.
  • CI with a handful of targets: a J-Link PRO per target, addressed by IP from the build agents.
  • Growing test farm: J-Link PRO PoE in racks, one Ethernet drop per probe. Our PRO vs ULTRA comparison covers when the network models earn their premium.

Build your test farm with GSAS in India

GSAS Micro Systems is an authorized SEGGER engineering partner in India. We supply the full J-Link range with competitive pricing and short lead times, and our field application engineers in Bengaluru, Hyderabad, Chennai, Pune, Mumbai, and Delhi NCR help teams design probe fleets, rack layouts, Remote Server topologies, and CI/CD integration around real hardware.

Request a quote for single probes or a full farm, or start from the SEGGER portfolio at GSAS.

Interested in SEGGER tools?

Talk to our application engineers for personalized tool recommendations.

Frequently asked questions

What is J-Link Remote Server?
A free utility in SEGGER's J-Link Software and Documentation Package that makes a USB-connected J-Link accessible over IP. Per SEGGER, the J-Link itself does not need an Ethernet interface: USB is sufficient. It runs on Windows, macOS, and Linux, including Arm builds that run on a Raspberry Pi.
Do I need a J-Link PRO for remote debugging?
No. Any J-Link BASE, PLUS, ULTRA, or PRO can be shared over the network by running J-Link Remote Server on the machine it is plugged into. The PRO's advantage is that its built-in 100 Mbit Ethernet puts the probe on the network directly, with no host PC babysitting it.
What is J-Link tunnel mode?
A Remote Server mode that connects a debugger to a J-Link from anywhere, without VPN or firewall changes. Both sides connect out to a tunnel server (SEGGER runs jlink.segger.com), the probe registers by serial number or a name you choose, and SEGGER documents password authentication and optional encryption for the connection.
How does a CI/CD pipeline flash firmware with a J-Link?
Headless J-Link Commander runs a command file that resets, flashes, and verifies the target, and returns exit code 0 on success or 1 on error, which gates the pipeline stage. J-Link GDB Server CL does the same for GDB-based test harnesses. Both can address a networked probe by IP.
Can two developers use the same J-Link at the same time?
Yes. SEGGER states that two or more debuggers can use the same J-Link at the same time, which is how multi-core debugging with multiple debugger instances works over one probe.
Where can I buy J-Link probes for a test farm in India?
GSAS Micro Systems, an authorized SEGGER engineering partner in India, supplies the full J-Link range with competitive pricing and short lead times, and our field application engineers help plan probe fleets, rack layouts, and CI/CD integration.

Stay in the Loop

Get monthly compliance updates, product insights, and engineering best practices delivered to your inbox.