Created
October 18, 2019 14:17
-
-
Save blueluna/62e744299c77df4f8460af432d09f524 to your computer and use it in GitHub Desktop.
probe-rs with nrf52840-mdk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ RUST_BACKTRACE=1 cargo flash --target thumbv7em-none-eabihf --example nrf52840-mdk-listener | |
Finished dev [optimized + debuginfo] target(s) in 0.03s | |
Flashing ./target/thumbv7em-none-eabihf/debug/examples/nrf52840-mdk-listener | |
IDR { | |
REVISION: 0x2, | |
DESIGNER: 0x23b, | |
CLASS: MEMAP, | |
_RES0: 0x0, | |
VARIANT: 0x1, | |
TYPE: AMBA_AHB3, | |
} | |
thread 'main' panicked at 'assertion failed: `(left == right)` | |
left: `[3758800384, 103643149, 604520552, 3539992640, 509886552, 474599930, 704650834, 1198576114, 1198530560, 1198530560, 1277605232, 1616912386, 1625300993, 1747471652, 3489793984, 1616912384, 4026580336, 3891722284, 1277080944, 1616978178, 1116227870, 536990466, 3758121312, 1293574304, 4162711552, 130050088, 536924410, 3178258528, 1174779384, 1209206926, 1175724289, 1326604353, 3305229313, 130050104, 511102982, 1208865272, 1614881024, 3187164680, 4160876544, 1208805362, 100689984, 3490385408, 1749633290, 3490130176, 1242188041, 3489662915, 487153674, 3522758720, 18288, 1073865984, 1073865728, 268439552, 1073808384, 1073808640, 1073808896, 1850885685, 0]`, | |
right: `[3758800384, 2285979405, 4283783204, 153957887, 905968658, 581894445, 118449, 671094157, 627571, 30322978, 1412352, 1552444928, 1723221434, 1426186701, 845777018, 3124828814, 367322735, 2706605818, 365044438, 1616978178, 1116227870, 536990466, 3758121312, 1293574304, 4162711552, 130050088, 536924410, 3178258528, 1174779384, 1209206926, 1175724289, 1326604353, 3305229313, 130050104, 511102982, 1208865272, 1614881024, 3187164680, 4160876544, 1208805362, 100689984, 3490385408, 1749633290, 3490130176, 1242188041, 3489662915, 487153674, 3522758720, 18288, 1073865984, 1073865728, 268439552, 1073808384, 1073808640, 1073808896, 1850885685, 0]`', ocd/src/probe/flash/flasher.rs:308:9 | |
stack backtrace: | |
0: backtrace::backtrace::libunwind::trace | |
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.34/src/backtrace/libunwind.rs:88 | |
1: backtrace::backtrace::trace_unsynchronized | |
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.34/src/backtrace/mod.rs:66 | |
2: std::sys_common::backtrace::_print | |
at src/libstd/sys_common/backtrace.rs:47 | |
3: std::sys_common::backtrace::print | |
at src/libstd/sys_common/backtrace.rs:36 | |
4: std::panicking::default_hook::{{closure}} | |
at src/libstd/panicking.rs:200 | |
5: std::panicking::default_hook | |
at src/libstd/panicking.rs:214 | |
6: std::panicking::rust_panic_with_hook | |
at src/libstd/panicking.rs:477 | |
7: std::panicking::continue_panic_fmt | |
at src/libstd/panicking.rs:384 | |
8: std::panicking::begin_panic_fmt | |
at src/libstd/panicking.rs:339 | |
9: ocd::probe::flash::flasher::Flasher::init | |
at ocd/src/probe/flash/flasher.rs:308 | |
10: ocd::probe::flash::flasher::Flasher::run_erase | |
at ocd/src/probe/flash/flasher.rs:336 | |
11: ocd::probe::flash::builder::FlashBuilder::sector_erase_program | |
at ocd/src/probe/flash/builder.rs:730 | |
12: ocd::probe::flash::builder::FlashBuilder::program | |
at ocd/src/probe/flash/builder.rs:294 | |
13: ocd::probe::flash::loader::FlashLoader::commit | |
at ocd/src/probe/flash/loader.rs:214 | |
14: ocd::probe::flash::download::FileDownloader::download_file | |
at ocd/src/probe/flash/download.rs:94 | |
15: cargo_flash::main_try | |
at cargo-flash/src/main.rs:201 | |
16: cargo_flash::main | |
at cargo-flash/src/main.rs:59 | |
17: std::rt::lang_start::{{closure}} | |
at /rustc/625451e376bb2e5283fc4741caa0a3e8a2ca4d54/src/libstd/rt.rs:64 | |
18: std::rt::lang_start_internal::{{closure}} | |
at src/libstd/rt.rs:49 | |
19: std::panicking::try::do_call | |
at src/libstd/panicking.rs:296 | |
20: __rust_maybe_catch_panic | |
at src/libpanic_unwind/lib.rs:80 | |
21: std::panicking::try | |
at src/libstd/panicking.rs:275 | |
22: std::panic::catch_unwind | |
at src/libstd/panic.rs:394 | |
23: std::rt::lang_start_internal | |
at src/libstd/rt.rs:48 | |
24: std::rt::lang_start | |
at /rustc/625451e376bb2e5283fc4741caa0a3e8a2ca4d54/src/libstd/rt.rs:64 | |
25: main | |
26: __libc_start_main | |
27: _start | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment