Skip to content

Instantly share code, notes, and snippets.

@ianrrees
Created December 2, 2020 05:14
Show Gist options
  • Save ianrrees/47fbfb8e0915ed1f0c0825464eddeec9 to your computer and use it in GitHub Desktop.
Save ianrrees/47fbfb8e0915ed1f0c0825464eddeec9 to your computer and use it in GitHub Desktop.
probe-run with wedged ST-Link
warning: unused import: `InputConfig`
--> /home/irees/Projects/20200702 - davis dongle/atsamd/hal/src/common/gpio/v1.rs:26:57
|
26 | use crate::gpio::v2::{self, Alternate, AlternateConfig, InputConfig, OutputConfig, PinId};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: function is never used: `read_pin`
--> /home/irees/Projects/20200702 - davis dongle/atsamd/hal/src/common/gpio/v2/pin.rs:762:15
|
762 | pub(super) fn read_pin(group: *const GROUP, num: u8) -> bool {
| ^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: function is never used: `read_out_pin`
--> /home/irees/Projects/20200702 - davis dongle/atsamd/hal/src/common/gpio/v2/pin.rs:793:15
|
793 | pub(super) fn read_out_pin(group: *const GROUP, num: u8) -> bool {
| ^^^^^^^^^^^^
warning: constant is never used: `BUS_STATE_OWNED`
--> /home/irees/Projects/20200702 - davis dongle/atsamd/hal/src/samd21/sercom/i2c.rs:13:1
|
13 | const BUS_STATE_OWNED: u8 = 2;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: 4 warnings emitted
warning: unused import: `core::cell::UnsafeCell`
--> src/main.rs:13:5
|
13 | use core::cell::UnsafeCell;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `core::cmp`
--> src/main.rs:14:5
|
14 | use core::cmp;
| ^^^^^^^^^
warning: unreachable expression
--> src/main.rs:251:5
|
210 | / loop {
211 | | defmt::info!("Listening on {:f32}", tx1.frequency());
212 | | rfm.frequency(tx1.frequency());
213 | |
... |
248 | | tx1.advance(); // TODO wait on confirmation?
249 | | }
| |_____- any code following this expression is unreachable
250 |
251 | / loop {
252 | | cycle_delay(15 * 1024 * 1024);
253 | | unsafe {
254 | | if let Some(led) = &mut RED_LED {
... |
257 | | }
258 | | }
| |_____^ unreachable expression
|
= note: `#[warn(unreachable_code)]` on by default
warning: unused `core::result::Result` that must be used
--> src/main.rs:171:5
|
171 | rfm.mode(registers::Mode::Receiver);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_must_use)]` on by default
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:172:5
|
172 | / rfm.modulation(registers::Modulation {
173 | | data_mode: registers::DataMode::Packet,
174 | | modulation_type: registers::ModulationType::Fsk,
175 | | shaping: registers::ModulationShaping::Shaping10,
176 | | });
| |_______^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:177:5
|
177 | rfm.bit_rate(19200.0);
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:178:5
|
178 | rfm.fdev(4800.0);
| ^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:179:5
|
179 | / rfm.rx_bw(registers::RxBw {
180 | | dcc_cutoff: registers::DccCutoff::Percent4,
181 | | rx_bw: registers::RxBwFsk::Khz25dot0,
182 | | });
| |_______^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:183:5
|
183 | / rfm.rx_afc_bw(registers::RxBw {
184 | | dcc_cutoff: registers::DccCutoff::Percent4,
185 | | rx_bw: registers::RxBwFsk::Khz50dot0,
186 | | });
| |_______^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:188:5
|
188 | rfm.rssi_threshold(170);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:189:5
|
189 | rfm.preamble(4); // Sets preamble length in bytes
| ^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:190:5
|
190 | rfm.sync(&mut[0xcb, 0x89]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:191:5
|
191 | / rfm.packet(registers::PacketConfig {
192 | | format: registers::PacketFormat::Fixed(10),
193 | | dc: registers::PacketDc::None,
194 | | filtering: registers::PacketFiltering::None,
... |
197 | | auto_rx_restart: true,
198 | | });
| |_______^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:199:5
|
199 | rfm.fifo_mode(registers::FifoMode::NotEmpty);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:200:5
|
200 | / rfm.lna(registers::LnaConfig {
201 | | zin: registers::LnaImpedance::Ohm50,
202 | | gain_select: registers::LnaGain::AgcLoop,
203 | | });
| |_______^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:204:5
|
204 | rfm.continuous_dagc(registers::ContinuousDagc::ImprovedMarginAfcLowBetaOn0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: unused `core::result::Result` that must be used
--> src/main.rs:212:9
|
212 | rfm.frequency(tx1.frequency());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
warning: 17 warnings emitted
Finished release [optimized + debuginfo] target(s) in 0.04s
Running `probe-run --defmt --verbose --chip ATSAMD21G18AU target/thumbv6m-none-eabi/release/davis_dongle`
(HOST) DEBUG Searching registry for chip with name ATSAMD21G18AU
└─ probe_rs::config::registry @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/config/registry.rs:155
(HOST) DEBUG RAM region: 0x20000000-0x20007FFF
└─ probe_run @ src/main.rs:144
(HOST) WARN insufficient DWARF info; compile your program with `debug = 2` to enable location info
└─ probe_run @ src/main.rs:169
(HOST) DEBUG section `.data` is in RAM at 0x20000000-0x2000025B
└─ probe_run @ src/main.rs:204
(HOST) DEBUG section `.bss` is in RAM at 0x2000025C-0x20000C4F
└─ probe_run @ src/main.rs:204
(HOST) DEBUG section `.uninit` is in RAM at 0x20000C50-0x2000104F
└─ probe_run @ src/main.rs:204
(HOST) DEBUG vector table: VectorTable { location: 0, initial_sp: 20008000, reset: b1, hard_fault: 4a59 }
└─ probe_run @ src/main.rs:268
(HOST) DEBUG libusb 1.0.23.11397
└─ jaylink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/jaylink-0.1.5/src/lib.rs:1487
(HOST) DEBUG libusb has capability API: true
└─ jaylink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/jaylink-0.1.5/src/lib.rs:1496
(HOST) DEBUG libusb has HID access: true
└─ jaylink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/jaylink-0.1.5/src/lib.rs:1497
(HOST) DEBUG libusb has hotplug support: true
└─ jaylink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/jaylink-0.1.5/src/lib.rs:1498
(HOST) DEBUG libusb can detach kernel driver: true
└─ jaylink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/jaylink-0.1.5/src/lib.rs:1499
(HOST) DEBUG found 1 probes
└─ probe_run @ src/main.rs:298
(HOST) DEBUG Device Bus 004 Device 004: ID 0bda:8153
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 004 Device 008: ID 21a9:1006
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG No device matches
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:233
(HOST) DEBUG Device Bus 004 Device 007: ID 0bda:0411
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 004 Device 006: ID 0bda:0411
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 004 Device 005: ID 0bda:0411
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 004 Device 003: ID 0bda:0411
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 004 Device 002: ID 0451:8440
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 004 Device 001: ID 1d6b:0003
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 003 Device 001: ID 1d6b:0002
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 002 Device 001: ID 1d6b:0003
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 004: ID 27c6:5395
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 009: ID 0451:82ff
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 007: ID 1050:0407
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG No device matches
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:233
(HOST) DEBUG Device Bus 001 Device 017: ID 10c4:ea60
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 015: ID 0403:6010
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 042: ID 0483:3752
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG No device matches
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:233
(HOST) DEBUG Device Bus 001 Device 043: ID 16c0:27dd
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 013: ID 0bda:5411
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 010: ID 0bda:5411
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 016: ID 10c4:ea60
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 014: ID 0403:6015
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 012: ID 046d:0825
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 011: ID 046d:c05b
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 008: ID 0bda:5411
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 005: ID 0bda:5411
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 003: ID 0451:8442
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 002: ID 0cf3:e300
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 006: ID 0c45:671d
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Device Bus 001 Device 001: ID 1d6b:0002
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:188
(HOST) DEBUG Device open error Access
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:201
(HOST) DEBUG Attempting to open 0483:3752 in CMSIS-DAP v1 mode
└─ probe_rs::probe::daplink::tools @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/daplink/tools.rs:245
(HOST) DEBUG Acquired libusb context.
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:110
(HOST) DEBUG Aquired handle for probe
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:142
(HOST) DEBUG Active config descriptor: ConfigDescriptor { bLength: 9, bDescriptorType: 2, wTotalLength: 105, bNumInterfaces: 3, bConfigurationValue: 1, iConfiguration: 0, bmAttributes: 128, bMaxPower: 150, extra: None }
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:146
(HOST) DEBUG Device descriptor: DeviceDescriptor { bLength: 18, bDescriptorType: 1, bcdUSB: 512, bDeviceClass: 239, bDeviceSubClass: 2, bDeviceProtocol: 1, bMaxPacketSize: 64, idVendor: 1155, idProduct: 14162, bcdDevice: 256, iManufacturer: 1, iProduct: 2, iSerialNumber: 3, bNumConfigurations: 1 }
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:150
(HOST) DEBUG Claimed interface 0 of USB device.
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:156
(HOST) DEBUG Succesfully attached to STLink.
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:193
(HOST) DEBUG Initializing STLink...
└─ probe_rs::probe::stlink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/mod.rs:498
(HOST) TRACE Getting current mode of device...
└─ probe_rs::probe::stlink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/mod.rs:387
(HOST) TRACE Sending command [f5] to STLink, timeout: 1s
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:217
(HOST) TRACE Read 2 bytes, 0 bytes remaining
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:283
(HOST) DEBUG Current device mode: Jtag
└─ probe_rs::probe::stlink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/mod.rs:402
(HOST) TRACE Sending command [f1] to STLink, timeout: 1s
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:217
(HOST) TRACE Read 6 bytes, 0 bytes remaining
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:283
(HOST) DEBUG STLink version: (2, 37)
└─ probe_rs::probe::stlink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/mod.rs:514
(HOST) TRACE Sending command [f7] to STLink, timeout: 1s
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:217
(HOST) TRACE Read 8 bytes, 0 bytes remaining
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:283
(HOST) DEBUG opened probe
└─ probe_run @ src/main.rs:303
(HOST) DEBUG attach(Swd)
└─ probe_rs::probe::stlink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/mod.rs:136
(HOST) TRACE Getting current mode of device...
└─ probe_rs::probe::stlink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/mod.rs:387
(HOST) TRACE Sending command [f5] to STLink, timeout: 1s
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:217
(HOST) TRACE Read 2 bytes, 0 bytes remaining
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:283
(HOST) DEBUG Current device mode: Jtag
└─ probe_rs::probe::stlink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/mod.rs:402
(HOST) DEBUG Switching protocol to SWD
└─ probe_rs::probe::stlink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/mod.rs:145
(HOST) TRACE Sending command [f2, 30, a3, 0] to STLink, timeout: 1s
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:217
(HOST) TRACE Read 2 bytes, 0 bytes remaining
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:283
(HOST) WARN send_jtag_command 242 failed: JtagNoDeviceConnected
└─ probe_rs::probe::stlink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/mod.rs:706
(HOST) TRACE Getting current mode of device...
└─ probe_rs::probe::stlink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/mod.rs:387
(HOST) TRACE Sending command [f5] to STLink, timeout: 1s
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:217
(HOST) TRACE Read 2 bytes, 0 bytes remaining
└─ probe_rs::probe::stlink::usb_interface @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/usb_interface.rs:283
(HOST) DEBUG Current device mode: Jtag
└─ probe_rs::probe::stlink @ /home/irees/.cargo/registry/src/github.com-1ecc6299db9ec823/probe-rs-0.10.1/src/probe/stlink/mod.rs:402
Error: An error with the usage of the probe occured
Caused by:
0: An error specific to a probe type occured
1: Command failed with status JtagNoDeviceConnected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment