I did not know that, switching to dap interface got more output, but still 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
"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
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : STLINK V3J11M3B5S1 (API v3) VID:PID 0483:374F
Info : Target voltage: 3.273161
Info : Unable to match requested speed 500 kHz, using 200 kHz
Info : Unable to match requested speed 500 kHz, using 200 kHz
Info : clock speed 200 kHz
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x0be12477
Error: [stm32wbax.cpu] Cortex-M PARTNO 0x0 is unrecognized
Warn : target stm32wbax.cpu examination failed
Info : starting gdb server for stm32wbax.cpu on 3333
Info : Listening on port 3333 for gdb connections
Error: [stm32wbax.cpu] Cortex-M PARTNO 0x0 is unrecognized
Error: [stm32wbax.cpu] Cortex-M PARTNO 0x0 is unrecognized
Error: [stm32wbax.cpu] Cortex-M PARTNO 0x0 is unrecognized
TARGET: stm32wbax.cpu - Not examined
GDB Server stopped, exit code 1
~~~
---
**[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:44 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 [email protected] 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.