rust-stm32f4-disco-blinky icon indicating copy to clipboard operation
rust-stm32f4-disco-blinky copied to clipboard

issues w 0.11.0 openocd

Open donbright opened this issue 8 months ago • 0 comments

Hi, having some issues. When i run arm gdb it just says ??() and doesnt halt/reset.

please note also that openocd now says anything other than stlink.cfg is deprecated and just links back to stlink.cfg

openocd -f  /usr/share/openocd/scripts/interface/stlink.cfg \
        -f /usr/share/openocd/scripts/target/stm32f4x.cfg

Open On-Chip Debugger 0.11.0
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>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 2000 kHz
Info : STLINK V2J36M26 (API v2) VID:PID 0483:374B
Info : Target voltage: 2.888446
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : starting gdb server for stm32f4x.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Info : device id = 0x20036419
Info : flash size = 2048 kbytes
Info : Dual Bank 2048 kiB STM32F42x/43x/469/479 found
Info : flash size = 512 bytes
Warn : Prefer GDB command "target extended-remote 3333" instead of "target remote 3333"

in other window

don@faith:~/rust-stm32f4-disco-blinky$ arm-none-eabi-gdb -q -ex "target remote :3333" target/thumbv7em-none-eabihf/debug/rust-stm32f4-disco-blinky
Reading symbols from target/thumbv7em-none-eabihf/debug/rust-stm32f4-disco-blinky...
Remote debugging using :3333
0x080b2ac2 in ?? ()
(gdb) 

versions


Hardware is STM32F429I-DISCO (based on example info app that comes with board)

$ cat /etc/issue
Linux Mint 21.3 Virginia \n \l

$ uname -a
Linux faith 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May  7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

~/rust-stm32f4-disco-blinky$ rustup --version
rustup 1.27.1 (54dd3d00f 2024-04-24)
info: The currently active `rustc` version is `rustc 1.79.0 (129f3b996 2024-06-10)`

arm-none-eabi-gdb --version
GNU gdb (GNU Arm Embedded Toolchain 10.3-2021.10) 10.2.90.20210621-git

itmdump 0.3.1


thanks

donbright avatar Jun 17 '24 02:06 donbright