We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to flash a Feather M4 Express and it fails with this error message (I also enabled the backtrace):
RUST_LOG=debug cargo hf2 --release --bin blinky_basic DEBUG cargo_project > Project::query(path=/home/plam/Projects/rust-probe-renode-example/knurling-example): root=/home/plam/Projects/rust-probe-renode-example/knurling-example DEBUG cargo_project > workspace search: cwd=/home/plam/Projects/rust-probe-renode-example Finished release [optimized + debuginfo] target(s) in 0.02s Searching for a connected device with known vid/pid pair. Trying Ok(Some("Adafruit Industries")) Ok(Some("Feather M4 Express")) Flashing "/home/plam/Projects/rust-probe-renode-example/knurling-example/target/release/blinky_basic" thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: File', /home/plam/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-hf2-0.3.1/src/main.rs:110:46 stack backtrace: 0: 0x5655551290a0 - std::backtrace_rs::backtrace::libunwind::trace::h25e12e0d899beba0 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 1: 0x5655551290a0 - std::backtrace_rs::backtrace::trace_unsynchronized::h70e61195d6ae3df6 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x5655551290a0 - std::sys_common::backtrace::_print_fmt::hba93ab80d779695a at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/sys_common/backtrace.rs:67:5 3: 0x5655551290a0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf092b5883b4b2e50 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/sys_common/backtrace.rs:46:22 4: 0x56555514b7dc - core::fmt::write::hf68bc350a8f2f0dc at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/fmt/mod.rs:1078:17 5: 0x565555124ce2 - std::io::Write::write_fmt::hf66811b1bc767436 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/io/mod.rs:1517:15 6: 0x56555512b065 - std::sys_common::backtrace::_print::hd425a11bfe1f20f8 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/sys_common/backtrace.rs:49:5 7: 0x56555512b065 - std::sys_common::backtrace::print::h6d678795c1e61e13 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/sys_common/backtrace.rs:36:9 8: 0x56555512b065 - std::panicking::default_hook::{{closure}}::h78a02a4a0dee5e7e at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:208:50 9: 0x56555512abba - std::panicking::default_hook::h56eb7eda02f355a7 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:225:9 10: 0x56555512b801 - std::panicking::rust_panic_with_hook::hb27ea14285131c61 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:591:17 11: 0x56555512b347 - std::panicking::begin_panic_handler::{{closure}}::hc552fcee62aad17f at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:497:13 12: 0x56555512955c - std::sys_common::backtrace::__rust_end_short_backtrace::hb9f0aa9a78e885a0 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/sys_common/backtrace.rs:141:18 13: 0x56555512b2a9 - rust_begin_unwind at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:493:5 14: 0x5655551497a1 - core::panicking::panic_fmt::h12ac4570ea43d06f at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/panicking.rs:92:14 15: 0x5655551495c3 - core::option::expect_none_failed::h096fa60f757b7204 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/option.rs:1268:5 16: 0x565554fe7e59 - cargo_hf2::main::h81234f6f0c65b6e3 17: 0x565554fcdf53 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4d0bd98f68959c70 18: 0x565554fcdf69 - std::rt::lang_start::{{closure}}::h82386a2f9aa02718 19: 0x56555512bc27 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h78040f802d89ccdc at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/ops/function.rs:259:13 20: 0x56555512bc27 - std::panicking::try::do_call::h6853cad536dd09a1 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:379:40 21: 0x56555512bc27 - std::panicking::try::h827495f03a9fbb9a at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:343:19 22: 0x56555512bc27 - std::panic::catch_unwind::h4bdf17571090eb17 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panic.rs:396:14 23: 0x56555512bc27 - std::rt::lang_start_internal::h2f319c33bb013f29 at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/rt.rs:51:25 24: 0x565554fe85a2 - main 25: 0x7f625a9791e2 - __libc_start_main 26: 0x565554fbd4de - _start 27: 0x0 - <unknown>
The text was updated successfully, but these errors were encountered:
Hrm, Im not sure on this one. No other reports have come in.
Are you still getting the error? What version are you using? Maybe a quick cargo install cargo-hf2 --force just to be sure?
cargo install cargo-hf2 --force
Sorry, something went wrong.
No branches or pull requests
I am trying to flash a Feather M4 Express and it fails with this error message (I also enabled the backtrace):
The text was updated successfully, but these errors were encountered: