sudo ./stlink-gdb-proxy02 *** stlink access test *** Using sg_lib 1.58 20100329 : scsi_pt 2.05 20100321 *** stlink_open [/dev/sg7] *** found bsg_major=253 open /dev/sg7 with flags=0x802 *** stlink_current_mode *** CDB[ 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xf5] duration=0 ms notice: requested 96 bytes but got 2 bytes) data_in_len = 2 0x00 0x01 mode: mass *** stlink_exit_dfu_mode *** CDB[ 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x07 0xf3] duration=20 ms : Fixed format, current; Sense key: Illegal Request Additional sense: Invalid command operation code Raw sense data (in hex): 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 requested 96 bytes but got 0 bytes *** stlink_current_mode *** CDB[ 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xf5] duration=0 ms notice: requested 96 bytes but got 2 bytes) data_in_len = 2 0x00 0x01 mode: mass *** stlink_enter_swd_mode *** CDB[ 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xa3 0x20 0xf2] duration=10670 ms transport: Host_status=0x05 [DID_ABORT] Driver_status=0x00 [DRIVER_OK, SUGGEST_OK] *** stlink_current_mode *** CDB[ 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xf5] duration=10 ms notice: requested 96 bytes but got 2 bytes) data_in_len = 2 0x00 0x02 mode: jtag *** stlink_core_id *** CDB[ 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x22 0xf2] duration=10 ms notice: requested 96 bytes but got 4 bytes) data_in_len = 4 0x1b 0xa0 0x14 0x77 *** stlink_exit_debug_mode *** CDB[ 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x21 0xf2] duration=11040 ms transport: Host_status=0x05 [DID_ABORT] Driver_status=0x00 [DRIVER_OK, SUGGEST_OK] *** stlink_current_mode *** CDB[ 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xf5] duration=10 ms notice: requested 96 bytes but got 2 bytes) data_in_len = 2 0x00 0x01 mode: mass *** stlink_close *** -------------------------------------------------------------------------------- ... [167875.088828] end_request: I/O error, dev sdg, sector 63992 [167875.102786] sd 14:0:0:0: [sdg] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [167875.102794] sd 14:0:0:0: [sdg] Sense Key : Illegal Request [current] [167875.102803] sd 14:0:0:0: [sdg] Add. Sense: Logical block address out of range [167875.102811] sd 14:0:0:0: [sdg] CDB: Read(10): 28 00 00 00 f9 f8 00 00 01 00 [167875.102829] end_request: I/O error, dev sdg, sector 63992 [167875.116782] sd 14:0:0:0: [sdg] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [167875.116791] sd 14:0:0:0: [sdg] Sense Key : Illegal Request [current] [167875.116799] sd 14:0:0:0: [sdg] Add. Sense: Logical block address out of range [167875.116808] sd 14:0:0:0: [sdg] CDB: Read(10): 28 00 00 00 08 00 00 00 08 00 [167875.116826] end_request: I/O error, dev sdg, sector 2048 [167875.212805] sd 14:0:0:0: [sdg] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [167875.212820] sd 14:0:0:0: [sdg] Sense Key : Illegal Request [current] [167875.212830] sd 14:0:0:0: [sdg] Add. Sense: Logical block address out of range [167875.212843] sd 14:0:0:0: [sdg] CDB: Read(10): 28 00 00 00 10 00 00 00 08 00 [167875.212863] end_request: I/O error, dev sdg, sector 4096 [167947.190043] usb 3-2: reset full speed USB device using ohci_hcd and address 7 [167971.160045] usb 3-2: reset full speed USB device using ohci_hcd and address 7 [167982.250075] usb 3-2: reset full speed USB device using ohci_hcd and address 7 [168044.180055] usb 3-2: reset full speed USB device using ohci_hcd and address 7 [168055.190043] usb 3-2: reset full speed USB device using ohci_hcd and address 7