rust-embedded / book

Documentation on how to use the Rust Programming Language to develop firmware for bare metal (microcontroller) devices
https://docs.rust-embedded.org/book/
Apache License 2.0
1.08k stars 173 forks source link

Doens't Work Verification OPENOCD #337

Open everton-oriente opened 1 year ago

everton-oriente commented 1 year ago

Hello I am having problems to check my installation this is the output: Obs: I am using stm32f407, I also changed stm32f3x.cfg -> stm32f4x.cfg and also doesn't work

openocd -f interface/stlink.cfg -f target/stm32f3x.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 '. 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 1000 kHz Info : STLINK V2J25S4 (API v2) VID:PID 0483:3748 Info : Target voltage: 2.901471 Warn : target stm32f3x.cpu examination failed Error: jtag status contains invalid mode value - communication failure Polling target stm32f3x.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 100ms Info : Previous state query failed, trying to reconnect Error: jtag status contains invalid mode value - communication failure Polling target stm32f3x.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 300ms Info : starting gdb server for stm32f3x.cpu on 3333 Info : Listening on port 3333 for gdb connections Info : Previous state query failed, trying to reconnect Error: jtag status contains invalid mode value - communication failure Polling target stm32f3x.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 700ms Info : Previous state query failed, trying to reconnect Error: jtag status contains invalid mode value - communication failure Polling target stm32f3x.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 1500ms Info : Previous state query failed, trying to reconnect Error: jtag status contains invalid mode value - communication failure Polling target stm32f3x.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 3100ms Info : Previous state query failed, trying to reconnect Error: jtag status contains invalid mode value - communication failure Polling target stm32f3x.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 6300ms ^Cshutdown command invoked