Skip to content

Instantly share code, notes, and snippets.

@teburd
Created April 22, 2022 21:59
Show Gist options
  • Save teburd/dac491e81fbb364b2da8d75c52b6897f to your computer and use it in GitHub Desktop.
Save teburd/dac491e81fbb364b2da8d75c52b6897f to your computer and use it in GitHub Desktop.
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 > libusb 1.0.26.11724
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: 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
TRACE jaylink > active configuration descriptor: ConfigDescriptor {
bLength: 0x9,
bDescriptorType: 0x2,
wTotalLength: 0x20,
bNumInterfaces: 0x1,
bConfigurationValue: 0x1,
iConfiguration: 0x4,
bmAttributes: 0x80,
bMaxPower: 0x32,
extra: [],
}
TRACE jaylink > interface #1 descriptors:
TRACE jaylink > InterfaceDescriptor {
bLength: 0x9,
bDescriptorType: 0x4,
bInterfaceNumber: 0x0,
bAlternateSetting: 0x0,
bNumEndpoints: 0x2,
bInterfaceClass: 0xff,
bInterfaceSubClass: 0xff,
bInterfaceProtocol: 0xff,
iInterface: 0x5,
}
TRACE jaylink > endpoint descriptors: [
EndpointDescriptor {
bLength: 0x7,
bDescriptorType: 0x5,
bEndpointAddress: 0x81,
bmAttributes: 0x2,
wMaxPacketSize: 0x200,
bInterval: 0x1,
},
EndpointDescriptor {
bLength: 0x7,
bDescriptorType: 0x5,
bEndpointAddress: 0x1,
bmAttributes: 0x2,
wMaxPacketSize: 0x200,
bInterval: 0x1,
},
]
DEBUG jaylink > J-Link interface is #0
TRACE jaylink > write 1 bytes: [e8]
TRACE jaylink > read 4 bytes: [bf, 7b, ff, b9]
DEBUG jaylink > legacy caps: GetHwVersion | WriteDcc | AdaptiveClocking | ReadConfig | WriteConfig | WriteMem | ReadMem | SpeedInfo | GetMaxBlockSize | GetHwInfo | SetKsPower | ResetStopTimed | MeasureRtckReact | SelectIf | RwMemArm79 | GetCounters | ReadDcc | GetCpuCaps | ExecCpuCmd | Swo | WriteDccEx | Register | Indicators | TestNetSpeed | GetCapsEx
TRACE jaylink > write 1 bytes: [ed]
TRACE jaylink > read 32 bytes: [bf, 7b, ff, b9, 1d, 7c, b1, 4f, b5, 18, 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: 0x18B54FB17C1DB9FF7BBF truncated to 0x1B9FF7BBF (Reserved0 | GetHwVersion | WriteDcc | AdaptiveClocking | ReadConfig | WriteConfig | WriteMem | ReadMem | SpeedInfo | GetMaxBlockSize | GetHwInfo | SetKsPower | ResetStopTimed | MeasureRtckReact | SelectIf | RwMemArm79 | GetCounters | ReadDcc | GetCpuCaps | ExecCpuCmd | Swo | WriteDccEx | Register | Indicators | TestNetSpeed | GetCapsEx | HwJtagWrite)
DEBUG jaylink > extended caps: GetHwVersion | WriteDcc | AdaptiveClocking | ReadConfig | WriteConfig | WriteMem | ReadMem | SpeedInfo | GetMaxBlockSize | GetHwInfo | SetKsPower | ResetStopTimed | MeasureRtckReact | SelectIf | RwMemArm79 | GetCounters | ReadDcc | GetCpuCaps | ExecCpuCmd | Swo | WriteDccEx | Register | Indicators | TestNetSpeed | GetCapsEx | HwJtagWrite
TRACE jaylink > write 2 bytes: [c7, ff]
TRACE jaylink > read 4 bytes: [fb, 4, 0, 0]
DEBUG probe_rs::probe::jlink > J-Link returned interface Fine, which is not supported by probe-rs.
DEBUG probe_rs::probe::jlink > J-Link returned interface Pic32Icsp, which is not supported by probe-rs.
DEBUG probe_rs::probe::jlink > J-Link returned interface Spi, which is not supported by probe-rs.
DEBUG probe_rs::probe::jlink > J-Link returned interface C2, which is not supported by probe-rs.
DEBUG probe_rs::probe::jlink > J-Link returned interface CJtag, which is not supported by probe-rs.
DEBUG probe_rs::probe::jlink > J-Link returned interface Mc2WireJtag, which is not supported by probe-rs.
TRACE jaylink > write 2 bytes: [c7, 0]
TRACE jaylink > read 4 bytes: [1, 0, 0, 0]
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: 600110758
DEBUG probe_rs::probe::jlink > J-Link: Capabilities: GetHwVersion | WriteDcc | AdaptiveClocking | ReadConfig | WriteConfig | WriteMem | ReadMem | SpeedInfo | GetMaxBlockSize | GetHwInfo | SetKsPower | ResetStopTimed | MeasureRtckReact | SelectIf | RwMemArm79 | GetCounters | ReadDcc | GetCpuCaps | ExecCpuCmd | Swo | WriteDccEx | Register | Indicators | TestNetSpeed | GetCapsEx | HwJtagWrite
TRACE jaylink > write 1 bytes: [1]
TRACE jaylink > read 2 bytes: [70, 0]
TRACE jaylink > read 112 bytes: [4a, 2d, 4c, 69, 6e, 6b, 20, 56, 31, 30, 20, 63, 6f, 6d, 70, 69, 6c, 65, 64, 20, 4e, 6f, 76, 20, 20, 32, 20, 32, 30, 32, 31, 20, 31, 32, 3a, 31, 34, 3a, 35, 30, 0, 43, 6f, 70, 79, 72, 69, 67, 68, 74, 20, 32, 30, 30, 33, 2d, 32, 30, 31, 35, 20, 53, 45, 47, 47, 45, 52, 3a, 20, 77, 77, 77, 2e, 73, 65, 67, 67, 65, 72, 2e, 63, 6f, 6d, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
INFO probe_rs::probe::jlink > J-Link: Firmware version: J-Link V10 compiled Nov 2 2021 12:14:50
TRACE jaylink > write 1 bytes: [f0]
TRACE jaylink > read 4 bytes: [88, 8a, 1, 0]
INFO probe_rs::probe::jlink > J-Link: Hardware version: J-Link 10.10.0
TRACE jaylink > write 1 bytes: [7]
TRACE jaylink > read 8 bytes: [f3, c, 1, 0, 0, 0, 1, 1]
INFO probe_rs::probe::jlink > J-Link: Target voltage: 3.32 V
DEBUG probe_rs::probe::jlink > Resetting JTAG chain using trst
TRACE jaylink > write 1 bytes: [2]
DEBUG probe_rs::probe::jlink > Resetting JTAG chain by setting tms high for 32 bits
TRACE jaylink > write 6 bytes: [cf, 2d, 6, 0, 1f, 0]
TRACE jaylink > 6 TMS/TDI bits sent; reading 1 response bytes
TRACE jaylink > read 2 bytes: [0, 0]
DEBUG probe_rs::probe::jlink > Response to reset: [false, false, false, false, false, false]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
TRACE jaylink > write 14 bytes: [cf, 0, 25, 0, 1, 0, 0, 0, c, 0, 0, 0, 0, 0]
TRACE jaylink > 37 TMS/TDI bits sent; reading 5 response bytes
TRACE jaylink > read 6 bytes: [0, 0, 0, 0, 0, 0]
TRACE probe_rs::probe::jlink > Response: BitIter(0000000000000000000000000000000000000)
DEBUG probe_rs::probe::jlink > Read from DR: [0, 0, 0, 0]
DEBUG probe_rs::probe::jlink > Read 32 bits from DR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment