-
-
Notifications
You must be signed in to change notification settings - Fork 75
JtagGetIdcodeError #27
Comments
This looks like a $ cargo install probe-rs-cli # if not already installed
$ probe-rs-cli info
$ RUST_LOG=probe_rs=debug probe-rs-cli info # if the previous command failed If |
edit: If I add back the rustflag args, it's working now. No idea. |
sorry, I missed your edit in the issue description. You should always keep those rustflags in .cargo/config. Also you should not set the
We have seen spurious errors from probe-rs when using the JLink before. Different error message but the error happened only once on the first probe-rs connection. We think it may have been a timeout on the probe-rs being too short but were unable to debug further since the error only occurred once. For statistics sake, what probe are you using the STM32 chip? JLink? ST-Link? CMSIS-DAP? If unsure you can run |
ST-Link. I had the message pop up once after - the fix was resetting the device. |
I get this error, anyone able to give me some pointers? RUST_LOG=probe_rs=debug probe-rs-cli info Caused by: probe-rs-cli list |
@coreychristian I would suggest opening a new issue and including the information I requested in this comment #27 (comment) |
Thank you, I will do that, but first I want to rule out a hardware issue before I waste anyone's time with it. I am not able to connect probe-rs, OpenOCD or STM's ST-Link to the board. The only connection I am able to make to the board is via the USART interface using STM's Demonstrator, so I think either the board or my ST-Link clone is faulty. And the log above is from the command you referred me to (that's where I got the idea from thanks). |
This very same error occurs when the STLinkV2 on my stm32f446 nucleo is disconnected from the actual chip by the jumpers. |
For me, the world's okayest noob, I had set the clock speed set incorrectly; let clocks = rcc.cfgr.hclk(8_u32.Hz()).freeze(&mut flash.acr, &mut pwr); should have been let clocks = rcc.cfgr.hclk(8_u32.MHz()).freeze(&mut flash.acr, &mut pwr); |
Hi. Where should I start debugging this? On STM32F3, and switching from openocd:
./cargo/config
:edit: After removing the
line, the error is
Error:
.vector_tablesection is missing
.The text was updated successfully, but these errors were encountered: