2025-04-29 8:10 AM - last edited on 2025-04-29 8:40 AM by Andrew Neil
Split from Cmsis-DAP debugger in STM32CubeIDE as this is a new question about a different probe.
Hi guys, sorry i haven't responded, i do not have the daplink anymore, i have it to a friend when i got a diy Blackmagic debug probe, and i have another problem:it works in gdb-multiarch but not in the ide, here is my configuration and gdb.txt file
init:
set logging on
monitor swdp_scan
attach 1
gdb.txt(log):
=cmd-param-changed,param="logging enabled",value="on"
23^done
(gdb)
&"monitor swdp_scan\n"
@"Target voltage: 1.57V\n"
@"Available Targets:\n"
@"No. Att Driver\n"
@" 1 STM32F1 medium density M3\n"
24^done
(gdb)
&"attach 1\n"
~"Attaching to program: /home/kacper/STM32CubeIDE/workspace_1.17.2/bpl6_boot1_test/Debug/bpl6_boot1_test.elf, Remote target\n"
=thread-group-started,id="i1",pid="1"
=thread-created,id="1",group-id="i1"
&"./gdb/thread.c:87: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable."
&"\n"
&"----- Backtrace -----\n"
&"Backtrace unavailable\n"
&"---------------------\n"
~"./gdb/thread.c:87: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable."
~"\nQuit this debugging session? "
~"(y or n) [answered Y; input not from terminal]\n"
&"\nThis is a bug, please report it."
&" For instructions, see:\n"
&"<https://www.gnu.org/software/gdb/bugs/>.\n\n"
~"./gdb/thread.c:87: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable."
~"\nCreate a core file of GDB? "
~"(y or n) [answered Y; input not from terminal]\n"
yes, i have confirmed my ACM port number and it is correct, also i am using the wayland startup script if it matters
Solved! Go to Solution.
2025-04-29 10:05 AM
I don't think there's an expectation that an off-brand debugger should work flawlessly with STM32CubeIDE. Certainly any issues you encounter should be brought up with the maintainers of that project.
Official ST debuggers are cheap, consider getting one.
STLINK-V3MINIE - STLINK-V3 compact in-circuit debugger and programmer for STM32 - STMicroelectronics
2025-04-29 10:05 AM
I don't think there's an expectation that an off-brand debugger should work flawlessly with STM32CubeIDE. Certainly any issues you encounter should be brought up with the maintainers of that project.
Official ST debuggers are cheap, consider getting one.
STLINK-V3MINIE - STLINK-V3 compact in-circuit debugger and programmer for STM32 - STMicroelectronics
2025-04-29 10:29 AM - edited 2025-04-29 10:31 AM
ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.
Blackmagic is not a tool supported by STMicroelectronics, the use of an official tool, like a genuine ST-LINK is recommended, which should be purchased from known and trusted distributors, as mentioned by @TDK.
This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.
Thank you for your understanding.
Regards
/Peter