1
我最近使用macOS Sierra 10.12.4從Linux機器切換到Macbook Pro 2016。無法通過macOS上的USB連接到J-Link Sierra
當我嘗試連接到的J-Link失敗不管我使用(JLinkExe或JLinkGDBServer)具有以下錯誤,應用程序:
[email protected]:~$ JLinkExe
SEGGER J-Link Commander V6.14c (Compiled Mar 31 2017 17:42:24)
DLL version V6.14c, compiled Mar 31 2017 17:42:10
Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.
J-Link>
是絕對沒有關於J-Link在dmesg的信息。我懷疑,在我的筆記本電腦中可能存在有關USB-C端口的問題。但是,我嘗試了兩種不同的適配器,但沒有結果。在Linux上它確實工作得很好。
任何想法?謝謝。
編輯:這裏是 「名爲ioreg -p IOUSB -l -w 0」 縮短輸出:
+-o Root Hub Simulation [email protected] <class AppleUSBRootHubDevice, id 0x1000004fa, registered, matched, active, busy 0 (1 ms), retain 12>
| | {
| | "iManufacturer" = 0
| | "bNumConfigurations" = 1
| | "idProduct" = 32775
| | "bMaxPacketSize0" = 8
| | "Built-In" = Yes
| | "iProduct" = 0
| | "USB Product Name" = "Root Hub Simulation Simulation"
| | "iSerialNumber" = 0
| | "bDeviceClass" = 9
| | "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=4,"CapabilityFlags"=32768,"MaxPowerState"=4,"DriverPowerState"=4}
| | "IOUserClientClass" = "IOUSBDeviceUserClientV2"
| | "locationID" = 335544320
| | "bDeviceSubClass" = 255
| | "bcdUSB" = 256
| | "non-removable" = "yes"
| | "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
| | "bDeviceProtocol" = 3
| | "USB Vendor Name" = "Apple Inc."
| | "Device Speed" = 3
| | "idVendor" = 1452
| | "IOGeneralInterest" = "IOCommand is not serializable"
| | "IOClassNameOverride" = "IOUSBRootHubDevice"
| | }
| |
| +-o [email protected] <class AppleUSBDevice, id 0x100006f4e, registered, matched, active, busy 0 (20 ms), retain 35>
| {
| "sessionID" = 57710128085962
| "iManufacturer" = 1
| "bNumConfigurations" = 3
| "idProduct" = 34304
| "bcdDevice" = 257
| "Bus Power Available" = 250
| "USB Address" = 1
| "bMaxPacketSize0" = 64
| "iProduct" = 2
| "iSerialNumber" = 0
| "bDeviceClass" = 239
| "Built-In" = Yes
| "locationID" = 336592896
| "bDeviceSubClass" = 2
| "bcdUSB" = 512
| "USB Product Name" = "iBridge"
| "PortNum" = 1
| "non-removable" = "yes"
| "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
| "bDeviceProtocol" = 1
| "IOUserClientClass" = "IOUSBDeviceUserClientV2"
| "IOPowerManagement" = {"DevicePowerState"=2,"CurrentPowerState"=4,"CapabilityFlags"=32768,"MaxPowerState"=4,"DriverPowerState"=4}
| "kUSBCurrentConfiguration" = 2
| "Device Speed" = 2
| "USB Vendor Name" = "Apple Inc."
| "idVendor" = 1452
| "IOGeneralInterest" = "IOCommand is not serializable"
| "IOClassNameOverride" = "IOUSBDevice"
| }
|
+-o Root Hub Simulation [email protected] <class AppleUSBRootHubDevice, id 0x100003abf, registered, matched, active, busy 0 (2 ms), retain 8>
| {
| "iManufacturer" = 0
| "bNumConfigurations" = 1
| "idProduct" = 32775
| "bMaxPacketSize0" = 8
| "Built-In" = Yes
| "iProduct" = 0
| "USB Product Name" = "Root Hub Simulation Simulation"
| "iSerialNumber" = 0
| "bDeviceClass" = 9
| "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=4,"CapabilityFlags"=32768,"MaxPowerState"=4,"DriverPowerState"=4}
| "IOUserClientClass" = "IOUSBDeviceUserClientV2"
| "locationID" = 0
| "bDeviceSubClass" = 255
| "bcdUSB" = 256
| "non-removable" = "yes"
| "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
| "bDeviceProtocol" = 3
| "USB Vendor Name" = "Apple Inc."
| "Device Speed" = 3
| "idVendor" = 1452
| "IOGeneralInterest" = "IOCommand is not serializable"
| "IOClassNameOverride" = "IOUSBRootHubDevice"
| }
|
+-o Root Hub Simulation [email protected] <class AppleUSBRootHubDevice, id 0x10000486e, registered, matched, active, busy 0 (2 ms), retain 8>
{
"iManufacturer" = 0
"bNumConfigurations" = 1
"idProduct" = 32775
"bMaxPacketSize0" = 8
"Built-In" = Yes
"iProduct" = 0
"USB Product Name" = "Root Hub Simulation Simulation"
"iSerialNumber" = 0
"bDeviceClass" = 9
"IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=4,"CapabilityFlags"=32768,"MaxPowerState"=4,"DriverPowerState"=4}
"IOUserClientClass" = "IOUSBDeviceUserClientV2"
"locationID" = 16777216
"bDeviceSubClass" = 255
"bcdUSB" = 256
"non-removable" = "yes"
"IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
"bDeviceProtocol" = 3
"USB Vendor Name" = "Apple Inc."
"Device Speed" = 3
"idVendor" = 1452
"IOGeneralInterest" = "IOCommand is not serializable"
"IOClassNameOverride" = "IOUSBRootHubDevice"
}
我建議運行'ioreg -p IOUSB -l -w 0'來查看你的jlink是否被操作系統識別。詳細信息:http://stackoverflow.com/a/29778245/28128 –
我剛剛更新了ioreg的輸出問題。沒有J-Link的跡象。 – eclipse