Skip to content

Instantly share code, notes, and snippets.

@Dirbaio
Created May 11, 2021 02:15
Show Gist options
  • Save Dirbaio/6c79a3e77b91fdf04b00d6170243908e to your computer and use it in GitHub Desktop.
Save Dirbaio/6c79a3e77b91fdf04b00d6170243908e to your computer and use it in GitHub Desktop.
DEBUG probe_rs::probe::cmsisdap::tools > Searching for CMSIS-DAP probes using libusb
DEBUG probe_rs::probe::cmsisdap::tools > Found 0 CMSIS-DAP probes using libusb, searching HID
DEBUG probe_rs::probe::cmsisdap::tools > Found 0 CMSIS-DAP probes total
DEBUG jaylink > libusb 1.0.24.11584
DEBUG jaylink > libusb has capability API: true
DEBUG jaylink > libusb has HID access: true
DEBUG jaylink > libusb has hotplug support: true
DEBUG jaylink > libusb can detach kernel driver: true
DEBUG jaylink > open_usb: device descriptor: DeviceDescriptor {
bLength: 0x12,
bDescriptorType: 0x1,
bcdUSB: 0x200,
bDeviceClass: 0xef,
bDeviceSubClass: 0x2,
bDeviceProtocol: 0x1,
bMaxPacketSize: 0x40,
idVendor: 0x1366,
idProduct: 0x1055,
bcdDevice: 0x100,
iManufacturer: 0x1,
iProduct: 0x2,
iSerialNumber: 0x3,
bNumConfigurations: 0x1,
}
DEBUG jaylink > scanning 8 interfaces
TRACE jaylink > active configuration descriptor: ConfigDescriptor {
bLength: 0x9,
bDescriptorType: 0x2,
wTotalLength: 0xfd,
bNumInterfaces: 0x8,
bConfigurationValue: 0x1,
iConfiguration: 0x4,
bmAttributes: 0x80,
bMaxPower: 0x32,
extra: Some(
[
0x8,
0xb,
0x0,
0x2,
0x2,
0x2,
0x0,
0x5,
],
),
}
TRACE jaylink > interface #1 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x0,
bAlternateSetting: 0x0,
bNumEndpoints: 0x1,
bInterfaceClass: 0x2,
bInterfaceSubClass: 0x2,
bInterfaceProtocol: 0x1,
iInterface: 0x5,
}
TRACE jaylink > interface #2 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x1,
bAlternateSetting: 0x0,
bNumEndpoints: 0x2,
bInterfaceClass: 0xa,
bInterfaceSubClass: 0x0,
bInterfaceProtocol: 0x0,
iInterface: 0x6,
}
TRACE jaylink > interface #3 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x2,
bAlternateSetting: 0x0,
bNumEndpoints: 0x1,
bInterfaceClass: 0x2,
bInterfaceSubClass: 0x2,
bInterfaceProtocol: 0x1,
iInterface: 0x7,
}
TRACE jaylink > interface #4 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x3,
bAlternateSetting: 0x0,
bNumEndpoints: 0x2,
bInterfaceClass: 0xa,
bInterfaceSubClass: 0x0,
bInterfaceProtocol: 0x0,
iInterface: 0x8,
}
TRACE jaylink > interface #5 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x4,
bAlternateSetting: 0x0,
bNumEndpoints: 0x1,
bInterfaceClass: 0x2,
bInterfaceSubClass: 0x2,
bInterfaceProtocol: 0x1,
iInterface: 0x9,
}
TRACE jaylink > interface #6 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x5,
bAlternateSetting: 0x0,
bNumEndpoints: 0x2,
bInterfaceClass: 0xa,
bInterfaceSubClass: 0x0,
bInterfaceProtocol: 0x0,
iInterface: 0xa,
}
TRACE jaylink > interface #7 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x6,
bAlternateSetting: 0x0,
bNumEndpoints: 0x2,
bInterfaceClass: 0xff,
bInterfaceSubClass: 0xff,
bInterfaceProtocol: 0xff,
iInterface: 0xb,
}
TRACE jaylink > endpoint descriptors: [
EndpointDescriptor {
bLength: 0x7,
bDescriptorType: 0x5,
bEndpointAddress: 0x8d,
bmAttributes: 0x2,
wMaxPacketSize: 0x40,
bInterval: 0x1,
},
EndpointDescriptor {
bLength: 0x7,
bDescriptorType: 0x5,
bEndpointAddress: 0x8,
bmAttributes: 0x2,
wMaxPacketSize: 0x40,
bInterval: 0x1,
},
]
DEBUG jaylink > J-Link interface is #6
TRACE jaylink > interface #8 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x7,
bAlternateSetting: 0x0,
bNumEndpoints: 0x2,
bInterfaceClass: 0x8,
bInterfaceSubClass: 0x6,
bInterfaceProtocol: 0x50,
iInterface: 0xc,
}
TRACE jaylink > write 1 bytes: [e8]
TRACE jaylink > read 4 bytes: [33, 5a, ea, b8]
DEBUG jaylink > legacy caps: GET_HW_VERSION | READ_CONFIG | WRITE_CONFIG | SPEED_INFO | GET_MAX_BLOCK_SIZE | GET_HW_INFO | RESET_STOP_TIMED | SELECT_IF | GET_COUNTERS | GET_CPU_CAPS | EXEC_CPU_CMD | SWO | REGISTER | INDICATORS | TEST_NET_SPEED | GET_CAPS_EX
TRACE jaylink > write 1 bytes: [ed]
TRACE jaylink > read 32 bytes: [33, 5a, ea, b8, 1c, 7c, b1, 42, a1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
DEBUG jaylink::capabilities > unknown ext. capability bits: 0xA142B17C1CB8EA5A33 truncated to 0xB8EA5A33 (RESERVED_0 | GET_HW_VERSION | READ_CONFIG | WRITE_CONFIG | SPEED_INFO | GET_MAX_BLOCK_SIZE | GET_HW_INFO | RESET_STOP_TIMED | SELECT_IF | GET_COUNTERS | GET_CPU_CAPS | EXEC_CPU_CMD | SWO | REGISTER | INDICATORS | TEST_NET_SPEED | GET_CAPS_EX)
DEBUG jaylink > extended caps: GET_HW_VERSION | READ_CONFIG | WRITE_CONFIG | SPEED_INFO | GET_MAX_BLOCK_SIZE | GET_HW_INFO | RESET_STOP_TIMED | SELECT_IF | GET_COUNTERS | GET_CPU_CAPS | EXEC_CPU_CMD | SWO | REGISTER | INDICATORS | TEST_NET_SPEED | GET_CAPS_EX
TRACE jaylink > write 2 bytes: [c7, ff]
TRACE jaylink > read 4 bytes: [2, 0, 0, 0]
TRACE probe_rs::probe::cmsisdap::tools > Attempting to open device matching 1366:1055
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 004 Device 003: ID 05e3:0749
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 004 Device 002: ID 2109:0817
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 004 Device 001: ID 1d6b:0003
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 003 Device 001: ID 1d6b:0002
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 002 Device 002: ID 0bda:0328
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 002 Device 001: ID 1d6b:0003
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 005: ID 06cb:009a
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 004: ID 04f2:b614
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 008: ID 2109:8888
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 011: ID 05ac:024f
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 009: ID 046d:c05a
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 006: ID 05ac:1006
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 003: ID 2109:2817
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 017: ID 1366:1055
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 013: ID 8087:0aaa
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 012: ID 04f2:b615
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 010: ID 058f:9540
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 007: ID 056a:5193
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
TRACE probe_rs::probe::cmsisdap::tools > Trying device Bus 001 Device 001: ID 1d6b:0002
TRACE probe_rs::probe::cmsisdap::tools > Error opening: Access
DEBUG probe_rs::probe::cmsisdap::tools > Attempting to open 1366:1055 in CMSIS-DAP v1 mode
DEBUG probe_rs::probe::stlink::usb_interface > Acquired libusb context.
DEBUG jaylink > open_usb: device descriptor: DeviceDescriptor {
bLength: 0x12,
bDescriptorType: 0x1,
bcdUSB: 0x200,
bDeviceClass: 0xef,
bDeviceSubClass: 0x2,
bDeviceProtocol: 0x1,
bMaxPacketSize: 0x40,
idVendor: 0x1366,
idProduct: 0x1055,
bcdDevice: 0x100,
iManufacturer: 0x1,
iProduct: 0x2,
iSerialNumber: 0x3,
bNumConfigurations: 0x1,
}
DEBUG jaylink > scanning 8 interfaces
TRACE jaylink > active configuration descriptor: ConfigDescriptor {
bLength: 0x9,
bDescriptorType: 0x2,
wTotalLength: 0xfd,
bNumInterfaces: 0x8,
bConfigurationValue: 0x1,
iConfiguration: 0x4,
bmAttributes: 0x80,
bMaxPower: 0x32,
extra: Some(
[
0x8,
0xb,
0x0,
0x2,
0x2,
0x2,
0x0,
0x5,
],
),
}
TRACE jaylink > interface #1 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x0,
bAlternateSetting: 0x0,
bNumEndpoints: 0x1,
bInterfaceClass: 0x2,
bInterfaceSubClass: 0x2,
bInterfaceProtocol: 0x1,
iInterface: 0x5,
}
TRACE jaylink > interface #2 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x1,
bAlternateSetting: 0x0,
bNumEndpoints: 0x2,
bInterfaceClass: 0xa,
bInterfaceSubClass: 0x0,
bInterfaceProtocol: 0x0,
iInterface: 0x6,
}
TRACE jaylink > interface #3 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x2,
bAlternateSetting: 0x0,
bNumEndpoints: 0x1,
bInterfaceClass: 0x2,
bInterfaceSubClass: 0x2,
bInterfaceProtocol: 0x1,
iInterface: 0x7,
}
TRACE jaylink > interface #4 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x3,
bAlternateSetting: 0x0,
bNumEndpoints: 0x2,
bInterfaceClass: 0xa,
bInterfaceSubClass: 0x0,
bInterfaceProtocol: 0x0,
iInterface: 0x8,
}
TRACE jaylink > interface #5 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x4,
bAlternateSetting: 0x0,
bNumEndpoints: 0x1,
bInterfaceClass: 0x2,
bInterfaceSubClass: 0x2,
bInterfaceProtocol: 0x1,
iInterface: 0x9,
}
TRACE jaylink > interface #6 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x5,
bAlternateSetting: 0x0,
bNumEndpoints: 0x2,
bInterfaceClass: 0xa,
bInterfaceSubClass: 0x0,
bInterfaceProtocol: 0x0,
iInterface: 0xa,
}
TRACE jaylink > interface #7 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x6,
bAlternateSetting: 0x0,
bNumEndpoints: 0x2,
bInterfaceClass: 0xff,
bInterfaceSubClass: 0xff,
bInterfaceProtocol: 0xff,
iInterface: 0xb,
}
TRACE jaylink > endpoint descriptors: [
EndpointDescriptor {
bLength: 0x7,
bDescriptorType: 0x5,
bEndpointAddress: 0x8d,
bmAttributes: 0x2,
wMaxPacketSize: 0x40,
bInterval: 0x1,
},
EndpointDescriptor {
bLength: 0x7,
bDescriptorType: 0x5,
bEndpointAddress: 0x8,
bmAttributes: 0x2,
wMaxPacketSize: 0x40,
bInterval: 0x1,
},
]
DEBUG jaylink > J-Link interface is #6
TRACE jaylink > interface #8 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x7,
bAlternateSetting: 0x0,
bNumEndpoints: 0x2,
bInterfaceClass: 0x8,
bInterfaceSubClass: 0x6,
bInterfaceProtocol: 0x50,
iInterface: 0xc,
}
TRACE jaylink > write 1 bytes: [e8]
TRACE jaylink > read 4 bytes: [33, 5a, ea, b8]
DEBUG jaylink > legacy caps: GET_HW_VERSION | READ_CONFIG | WRITE_CONFIG | SPEED_INFO | GET_MAX_BLOCK_SIZE | GET_HW_INFO | RESET_STOP_TIMED | SELECT_IF | GET_COUNTERS | GET_CPU_CAPS | EXEC_CPU_CMD | SWO | REGISTER | INDICATORS | TEST_NET_SPEED | GET_CAPS_EX
TRACE jaylink > write 1 bytes: [ed]
TRACE jaylink > read 32 bytes: [33, 5a, ea, b8, 1c, 7c, b1, 42, a1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
DEBUG jaylink::capabilities > unknown ext. capability bits: 0xA142B17C1CB8EA5A33 truncated to 0xB8EA5A33 (RESERVED_0 | GET_HW_VERSION | READ_CONFIG | WRITE_CONFIG | SPEED_INFO | GET_MAX_BLOCK_SIZE | GET_HW_INFO | RESET_STOP_TIMED | SELECT_IF | GET_COUNTERS | GET_CPU_CAPS | EXEC_CPU_CMD | SWO | REGISTER | INDICATORS | TEST_NET_SPEED | GET_CAPS_EX)
DEBUG jaylink > extended caps: GET_HW_VERSION | READ_CONFIG | WRITE_CONFIG | SPEED_INFO | GET_MAX_BLOCK_SIZE | GET_HW_INFO | RESET_STOP_TIMED | SELECT_IF | GET_COUNTERS | GET_CPU_CAPS | EXEC_CPU_CMD | SWO | REGISTER | INDICATORS | TEST_NET_SPEED | GET_CAPS_EX
TRACE jaylink > write 2 bytes: [c7, ff]
TRACE jaylink > read 4 bytes: [2, 0, 0, 0]
Error: An error specific to a probe type occured
Caused by:
probe does not support target interface Jtag
Stack backtrace:
0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
at /home/dirbaio/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.40/src/error.rs:519:25
probe_rs_cli::info::show_info_of_device
at /home/dirbaio/akiles/flasher2/probe-rs/cli/src/info.rs:19:49
1: probe_rs_cli::main
at /home/dirbaio/akiles/flasher2/probe-rs/cli/src/main.rs:125:33
2: core::ops::function::FnOnce::call_once
at /home/dirbaio/.rustup/toolchains/nightly-2021-05-07-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
std::sys_common::backtrace::__rust_begin_short_backtrace
at /home/dirbaio/.rustup/toolchains/nightly-2021-05-07-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:125:18
3: std::rt::lang_start::{{closure}}
at /home/dirbaio/.rustup/toolchains/nightly-2021-05-07-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:49:18
4: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
at /rustc/676ee14729462585b969bbc52f32c307403f4126/library/core/src/ops/function.rs:259:13
std::panicking::try::do_call
at /rustc/676ee14729462585b969bbc52f32c307403f4126/library/std/src/panicking.rs:379:40
std::panicking::try
at /rustc/676ee14729462585b969bbc52f32c307403f4126/library/std/src/panicking.rs:343:19
std::panic::catch_unwind
at /rustc/676ee14729462585b969bbc52f32c307403f4126/library/std/src/panic.rs:431:14
std::rt::lang_start_internal
at /rustc/676ee14729462585b969bbc52f32c307403f4126/library/std/src/rt.rs:34:21
5: main
6: __libc_start_main
7: _start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment