Escapement Project

Verge

Open CMSIS-DAP firmware for NXP's MCU-Link and MCU-Link Pro

Verge takes the place of NXP's firmware on the probe. Any CMSIS-DAP host drives it, as it drives NXP's.

Through probe-rs, Verge is faster than NXP's firmware at every clock both complete. It speaks cJTAG, which NXP's firmware doesn't. And it reads right at clocks where NXP's firmware misreads.

Verge generates the SWD and JTAG transfer code at runtime for the clock you ask for. At a fast clock it calibrates read sampling against your target when it attaches. One image runs on both probes.

Get started All docs All measurements

3.39× the write rate of NXP's firmware V3.174, over SWD through probe-rs: Verge 2,258 KiB/s at 50 MHz, NXP's firmware 667 KiB/s at 20 MHz, the fastest clock it reads right at.

Install and update

With verge, a command line and a desktop app for Linux, Windows and macOS

  1. Get verge

    Download the archive for your system from verge's releases. Each holds the command line and the desktop app, with a checksum and a signature.

  2. See what is attached

    verge list

    Each MCU-Link, the firmware it runs, and how it can update.

  3. Update

    verge update

    The latest release, its signature checked first. A probe running NXP's firmware from V3.122 needs no jumper.

To put NXP's firmware back, verge update --stock installs it from your LinkServer installation. Getting started has the details.

On each probe

The two probes, not the MCU-Links built into evaluation boards

Standalone MCU-LinkMCU-Link Pro
WiresSWD, JTAG, and cJTAG in OScan1, 2, 5 and 6SWD, JTAG, and cJTAG in OScan1, 2, 5 and 6
SWOUART encoding, up to 30 MbaudUART encoding, up to 30 Mbaud
Serial portsOneTwo; the second is 3.3 V only
DIO pinsFour, on J8's pads; 3.3 V onlyFour, on J19
SPI and I2CNoBridges through vendor commands
Target supplyNo1.8 or 3.3 V, up to 400 mA
Energy captureNoVoltage, current and energy, on two current ranges
Verge AuxA second interface, for tools to use while a debugger holds the probeA second interface, for tools to use while a debugger holds the probe
UpdatesWith verge, without the ISP jumperWith verge, without the ISP jumper

Wires

As an analyser recorded them at 1 ns, 2026-11-04

Every figure here comes from a recording of Verge's wire. Point at, tap or tab to an underlined one to see the stretch of wire it comes from.

SWD

One read of the target's flash: the request, the turnaround and acknowledge, and 32 bits of data and parity. Asked for 50 MHz, Verge sends each request at 50 MHz and reads data at 37.5 MHz.

Verge (GCC): 64 KiB flash reads at 50, 37.5, 30 and 10 MHz928 ms; 2 channels: SWCLK, SWDIO; 412 KiB
JTAG

Asked for 30 or 50 MHz, Verge's TCK runs at 30 MHz in its fast bursts: 85% of their periods are 33 ns.

Verge (GCC): probe-rs JTAG throughput10.8 s; 4 channels: TCK, TMS, TDI, TDO; 4.3 MiB
cJTAG

Every JTAG bit is a frame of packets on TMSC. In OScan1 a frame has three: inverted TDI, TMS and TDO. With packets at 50 MHz, a frame takes 127 ns, a JTAG clock of 7.9 MHz. In OScan5 a bit in a shift takes two packets, 100 ns. The TDO packet is the long one: the probe waits out the target's TDO delay before ending it.

Verge (GCC): probe-rs cJTAG OScan1 throughput29.5 s; 2 of 3 channels: TCKC, TMSC; 11 MiBVerge (GCC): probe-rs cJTAG OScan5 throughput22.3 s; 2 of 3 channels: TCKC, TMSC; 9.5 MiB

The measurements page has every recording, with NXP's firmware's wire beside Verge's. All measurements

Measured

Against NXP's firmware, 2026-11-04

Through probe-rs, Verge writes over SWD at 3.39× the rate of NXP's firmware V3.174: 2,258 KiB/s at 50 MHz, against 667 KiB/s at 20 MHz, the fastest clock NXP's firmware reads right at.

Figure 1. 4 KiB writes to an MSPM0L1306 through probe-rs, by the SWD clock asked for: Verge's Clang build and NXP's firmware V3.174. The host was probe-rs 17beb8e80, a build of the project's fork with changes for speed that the probe-rs under verge does not have. Past 20 MHz NXP's firmware reads wrong, and its runs failed: both at 30 MHz, one of two at 50 MHz. Its line ends at 20 MHz.
MHzVergeNXP's firmware
ClangGCCV3.174
1 81.0 81.3 76.7
2 162.8 162.0 148.1
5 395.3 394.9 297.8
10 744.8 746.0 524.9
20 1,238.6 1,184.2 666.7
30 1,779.8 1,641.9 failed *
50 2,257.8 2,176.0 744.6 *
Table 1. The same writes in KiB/s, for both of Verge's builds. Each figure is the median of two runs. NXP's figure at 50 MHz is from one run: the other failed. * NXP's firmware reads wrong at that clock.

How it works

Two cores: one for the host, one for the target

HostUSB
LPC55S69

CPU 0

Answers the host

  • USB and every endpoint
  • The serial ports
  • The energy stream
  • LEDs, restarts
mailbox

CPU 1

Drives the target

  • CMSIS-DAP and vendor commands
  • Wire code, generated for the clock asked for
  • SWO, energy capture, the Pro's pins
TargetSWD, JTAG, cJTAG
CPU 1 takes no interrupts. It waits for work by polling a mailbox that CPU 0 raises, so nothing on its own core lands in the middle of a transfer. Every pin change of a transfer sits on one of the 150 MHz core's cycles. Architecture and Code generation have the detail.

Docs

Written beside the code, in mculink-verge, verge and verge-probe

Using Verge
Getting started, updating and recovering a probe, the wires and their clocks, trace and serial ports, the Pro and its energy capture, and every verge command.
For host authors
For a tool that drives the probe: how it identifies itself, its vendor commands, Verge Aux and the energy stream, bringing up a cJTAG target, and the Rust library verge is built on.
Building it yourself
Building, checking and releasing the firmware and verge.
Internals
How the firmware works inside: the two cores, concurrency, the buses, timing, code generation, cJTAG, the boards and the stacks.
Measurement log
The evidence behind the figures on the other pages: what the bench measured, newest first.