Should be due to this https://sourceforge.net/p/openocd/tickets/308/ It is fixed in OpenOCD master branch.
Antonio On Sat, Apr 23, 2022 at 12:15 AM Bob Ensink <b...@twisthink.com> wrote: > I just upgraded from Ubuntu Server 20.04 to 22.04 so I could install and > use the latest version of openocd. > > I now have version 0.11.0 but I am getting a segmentation fault as shown > below. > > This happens with two boards: > > ST Nucleo-F091RC > > ST STM32WB Nucleo board > > > > > > twisthink@nuc-tester-45166:~$ openocd --file > /usr/share/openocd/scripts/board/st_nucleo_f0.cfg > > Open On-Chip Debugger 0.11.0 > > Licensed under GNU GPL v2 > > For bug reports, read > > http://openocd.org/doc/doxygen/bugs.html > > Info : The selected transport took over low-level target control. The > results might differ compared to plain JTAG/SWD > > srst_only separate srst_nogate srst_open_drain connect_deassert_srst > > > > Info : Listening on port 6666 for tcl connections > > Info : Listening on port 4444 for telnet connections > > Info : clock speed 1000 kHz > > Segmentation fault (core dumped) > > > > When the board is disconnected, it does not segfault, but fails ‘normally’ > with Error: open failed > > > > Thanks in advance for any help you can provide. > > > > > > > > > > *Bob Ensink* > > Team Lead - Principal Software Engineer > > M: 616.634.7153 > > b...@twisthink.com > > twisthink.com > > > > This message and its contents are confidential and proprietary. > > >