Skip to content

Instantly share code, notes, and snippets.

@jessebraham
Created May 30, 2023 18:35
Show Gist options
  • Save jessebraham/f3351621fe3821656d5f7b01541f1532 to your computer and use it in GitHub Desktop.
Save jessebraham/f3351621fe3821656d5f7b01541f1532 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.26.11724
DEBUG jaylink > libusb has capability API: true
DEBUG jaylink > libusb has HID access: false
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: 0x0,
bDeviceSubClass: 0x0,
bDeviceProtocol: 0x0,
bMaxPacketSize: 0x40,
idVendor: 0x1366,
idProduct: 0x101,
bcdDevice: 0x100,
iManufacturer: 0x1,
iProduct: 0x2,
iSerialNumber: 0x3,
bNumConfigurations: 0x1,
}
DEBUG jaylink > scanning 1 interfaces
DEBUG jaylink > J-Link interface is #0
DEBUG jaylink > legacy caps: GetHwVersion | ReadConfig | WriteConfig | SpeedInfo | GetMaxBlockSize | GetHwInfo | ResetStopTimed | SelectIf | GetCounters | GetCpuCaps | ExecCpuCmd | Swo | Register | Indicators | TestNetSpeed | GetCapsEx
DEBUG jaylink::capabilities > unknown ext. capability bits: 0xA146B07C1CB8EA5A33 truncated to 0xB8EA5A33 (Reserved0 | GetHwVersion | ReadConfig | WriteConfig | SpeedInfo | GetMaxBlockSize | GetHwInfo | ResetStopTimed | SelectIf | GetCounters | GetCpuCaps | ExecCpuCmd | Swo | Register | Indicators | TestNetSpeed | GetCapsEx)
DEBUG jaylink > extended caps: GetHwVersion | ReadConfig | WriteConfig | SpeedInfo | GetMaxBlockSize | GetHwInfo | ResetStopTimed | SelectIf | GetCounters | GetCpuCaps | ExecCpuCmd | Swo | Register | Indicators | TestNetSpeed | GetCapsEx
DEBUG probe_rs::probe::cmsisdap::tools > Attempting to open 1366:0101 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: 0x0,
bDeviceSubClass: 0x0,
bDeviceProtocol: 0x0,
bMaxPacketSize: 0x40,
idVendor: 0x1366,
idProduct: 0x101,
bcdDevice: 0x100,
iManufacturer: 0x1,
iProduct: 0x2,
iSerialNumber: 0x3,
bNumConfigurations: 0x1,
}
DEBUG jaylink > scanning 1 interfaces
DEBUG jaylink > J-Link interface is #0
DEBUG jaylink > legacy caps: GetHwVersion | ReadConfig | WriteConfig | SpeedInfo | GetMaxBlockSize | GetHwInfo | ResetStopTimed | SelectIf | GetCounters | GetCpuCaps | ExecCpuCmd | Swo | Register | Indicators | TestNetSpeed | GetCapsEx
DEBUG jaylink::capabilities > unknown ext. capability bits: 0xA146B07C1CB8EA5A33 truncated to 0xB8EA5A33 (Reserved0 | GetHwVersion | ReadConfig | WriteConfig | SpeedInfo | GetMaxBlockSize | GetHwInfo | ResetStopTimed | SelectIf | GetCounters | GetCpuCaps | ExecCpuCmd | Swo | Register | Indicators | TestNetSpeed | GetCapsEx)
DEBUG jaylink > extended caps: GetHwVersion | ReadConfig | WriteConfig | SpeedInfo | GetMaxBlockSize | GetHwInfo | ResetStopTimed | SelectIf | GetCounters | GetCpuCaps | ExecCpuCmd | Swo | Register | Indicators | TestNetSpeed | GetCapsEx
DEBUG probe_rs::probe::jlink > J-Link returned interface CJtag, which is not supported by probe-rs.
DEBUG probe_rs::probe::jlink > Supported speeds: SpeedInfo { base_freq: 96000000, min_div: 24 }
DEBUG probe_rs::probe::jlink > Attaching to J-Link
DEBUG probe_rs::probe::jlink > Attaching with protocol 'JTAG'
INFO probe_rs::probe::jlink > J-Link: S/N: 801009879
DEBUG probe_rs::probe::jlink > J-Link: Capabilities: GetHwVersion | ReadConfig | WriteConfig | SpeedInfo | GetMaxBlockSize | GetHwInfo | ResetStopTimed | SelectIf | GetCounters | GetCpuCaps | ExecCpuCmd | Swo | Register | Indicators | TestNetSpeed | GetCapsEx
INFO probe_rs::probe::jlink > J-Link: Firmware version: J-Link EDU Mini V1 compiled Oct 2 2020 17:00:40
INFO probe_rs::probe::jlink > J-Link: Hardware version: J-Link 1.0.0
INFO probe_rs::probe::jlink > J-Link: Target voltage: 3.30 V
DEBUG probe_rs::probe::jlink > Resetting JTAG chain using trst
DEBUG probe_rs::probe::jlink > Resetting JTAG chain by setting tms high for 32 bits
DEBUG probe_rs::probe::jlink > Response to reset: [true, true, true, true, true, true]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
DEBUG probe_rs::probe::jlink > Read from DR: [229, 52, 0, 18]
INFO probe_rs::probe::jlink > JTAG IDCODE: 0x120034e5
DEBUG probe_rs::probe::jlink > Attached succesfully
DEBUG probe_rs::probe::jlink > Write IR: [8], len=5
DEBUG probe_rs::probe::jlink > Write DR: [7], len=8
DEBUG probe_rs::probe::jlink > Write DR: [135], len=8
DEBUG probe_rs::probe::jlink > Write IR: [28], len=5
DEBUG probe_rs::probe::jlink > Write DR: [135], len=8
DEBUG probe_rs::probe::jlink > Write DR: [1, 0, 0, 0], len=32
DEBUG probe_rs::probe::jlink > Write DR: [128], len=8
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: (Probe { inner: JLink { handle: JayLink { manufacturer: "SEGGER", product: "J-Link", serial: "000801009879" }, swo_config: None, jtag_idle_cycles: 100, ir_len: 5, protocol: Some(Jtag), supported_protocols: [Jtag, Swd], current_ir_reg: 28, speed_khz: 100, probe_statistics: ProbeStatistics { num_transfers: 0, num_extra_transfers: 0, num_io_calls: 0, num_wait_resp: 0, num_faults: 0, num_line_resets: 0 }, swd_settings: SwdSettings { num_idle_cycles_between_writes: 2, num_retries_after_wait: 1000, max_retry_idle_cycles_after_wait: 128, idle_cycles_before_write_verify: 8, idle_cycles_after_transfer: 8 } }, attached: true }, TargetNotFound)', probe-rs/examples/xtensa.rs:18:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment