Thank you for your work, unfortunately it runs into an error: ~~~ /usr/bin/openocd -c "tcl_port disabled" -c "gdb_port 3333" -c "telnet_port 4444" -s /usr/share/openocd/scripts -f /home/jan/Projekte/Experimente/Elektronik/stm32wba52cg-test/openocd.cfg -c "program /home/jan/Projekte/Experimente/Elektronik/stm32wba52cg-test/cmake-build-debug/stm32wba52cg-test.elf" -c "init;reset init;" -c "echo (((READY)))" Open On-Chip Debugger 0.12.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 Error: hla_target: invalid parameter -ap-num (> 0) /usr/share/openocd/scripts/target/stm32wbax.cfg:45: Error: in procedure 'script' at file "embedded:startup.tcl", line 28 at file "/home/jan/Projekte/Experimente/Elektronik/stm32wba52cg-test/openocd.cfg", line 11 at file "/usr/share/openocd/scripts/target/stm32wbax.cfg", line 45 GDB Server stopped, exit code 1 ~~~
Using this config file: ~~~ # # Configuration for STM32WBA52 Nucleo board (STM32WBA52CG) # source [find interface/stlink.cfg] transport select hla_swd source [find target/stm32wbax.cfg] reset_config srst_only ~~~ --- **[tickets:#398] Status of STM fork and adding support for new STM32 silicon** **Status:** new **Milestone:** 0.11.0 **Created:** Wed May 31, 2023 11:05 AM UTC by Jan Henke **Last Updated:** Wed May 31, 2023 02:19 PM UTC **Owner:** nobody Hi, I have purchased a STM32WBA52CG nucelo board and noticed OpenOCD does not yet has support for these newer chips STM released in the last months (they released several new series). I stumbled across a fork of OpenOCD created by STM: https://github.com/STMicroelectronics/OpenOCD They have added support for the STM32WBA family to that fork's flash driver along with some other of the new chips (but unfortunately no target config file yet). So I have two questions: 1. What is the status of that fork? Was there any discussion between STM32 and the OpenOCD project in that regard? With OpenOCD being GPL-2 licenced I would assume it is no problem to just cherry picks the relevant commits from that fork back to main OpenOCD? 2. I am struggling with creating a working target config file for the STM32WBA chip. The support was added to the STM32L4x flash driver (which already supports several STM32 families). Is it enough to copy the existing STM32l4x target config and updating the JTAG and SWD values with the correct ones from the STM32WBA reference manual? Best regards Jan Henke --- Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.