Open DBY29681 opened 3 months ago
Hello, i have similar problem. I am training flesh stm32H503 via STM32CubeMX and VSCode on ubuntu 22. Thanks you for help.
Open On-Chip Debugger 0.12.0-00024-g34afaa939 (2024-08-29-13:52) [https://github.com/STMicroelectronics/OpenOCD]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Error: The selected transport doesn't support this target
/usr/local/bin/../share/openocd/scripts/target/stm32h5x.cfg:55: Error:
in procedure 'script'
at file "embedded:startup.tcl", line 28
at file "./openocd.cfg", line 8
at file "/usr/local/bin/../share/openocd/scripts/target/stm32h5x.cfg", line 55
Having this same problem, with the STM32H563 Nucleo 144 board
I found that if I set the CHIPNAME to something that wasn't stm32h5x, it diddn't like it. I had it set to STM32H563 before. I just removed the chipname setting all together, since it is set in the stm32h5x.cfg and it works now
Can you share your configuration? I remember configuring the target as stm32h5x and encountering this error where the linking script cannot find the target under the openocd target
Open On-Chip Debugger 0.12.0-00024-g34afaa939 (2024-05-31-15:10) [https://github.com/STMicroelectronics/OpenOCD]'.
Error: The selected transport doesn't support this target
D:/Environment/MSYS64/mingw64/bin/../share/openocd/scripts/target/stm32h5x.cfg:55: Error:
in procedure 'script'
at file "embedded:startup.tcl", line 28
at file "D:/Environment/MSYS64/mingw64/bin/../share/openocd/scripts/target/stm32h5x.cfg", line 55
Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : auto-selecting first available session transport "hla_swd". To override use 'transport select