Thank you for your video, it was helpful. Although when I was doing the same I was getting exception during `cargo run` Finished dev [unoptimized + debuginfo] target(s) in 0.04s Running `gdb-multiarch -q -x openocd.gdb target/thumbv7em-none-eabihf/debug/embedded-programming` error: could not execute process `gdb-multiarch -q -x openocd.gdb target/thumbv7em-none-eabihf/debug/embedded-programming` (never executed) I couldn't solve it that's why I decided to change my target runner to `runner = "arm-none-eabi-gdb -tui -q -x openocd.gdb` and it started working at first but when it tried to `load` or to `continue` I'm getting: Info : accepting 'gdb' connection on tcp/3333 Info : device id = 0x10006431 Info : flash size = 512 KiB Info : flash size = 512 bytes Hello, world Error: jtag status contains invalid mode value - communication failure Warn : target stm32f4x.cpu is not halted (gdb fileio) Polling target stm32f4x.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 100ms Info : Previous state query failed, trying to reconnect Don't you know how to fix it?
Does it work only on the first try? Can you remove and reapply power to the board; does it work then only once or multiple times? It's important to have the correct target runner. Are you using exactly the same board as the video?
Hi @@JaJakubYT Thanks for the reply. Yes I've tried multiple times. I reapplied power and anyway it's not working. I'm using stm32f411ceu6 board and unfortunatelly I can't succceed it
I event reinstalled cargo to solve this issue Finished dev [unoptimized + debuginfo] target(s) in 0.04s Running `gdb-multiarch -q -x openocd.gdb target/thumbv7em-none-eabihf/debug/embedded-programming` error: could not execute process `gdb-multiarch -q -x openocd.gdb target/thumbv7em-none-eabihf/debug/embedded-programming` (never executed) it didn't help
Good show
Thank you. :-)
Thank you for your video, it was helpful.
Although when I was doing the same I was getting exception during `cargo run`
Finished dev [unoptimized + debuginfo] target(s) in 0.04s
Running `gdb-multiarch -q -x openocd.gdb target/thumbv7em-none-eabihf/debug/embedded-programming`
error: could not execute process `gdb-multiarch -q -x openocd.gdb target/thumbv7em-none-eabihf/debug/embedded-programming` (never executed)
I couldn't solve it that's why I decided to change my target runner to `runner = "arm-none-eabi-gdb -tui -q -x openocd.gdb` and it started working at first
but when it tried to `load` or to `continue` I'm getting:
Info : accepting 'gdb' connection on tcp/3333
Info : device id = 0x10006431
Info : flash size = 512 KiB
Info : flash size = 512 bytes
Hello, world
Error: jtag status contains invalid mode value - communication failure
Warn : target stm32f4x.cpu is not halted (gdb fileio)
Polling target stm32f4x.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 100ms
Info : Previous state query failed, trying to reconnect
Don't you know how to fix it?
Does it work only on the first try? Can you remove and reapply power to the board; does it work then only once or multiple times? It's important to have the correct target runner. Are you using exactly the same board as the video?
Hi @@JaJakubYT
Thanks for the reply. Yes I've tried multiple times. I reapplied power and anyway it's not working. I'm using stm32f411ceu6 board and unfortunatelly I can't succceed it
I event reinstalled cargo to solve this issue
Finished dev [unoptimized + debuginfo] target(s) in 0.04s
Running `gdb-multiarch -q -x openocd.gdb target/thumbv7em-none-eabihf/debug/embedded-programming`
error: could not execute process `gdb-multiarch -q -x openocd.gdb target/thumbv7em-none-eabihf/debug/embedded-programming` (never executed)
it didn't help
@@DavidManukian-k9x
I get the same but that is because 'gdb-multiarch' is not supported on Fedora OS