J-Link OB
The on-board debug probe
With SEGGER's J-Link OB, the full functionality of a J-Link debug probe can easily be added into target board designs for various use cases, such as production test setups, internal development boards, evaluation kits, or even built in to shipping commercial products for in-field debugging or firmware updates.
Overview
The J-Link OB (stands for: on-board) is essentially a microcontroller-based, single-chip J-Link that goes right on the evaluation board. It enhances any target board design with standard features, such as debug support, download into Flash memory and VCOM, without adding extra cost.
The J-Link OB is compatible with and has the same features as the J-Link BASE with reduced, but still great, performance. Customers can fully use, test, and debug the target device (typically a microcontroller) right out of the box. The J-Link OB adds features such as debug support and download into Flash memory, without adding significant extra cost. It supports most IDEs including Eclipse, GDB-based IDEs, and SEGGER Embedded Studio.
The microcontroller that is used as a J-Link OB (on the left side of the evaluation board in the diagram below) has a USB interface on its left side (facing the host) and a JTAG/SWD + SWO interface on its right side (facing the target device).
Connecting the PC and the target CPU
using a regular J-Link.
Connecting the PC and the target CPU
using a J-Link OB.
Key features
- Same features as J-Link BASE
- Compatible with most IDEs
- JTAG, SWD and SWO supported
- "Drag & Drop" interface for intuitive programming of the target device (optional)
- VCOM port (if technically possible)
- Very small form factor
- Allows use of external debug probes
Supported devices
The J-Link OB as a member of the SEGGER J-Link debug probes supports a wide range of CPU cores. The list of supported manufacturers, families, and devices and SoCs includes tens of thousands of devices in hundreds of device families.
Device not listed? Please don’t hesitate to contact us.
Built-in virtual COM port
J-Link OB comes with built-in virtual COM port (VCOM) functionality. This means that in addition to the regular J-Link debug functionality, J-Link will also show up as a COM port in the device manager of the operating system.
Most modern computers don’t have a physical COM port anymore. However, many hardware setups still use UARTs for logging, diagnostics and application control. That’s why a separate COM to USB adapter is needed to get full COM functionality of the target hardware, while debugging at the same time. With J-Link, there’s no need for an additional adapter since J-Link already provides this adaption functionality.
The J-Link VCOM functionality is implemented via SEGGER emUSB-Device, using the CDC-ACM class. J-Link models are shipped with VCOM functionality disabled. It can be enabled via the J-Link Configurator utility. For more information about how to enable VCOM on a J-Link, please refer to the J-Link user guide.
Drag & Drop Programming
The Drag & Drop Programming feature is an optional add-on that allows intuitive programming of the target MCU in a very simple way. The J-Link OB with its drag-and-drop capability appears both as a debug probe and as a flash drive on the user's computer.
The high performance and functionality of flash download using a debugger and a J-Link still exists and is as straightforward as ever, making it faster and easier. With the flash drive option it is now as simple as dragging and dropping a file (a Motorola S-record, an Intel Hex, or a plain binary) onto the J-Link drive. There is no need to install application software. Anyone that can drag and drop a file to a USB memory stick can now program the target on an evaluation board.
This J-Link Drive enables manufacturers and third-party software developers to deploy ready-to-go demonstration applications to customers who can then quickly evaluate the capability of the board, software, and device - all without installing software or drivers. All major operating systems (Windows, macOS, Linux) are supported.
Developed by SEGGER's Embedded Experts team, the J-Link OB offers a compelling opportunity for board manufacturers to provide a highly polished way to deliver integrated solutions to customers, and enhance the experience over time by adding new applications and features that just "drop into place". Once customers are ready to do more than download fixed demonstration applications, they can unleash the full potential of the target board using the J-Link OB as a debug probe backed by unparalleled, industry-wide support. This feature uses SEGGER's Virtual MSD technology.
Please note: The Drag & Drop Programming option is available upon request only. If you are interested or need more information, please do not hesitate to contact us.
Drag & Drop Programming with J-Link OB
Example implementation
The image demonstrates how easily the microcontroller on the SEGGER emPower (V2 Rev. D or later) can be programmed via the Drag & Drop Programming option.
- Connect the J-Link OB to a Windows, Mac or Linux machine via USB and open the file explorer of your choice. J-Link will be shown as a flash drive.
- Drag and drop one of the demo .hex files (download here) to the J-Link drive. Programming will start as soon as you drop the file.
- Relax and watch the demo which starts automatically after a few seconds, once programming is complete!
The following boards are already using J-Link OB implementations that support Drag & Drop Programming:
WebUSB Programming
WebUSB Programming is another optional J-Link OB feature that allows programming of the target MCU in a very easy way, using the web browser.
The high performance and functionality of flash download using a debugger and a J-Link still exists and is as straightforward as ever.
The J-Link OB with WebUSB capability can also be accessed on the user's computer via a web browser:
- Go to this page: https://www.segger.com/jlink_webusb_update_target_firmware.html
- Select the application image to be programmed (Motorola S-record, an Intel Hex, or a plain binary)
- Connect to J-Link OB in the web browser:
- Wait until programming is complete:
Please note: The J-Link OB uses the WebUSB component SEGGER's emUSB-Device. There is no need to install application software. Anyone that can use a browser can now program the target on an evaluation board.
More optional features
Hardware Flow Control
The Hardware Flow Control feature is an optional add-on that allows the J-Link OB to maintain a reliable data transmission via the Virtual COM port (VCOM) using the RTS/CTS lines.
Please note: The Hardware Flow Control option is available upon request only. If you are interested or need more information, please do not hesitate to contact us.
PLUS option
A standard J-Link OB comes with the same options as J-Link BASE. It does not allow the usage of unlimited breakpoints in flash memory, or the use of software packages such Ozone and J-Flash.
With the PLUS option, all of these software packages are also available to the end user of the J-Link OB.
Use cases
Out of the box test environments – evaluation boards
For silicon vendors and software vendors in the embedded market, a test platform for their customers is an important tool within the trial process before the purchase. To provide customers an out-of-the-box hassle-free experience, integrating a debug probe on the evaluation board reduces the requirements on customer side to actually perform their trials.
In-field support interface
Embedded devices that require service in difficult to access locations might benefit from a reduced set of tools to be inserted. Having to wield debug system and probe might prove impossible in such situations. Adding the debug interface to the product would reduce the mechanical effort to service the device to a single USB cable.
Test equipment in production environments
Quality verifications in production might require interfaces that include a control interface similar to the debug interface used in development to introduce signals or inject test firmware images. Such applications might not work with a debug probe alone. To reduce the number of tools, integrating a debug probe in the tool can significantly reduce the size of such test equipment.
Media gallery
Product photos
Videos
Apr. 2019 | 1:34 min
J-Link OB — Drag & Drop Programming
Model overview
The J-Link OB is essentially a microcontroller with a USB device interface running J-Link firmware. Below is a list of currently available options for J-Link-OB, along with the supported cores and interfaces.
Please note: Not every J-Link-OB supports every core and every interface/feature. Other microcontrollers can be supported upon request. If you are looking for a combination that is not yet supported, please contact us.
J-Link OB model | Manual & schematics | OB Device | Supported target cores | JTAG | SWD | VCOM support | Drag & Drop support [1] | SWO speed | Interface speed | Download performance |
---|---|---|---|---|---|---|---|---|---|---|
J-Link-OB-K22-Cortex-M | Download | NXP MK22FN128VLH10 | Cortex-M (ARMv6-M) Cortex-M (ARMv7-M) Cortex-M (ARMv8-M) | 4 MHz | 4 MHz | 200 KB/s | ||||
J-Link-OB-K22-Cortex-A | Cortex-A/R (ARMv7-A/R) Cortex-A/R (ARMv8-A/R) | |||||||||
J-Link-OB-K22-RISCV | RISC-V (RV32, RV64) | |||||||||
J-Link-OB-K22-Full | Cortex-M (ARMv6-M) Cortex-M (ARMv7-M) Cortex-M (ARMv8-M) Cortex-A/R (ARMv7-A/R) Cortex-A/R (ARMv8-A/R) RISC-V (RV32, RV64) | |||||||||
J-Link-OB-RA4M2-Cortex-M | Download | Renesas R7FA4M2AB3CNE QFN48 package Cortex-M33 @ 96 MHz, 256 KB flash | Cortex-M (ARMv6-M) Cortex-M (ARMv7-M) Cortex-M (ARMv8-M) | 4 MHz | 4 MHz | 200 KB/s | ||||
J-Link-OB-RA4M2-RISCV | RISC-V (RV32, RV64) | |||||||||
J-Link-OB-RA4M2-Full | Cortex-M (ARMv6-M) | |||||||||
J-Link-OB-STM32F072-Cortex-M-128KB | Download | ST STM32F072CB UFQFPN48 package No external crystal required Cortex-M0+ @48 MHz, 128 KB flash | Cortex-M (ARMv6-M) Cortex-M (ARMv7-M) Cortex-M (ARMv8-M) | 250 kHz | 2 MHz | 100 KB/s | ||||
J-Link-OB-STM32F072-Cortex-M-64KB | Download | ST STM32F072C8 UFQFPN48 package No external crystal required Cortex-M0+ @48 MHz, 64 KB flash | Cortex-M (ARMv6-M) Cortex-M (ARMv7-M) | 250 kHz | 2 MHz | 100 KB/s | ||||
J-Link-OB-STM32F072-Cortex-A-64KB | Cortex-A/R (ARMv7-A/R) | |||||||||
J-Link-OB-STM32F103-Cortex-M | Download | ST STM32F103TB VFQFPN36 package Cortex-M3 @72 MHz, 128 KB flash | Cortex-M (ARMv6-M) Cortex-M (ARMv7-M) | 4.5 MHz | 2.25 MHz | 150 KB/s | ||||
J-Link-OB-STM32F103-Cortex-A | Cortex-A/R (ARMv7-A/R) |
Supported
Not supported
[1] Optional add-on. Needs to be specified when ordering.
Starter Kits
J-Link OB Starter Kits allow board developers to test the suitability of J-Link OBs on their specific target board. There are different licensing options available for evaluation board and commercial use.
Package content
Every Starter Kit contains:
- 5 OB licenses for initial evaluation purpose only
- J-Link BASE Classic
- 6-Pin Needle Adapter
- Documentation which includes schematic for selected J-Link OB host
- J-Link OB reference board (subject to availability)
- J-Link OB programming utility for testing and production purposes
Licensing
Originally the J-Link OB was intended to be licensed by evaluation board manufacturers and silicon vendors at very reasonable prices. Later, requests came from companies for in-house use, and for use in developing products whereby the J-Link OB stays with the product after development. That's why SEGGER made the J-Link OB available for different areas of application.
Evaluation board manufacturers: Under the license for evaluation board manufacturers, the J-Link OB is provided solely as part of an evaluation board. It is not sold separately and may only be used to debug the device on the evaluation board it comes with. In this case, support is provided via the evaluation board manufacturer and via SEGGER Forum. The J-Link OB may not be used for production purposes.
General purpose use & Buy-outs: The J-Link OB can be licensed to be designed in a product or a software development board (for setting up an automated test environment etc.). A Buy-out license is available upon request.
General purpose use
J-Link OB Fixed Single target – Internal use (FSTI) | J-Link OB Fixed Single target – Shipping product (FSTP) |
---|---|
Description: J-Link OB debug and program only specified target device soldered onto same target board for internal use only — commercial use is permitted. Use example: In-house software development boards or largescale testing. | Description: J-Link OB debug and program only specified target device soldered onto same target board for use within shipping products — commercial use is permitted. Use example: Built in to commercial products which require in-field debugging or firmware updates via debug interface. |
J-Link OB Detachable Multi-target – Internal use (MTDI) | J-Link OB Detachable Multi-target – Production (MTDP) |
---|---|
Description: J-Link OB resides on its own detachable target board and can be used to program multiple targets (same set as supported by J-Link) for internal use only — commercial use is permitted. Use example: Internal test board setup for testing multiple products or product lines. | Description: J-Link OB resides on its own detachable target board and can be used to program multiple targets (same set as supported by J-Link) for production purposes — commercial use is permitted. Use example: Production programming/test setup either internal or at contract manufacturer for multiple products or product lines. |
Required quotation information
For SEGGER to prepare a quotation we need answers to the questions below:
- Model: What J-Link OB model do you need licenses for?
- Usage: Do you want to place the J-Link OB on a publicly available evaluation-board? If not, what is the intended use?
- Target device: What is the name and manufacturer of the target device that is being debugged with this J-Link OB?
- Drag & Drop Programming: Do you need drag & drop support in this J-Link OB?
- Hardware Flow Control: Would you like to enable hardware flow control functionality in this J-Link OB?
FAQ
Q: Who does the configuration for the target device?
A: All of this is done by SEGGER. The customer receives a production utility that programs the J-Link OB correctly, with the capability to program the specified target device.
Q: The device we target has large flash sectors of up to 128 KB per sector. Is this a problem?
A: No. J-Link OB can cope with this.
Q: How fast is the flash programming?
A: Quite fast. Basically as fast as the target device allows it. Total programming time is just slightly more than the time it takes to erase and program the device with very little overhead. On a Nordic Semiconductor NSxxx it takes about 3 seconds to erase and program the entire 256 KB flash.
Q: How can this be so fast?
A: J-Link OB uses SEGGER's real-time OS embOS. Multiple tasks run in parallel, performing multiple operations simultaneously: Downloading the program via USB to the J-Link OB, as well as downloading from the J-Link OB into the RAM of the target device as well as "copying" the RAM content of the target device into flash (the actual flash programming). All run largely in parallel, so that the speed is determined by the slowest of the 3 operations, typically the actual flash programming inside of the target device.
Q: What are the minimum hardware requirements for the J-Link OB?
A: Pretty much the same as for J-Link: 64 KB Flash memory, 16 KB RAM. The only additional requirement is that the MCU used as J-Link OB needs to have a sufficient number of USB Endpoints to accommodate the MSD: 1 for control, 2 bulk for J-Link, 2 bulk for MSD.
Q: Can J-Link work with any kind of Hex or Mot file? Even if only a part of the flash is programmed or the address range is non-consecutive?
A: Yes.