Thanks - these seem to be the key errors in the verbose log file: ``` Line 357: Error: 308 224554 arm_adi_v5.c:570 mem_ap_read(): Failed to read memory at 0x40015800 Line 370: Error: 321 224559 arm_adi_v5.c:570 mem_ap_read(): Failed to read memory at 0x40015800 Line 377: Error: 328 224560 stm32l4x.c:1851 stm32l4_probe(): invalid bank base address Line 378: Error: 329 224560 core.c:291 get_flash_bank_by_num(): auto_probe failed Line 379: Error: 330 224560 gdb_server.c:1061 gdb_new_connection(): Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'. Line 380: Error: 331 224560 server.c:94 add_connection(): attempted 'gdb' connection rejected ``` So it would make sense to drill into these in more detail first.
--- **[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:** Sun Jun 04, 2023 12:43 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.