texane/stlink — Issue #44: st-util does not work with stlink/v1 discovery board after last fixes
Author: fredowski
Created: 2012-01-03 18:46:56+00:00
State: open

Hi,

i tried to run st-util from the current version in the repository but it does not work. Here
is my logfile from the current version which is not working:

Friedrich-Beckmanns-MacBook:gdbserver fritz$ ./st-util -s1 -v99
libusb:info [process_new_device] allocating new device for location 0x04000000
libusb:info [process_new_device] found device with address 1 at 001-05ac-8005-09-00
libusb:info [process_new_device] allocating new device for location 0x24000000
libusb:info [process_new_device] found device with address 1 at 001-05ac-8006-09-00
libusb:info [process_new_device] allocating new device for location 0x24600000
libusb:info [process_new_device] found device with address 2 at 002-05ac-8507-ef-02
libusb:info [process_new_device] allocating new device for location 0x06000000
libusb:info [process_new_device] found device with address 1 at 001-05ac-8005-09-00
libusb:info [process_new_device] allocating new device for location 0x06300000
libusb:info [process_new_device] found device with address 2 at 002-05ac-0237-00-00
libusb:info [process_new_device] allocating new device for location 0x06600000
libusb:warning [process_new_device] could not retrieve device descriptor: device not responding. skipping device
libusb:info [process_new_device] allocating new device for location 0x06630000
libusb:warning [process_new_device] could not retrieve device descriptor: device not responding. skipping device
libusb:info [process_new_device] allocating new device for location 0x06400000
libusb:info [process_new_device] found device with address 5 at 005-0483-3744-00-00
libusb:info [process_new_device] allocating new device for location 0x26000000
libusb:info [process_new_device] found device with address 1 at 001-05ac-8006-09-00
libusb:info [darwin_open] device open for access
2012-01-03T19:36:01 WARN src/stlink-sg.c: Your stlink got into a real weird configuration, trying to fix it!
2012-01-03T19:36:01 DEBUG src/stlink-sg.c: setting new configuration (0 -> 1)
libusb:info [get_endpoints] building table of endpoints.
libusb:info [get_endpoints] interface: 0 pipe 1: dir: 1 number: 1
libusb:info [get_endpoints] interface: 0 pipe 2: dir: 0 number: 2
libusb:info [darwin_claim_interface] interface opened
2012-01-03T19:36:03 DEBUG src/stlink-sg.c: Successfully opened stlinkv1 by libusb :)
2012-01-03T19:36:03 DEBUG src/stlink-common.c: *** stlink_reset ***
2012-01-03T19:36:03 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=2
2012-01-03T19:36:03 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x3 00 00 00 00 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status -536854449
libusb:warning [darwin_transfer_status] transfer error: pipe is stalled
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:error [submit_bulk_transfer] bulk transfer failed (dir = In): pipe is stalled (code = 0xe000404f)
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:error [submit_bulk_transfer] bulk transfer failed (dir = In): pipe is stalled (code = 0xe000404f)
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
2012-01-03T19:36:03 WARN src/stlink-sg.c: Receiving failed: -9
data_len = 2 0x2
00 00

2012-01-03T19:36:03 DEBUG src/stlink-sg.c: core reset: unknown
2012-01-03T19:36:03 INFO src/stlink-common.c: Loading device parameters....
2012-01-03T19:36:03 DEBUG src/stlink-common.c: *** stlink_core_id ***
2012-01-03T19:36:03 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=4
2012-01-03T19:36:03 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x22 00 00 00 00 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:error [submit_bulk_transfer] bulk transfer failed (dir = In): pipe is stalled (code = 0xe000404f)
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:error [submit_bulk_transfer] bulk transfer failed (dir = In): pipe is stalled (code = 0xe000404f)
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:error [submit_bulk_transfer] bulk transfer failed (dir = In): pipe is stalled (code = 0xe000404f)
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
2012-01-03T19:36:03 WARN src/stlink-sg.c: Receiving failed: -9
data_len = 4 0x4
00 00 00 00

2012-01-03T19:36:03 DEBUG src/stlink-common.c: core_id = 0x00000000
2012-01-03T19:36:03 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=8
2012-01-03T19:36:03 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x36 00 0x20 0x4 0xe0 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:error [submit_bulk_transfer] bulk transfer failed (dir = In): pipe is stalled (code = 0xe000404f)
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:error [submit_bulk_transfer] bulk transfer failed (dir = In): pipe is stalled (code = 0xe000404f)
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:error [submit_bulk_transfer] bulk transfer failed (dir = In): pipe is stalled (code = 0xe000404f)
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
2012-01-03T19:36:03 WARN src/stlink-sg.c: Receiving failed: -9
2012-01-03T19:36:03 DEBUG src/stlink-common.c: *** stlink_read_debug32 0 is 0xe0042000
2012-01-03T19:36:03 WARN src/stlink-common.c: unknown chip id! 0
2012-01-03T19:36:03 DEBUG src/stlink-common.c: *** looking up stlink version
2012-01-03T19:36:03 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=6
2012-01-03T19:36:03 DEBUG src/stlink-sg.c: Sending CDB [ 0xf1 00 00 00 00 00 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:error [submit_bulk_transfer] bulk transfer failed (dir = In): pipe is stalled (code = 0xe000404f)
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:error [submit_bulk_transfer] bulk transfer failed (dir = In): pipe is stalled (code = 0xe000404f)
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:error [submit_bulk_transfer] bulk transfer failed (dir = In): pipe is stalled (code = 0xe000404f)
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
2012-01-03T19:36:03 WARN src/stlink-sg.c: Receiving failed: -9
2012-01-03T19:36:03 DEBUG src/stlink-common.c: st vid = 0x0000 (expect 0x0483)
2012-01-03T19:36:03 DEBUG src/stlink-common.c: stlink pid = 0x0000
2012-01-03T19:36:03 DEBUG src/stlink-common.c: stlink version = 0x0
2012-01-03T19:36:03 DEBUG src/stlink-common.c: jtag version = 0x0
2012-01-03T19:36:03 DEBUG src/stlink-common.c: swim version = 0x0
2012-01-03T19:36:03 DEBUG src/stlink-common.c: notice: the firmware doesn't support a jtag/swd interface
2012-01-03T19:36:03 DEBUG src/stlink-common.c: notice: the firmware doesn't support a swim interface
2012-01-03T19:36:03 ERROR src/stlink-sg.c: WTF? successfully opened, but unable to read version details. BROKEN!
Error: could not open stlink device
Friedrich-Beckmanns-MacBook:gdbserver fritz$

=============================

Here ist the logfile from the working version which includes my fix to read the parameters before the big pull which superseded that fix.

Friedrich-Beckmanns-MacBook:gdbserver fritz$ ./st-util -s1 -v99
libusb:info [process_new_device] allocating new device for location 0x04000000
libusb:info [process_new_device] found device with address 1 at 001-05ac-8005-09-00
libusb:info [process_new_device] allocating new device for location 0x24000000
libusb:info [process_new_device] found device with address 1 at 001-05ac-8006-09-00
libusb:info [process_new_device] allocating new device for location 0x24600000
libusb:info [process_new_device] found device with address 2 at 002-05ac-8507-ef-02
libusb:info [process_new_device] allocating new device for location 0x06000000
libusb:info [process_new_device] found device with address 1 at 001-05ac-8005-09-00
libusb:info [process_new_device] allocating new device for location 0x06300000
libusb:info [process_new_device] found device with address 2 at 002-05ac-0237-00-00
libusb:info [process_new_device] allocating new device for location 0x06600000
libusb:warning [process_new_device] could not retrieve device descriptor: device not responding. skipping device
libusb:info [process_new_device] allocating new device for location 0x06630000
libusb:warning [process_new_device] could not retrieve device descriptor: device not responding. skipping device
libusb:info [process_new_device] allocating new device for location 0x06400000
libusb:info [process_new_device] found device with address 5 at 005-0483-3744-00-00
libusb:info [process_new_device] allocating new device for location 0x26000000
libusb:info [process_new_device] found device with address 1 at 001-05ac-8006-09-00
libusb:info [darwin_open] device open for access
2012-01-03T19:45:17 WARN src/stlink-sg.c: Your stlink got into a real weird configuration, trying to fix it!
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: setting new configuration (0 -> 1)
libusb:info [get_endpoints] building table of endpoints.
libusb:info [get_endpoints] interface: 0 pipe 1: dir: 1 number: 1
libusb:info [get_endpoints] interface: 0 pipe 2: dir: 0 number: 2
libusb:info [darwin_claim_interface] interface opened
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Successfully opened stlinkv1 by libusb :)
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** looking up stlink version
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=6
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf1 00 00 00 00 00 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: st vid = 0x0483 (expect 0x0483)
2012-01-03T19:45:17 DEBUG src/stlink-common.c: stlink pid = 0x3744
2012-01-03T19:45:17 DEBUG src/stlink-common.c: stlink version = 0x1
2012-01-03T19:45:17 DEBUG src/stlink-common.c: jtag version = 0xb
2012-01-03T19:45:17 DEBUG src/stlink-common.c: swim version = 0x0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: notice: the firmware doesn't support a swim interface
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Reading current mode...
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=2
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf5 00 00 00 00 00 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: stlink current mode: dfu
2012-01-03T19:45:17 INFO src/stlink-sg.c: Current mode unusable, trying to get back to a useful state...
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Attempting to exit DFU mode
2012-01-03T19:45:17 DEBUG src/stlink-sg.c:
*** stlink_exit_dfu_mode ***
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf3 0x7 00 00 00 00 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 WARN src/stlink-sg.c: received tag 0 but expected 3
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** looking up stlink version
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=6
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf1 00 00 00 00 00 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: st vid = 0x0483 (expect 0x0483)
2012-01-03T19:45:17 DEBUG src/stlink-common.c: stlink pid = 0x3744
2012-01-03T19:45:17 DEBUG src/stlink-common.c: stlink version = 0x1
2012-01-03T19:45:17 DEBUG src/stlink-common.c: jtag version = 0xb
2012-01-03T19:45:17 DEBUG src/stlink-common.c: swim version = 0x0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: notice: the firmware doesn't support a swim interface
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_enter_swd_mode ***
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x20 0xa3 00 00 00 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 INFO src/stlink-sg.c: Successfully opened a stlink v1 debugger
2012-01-03T19:45:17 INFO src/stlink-common.c: Loading device parameters....
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_core_id ***
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=4
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x22 00 00 00 00 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
data_len = 4 0x4
77 14 a0 1b

2012-01-03T19:45:17 DEBUG src/stlink-common.c: core_id = 0x1ba01477
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_read_mem32 ***
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=4
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x7 00 0x20 0x4 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
data_len = 4 0x4
20 64 01 10

2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_read_mem32 ***
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=4
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x7 0xe0 0xf7 0xff 0x1f 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
data_len = 4 0x4
80 00 ff ff

2012-01-03T19:45:17 INFO src/stlink-common.c: Device connected is: F1 Medium-density Value Line device, id 0x10016420
2012-01-03T19:45:17 INFO src/stlink-common.c: SRAM size: 0x2000 bytes (8 KiB), Flash: 0x20000 bytes (128 KiB) in pages of 1024 bytes
2012-01-03T19:45:17 DEBUG gdb-server.c: Chip ID is 10016420, Core ID is 1ba01477.
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_force_debug_mode ***
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=2
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x2 00 00 00 00 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: force debug: ok
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_reset ***
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=2
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x3 00 00 00 00 00 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: core reset: ok
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe0002000
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 00 0x20 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
KARL - should read back as 0x03, not 60 02 00 00
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_read_mem32 ***
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=4
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x7 00 0x20 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe0002008
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 0x8 0x20 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe000200c
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 0xc 0x20 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe0002010
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 0x10 0x20 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe0002014
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 0x14 0x20 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe0002018
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 0x18 0x20 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe000201c
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 0x1c 0x20 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
init watchpoints
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_read_mem32 ***
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=4
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x7 0xfc 0xed 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe000edfc
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 0xfc 0xed 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe0001028
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 0x28 0x10 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe0001038
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 0x38 0x10 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe0001048
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 0x48 0x10 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
2012-01-03T19:45:17 DEBUG src/stlink-common.c: *** stlink_write_mem32 4 bytes to 0xe0001058
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending usb m-s cmd: cdblen:10, rxsize=0
2012-01-03T19:45:17 DEBUG src/stlink-sg.c: Sending CDB [ 0xf2 0x8 0x58 0x10 00 0xe0 0x4 00 00 00]
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x02 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 2 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
libusb:info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
libusb:info [ep_to_pipeRef] pipe 1 on interface 0 matches
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 0
libusb:info [op_handle_events] checking fd 6 with revents = 1
libusb:info [darwin_handle_callback] handling bulk completion with kernel status 0
Listening at *:4242...

Regards

Friedrich