Blackmagic is essentially the hardware I am proposing for a dongle project, I will investigate further but at first pass it appears that it replaces OpenOCD and only uses GDB. I will see if not having OpenOCD is what I really want, I had not considered a direct GDB device.
What I believe I want, and what I wanted before these replies, is a cheap/basic JTAG/SWD/ST-LINK/ICSP (and probably other programming/debugging protocol) tool with support for various voltages, basically a bluepill with level shifters which is what Versaloon was and Blackmagic appears to be AND I want to be able to provide an OpenOCD package bundled with everything needed to get going without grabbing pieces elsewhere on the web. While there are plenty of schematics for FTDI based dongles, the FTDI drivers cannot be included with OpenOCD right out of the box which is a non-starter as far as I am concerned. While a full speed trace is nice, it would come at about 10-15 times what I want so ORBTrace is out for me too. There may still be a project here but I need to look at the Blackmagic further - or if someone can tell me more about it I would welcome an informed discussion. Thanks Mike On Mon, Oct 11, 2021 at 9:29 AM Uwe Bonnes < [email protected]> wrote: > Antonio Borneo writes: > ... > > It would depend on what you want to achieve. > > If you only need JTAG/SWD, then there are several open-HW > > implementation with FTDI already supported by OpenOCD, e.g. > > https://github.com/diegoherranz/steppenprobe > > But if you have other ideas, like electrical isolation PC-board, or > > ethernet connection ... then you could consider a new project. > > There is also available CMSIS-DAP firmware from ARM, under Apache-2.0 > > license. It can be ported on several MCUs. > > > > Personally I would be interested in implementing a high-speed trace > > port adapter for ARM targets, but I'm afraid of the missing skills (on > > my side) on the high-speed PCB and cabling. > > > > I would like to throw in the BMP project. It provides a GDB server on > the dongle, able to talk to many cortex devices including RP2040, and > in pending branches to Riscv GD32VF103 and restricted to ESP32-C3. It > also provides remote access to the SWD/JTAG generics and some > high-level procedures like writing a block of memory. This allows a PC > based incarnation of the GDB server for easy debugging, but also > command line access. > > An OpenOCD backend still needs to be implemented, but an > openFPGALoader backend is pending as a Pull request. > > BMP firmware runs on native BMP boards, > Bluepills with 128 kiB, on Stlinkv2 after reflashing the bootloader, > on Stlinkv2-1 with the original ST Bootloader and more platforms. > > So consider before starting something new... > > Other things to watch: > - radiooperator CMSIS-Dap for Stm32F103 and StlinkV3 > - Dragonprobe for RP2040 > > Cheers > -- > Uwe Bonnes [email protected] > > Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt > --------- Tel. 06151 1623569 ------- Fax. 06151 1623305 --------- >
