Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cargo-1.80 run -- info --probe 1d50:6018:3586399B3032 --protocol swd
- Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
- Running `target/debug/probe-rs info --probe '1d50:6018:3586399B3032' --protocol swd`
- Probing target via SWD
- ARM Chip with debug port Default:
- Debug Port: DPv2, MINDP, Designer: STMicroelectronics, Part: 0x0, Revision: 0xf, Instance: 0x0f
- └── 0 MemoryAP (AmbaAhb5)
- └── Error during access: The selected probe does not support the 'ARM' interface.
- Debugging RISC-V targets over SWD is not supported. For these targets, JTAG is the only supported protocol. RISC-V specific information cannot be printed.
- Debugging Xtensa targets over SWD is not supported. For these targets, JTAG is the only supported protocol. Xtensa specific information cannot be printed.
- $ cargo-1.80 run -- info --probe 1d50:6018:3586399B3032 --protocol jtag
- Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
- Running `target/debug/probe-rs info --probe '1d50:6018:3586399B3032' --protocol jtag`
- Probing target via JTAG
- thread 'main' panicked at probe-rs/src/probe/blackmagic/arm.rs:108:40:
- called `Result::unwrap()` on an `Err` value: Probe(Other("probe returned unexpected result: 1997857035"))
- note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
- $ env RUST_BACKTRACE=1 cargo-1.80 run -- info --probe 1d50:6018:3586399B3032 --protocol jtag
- Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s
- Running `target/debug/probe-rs info --probe '1d50:6018:3586399B3032' --protocol jtag`
- Probing target via JTAG
- thread 'main' panicked at probe-rs/src/probe/blackmagic/arm.rs:108:40:
- called `Result::unwrap()` on an `Err` value: Probe(Other("probe returned unexpected result: 1997857035"))
- stack backtrace:
- 0: rust_begin_unwind
- at /build/rustc-1.80-3U1vnV/rustc-1.80-1.80.1+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:652:5
- 1: core::panicking::panic_fmt
- at /build/rustc-1.80-3U1vnV/rustc-1.80-1.80.1+dfsg0ubuntu1~bpo0/library/core/src/panicking.rs:72:14
- 2: core::result::unwrap_failed
- at /build/rustc-1.80-3U1vnV/rustc-1.80-1.80.1+dfsg0ubuntu1~bpo0/library/core/src/result.rs:1679:5
- 3: core::result::Result<T,E>::unwrap
- at /build/rustc-1.80-3U1vnV/rustc-1.80-1.80.1+dfsg0ubuntu1~bpo0/library/core/src/result.rs:1102:23
- 4: probe_rs::probe::blackmagic::arm::BlackMagicProbeArmDebug::new
- at ./probe-rs/src/probe/blackmagic/arm.rs:108:9
- 5: <probe_rs::probe::blackmagic::arm::UninitializedBlackMagicArmProbe as probe_rs::architecture::arm::communication_interface::UninitializedArmProbe>::initialize
- at ./probe-rs/src/probe/blackmagic/arm.rs:72:25
- 6: probe_rs::cmd::info::try_show_arm_dp_info::{{closure}}
- at ./probe-rs-tools/src/bin/probe-rs/cmd/info.rs:228:13
- 7: core::result::Result<T,E>::and_then
- at /build/rustc-1.80-3U1vnV/rustc-1.80-1.80.1+dfsg0ubuntu1~bpo0/library/core/src/result.rs:1346:22
- 8: probe_rs::cmd::info::try_show_arm_dp_info
- at ./probe-rs-tools/src/bin/probe-rs/cmd/info.rs:224:11
- 9: probe_rs::cmd::info::try_show_info
- at ./probe-rs-tools/src/bin/probe-rs/cmd/info.rs:132:15
- 10: probe_rs::cmd::info::Cmd::run
- at ./probe-rs-tools/src/bin/probe-rs/cmd/info.rs:71:39
- 11: probe_rs::main
- at ./probe-rs-tools/src/bin/probe-rs/main.rs:317:34
- 12: core::ops::function::FnOnce::call_once
- at /build/rustc-1.80-3U1vnV/rustc-1.80-1.80.1+dfsg0ubuntu1~bpo0/library/core/src/ops/function.rs:250:5
- note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement