Solder the ribbon cable to the 6-pin connector, and be sure you mark the first pin with a different colour, to later help you plug the connector in the proper position. a 20-pin 2.54mm (0.1”) female, dual raw (2x10), in-line connector, to match the J-Link male connector.a 6-pin 2.54mm (0.1”) female, single raw, in-line connector, to match the STM board header.a 6 wire ribbon cable, about 15 cm (6”) long.The solution is a custom ribbon cable, to connect the 6-pin to the 20-pin J-Link, and a short strap to bring Vcc to pin 1 of the 6-pin connector, so that J-Link can detect the board is up and running. The custom J-Link to ST cableįor those equipped with a soldering iron, it is relatively easy to adapt the existing 6-pin connector to J-Link. However, please note that not all J-Link features are available via this solution, which is somehow a J-Link Lite version.įor a fully featured J-Link solution, a little harware is required. In a very inspired move to address this issue, SEGGER provided an upgrade path, and most of the ST bemo boards can now be converted to J-Link please follow the SEGGER Converting ST-LINK on-board into a J-Link page.Īfter the firmware upgrade, you’ll be able to connect the J-Link GDB server via the existing board USB port. Convert the ST-LINK on-board into a J-Link Preferably the J-Link debug plug-in would be used, but, for costs reasons, ST did not provide the standard JTAG connector, so it is currently not possible to connect to these boards with an external J-Link probe. Unfortunately ST does not provide a portable GDB server to support the ST-LINK/V2 protocol, and using these STM32 boards out of the box on GNU/Linux or macOS is not possible.įor a few limited tests, the OpenOCD plug-in can be used, but the reliability of OpenOCD is not appropriate for professional use. The protocol used by this programmer is ST-LINK/V2, an ST protocol. OverviewĪs most vendors do, ST also designed the cheap STM32 DISCOVERY and NUCLEO boards to include an on-board programmer. This page explains how to build a cable to connect the J-Link to STM32 DISCOVERY and NUCLEO boards. 2 Convert the ST-LINK on-board into a J-Link.
0 Comments
Leave a Reply. |