# FreedomStudio Mac OSX: "Could not connect to J-Link. Please check if plugged into USB port or Ethernet switch"

**URL:** <https://forums.sifive.com/t/freedomstudio-mac-osx-could-not-connect-to-j-link-please-check-if-plugged-into-usb-port-or-ethernet-switch/4179>\
**Category:** HiFive1 Rev B\
**Created:** [November 8, 2020, 6:09am UTC](https://forums.sifive.com/t/freedomstudio-mac-osx-could-not-connect-to-j-link-please-check-if-plugged-into-usb-port-or-ethernet-switch/4179 "2020-11-08T06:09:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yourimperialmajesty](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/yourimperialmajesty/32/1164_2.png) [@yourimperialmajesty](https://forums.sifive.com/u/yourimperialmajesty)\
**Post date:** [November 8, 2020, 6:09am UTC](https://forums.sifive.com/t/freedomstudio-mac-osx-could-not-connect-to-j-link-please-check-if-plugged-into-usb-port-or-ethernet-switch/4179/1 "2020-11-08T06:09:00Z")

</div>

I’m trying to use Freedom Studio on Mac OSX Catalina with the rev-b board.  
I’ve connected the board to my Mac via a USB adapter (since the Mac uses usb-c)  
However I get the following error when trying to run a debug:

```auto
SEGGER J-Link GDB Server V6.80a Command Line Version

JLinkARM.dll V6.80a (DLL compiled May 29 2020 16:28:29)

Command line: -if jtag -device FE310 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -singlerun -strict -timeout 0 -nogui
-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 2331
SWO raw output listening port: 2332
Terminal I/O port: 2333
Accept remote connection: localhost only
Generate logfile: off
Verify download: on
Init regs on start: on
Silent mode: off
Single run mode: on
Target connection timeout: 0 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: FE310
Target interface: JTAG
Target interface speed: 1000kHz
Target endian: little

Connecting to J-Link...
Connecting to J-Link failed. Connected correctly?
GDBServer will be closed...
Shutting down...

```

Please help? How would I troubleshoot this ?

---

<div class="post-metadata">

**Author:** ![yourimperialmajesty](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/yourimperialmajesty/32/1164_2.png) [@yourimperialmajesty](https://forums.sifive.com/u/yourimperialmajesty)\
**Post date:** [November 13, 2020, 2:51pm UTC](https://forums.sifive.com/t/freedomstudio-mac-osx-could-not-connect-to-j-link-please-check-if-plugged-into-usb-port-or-ethernet-switch/4179/2 "2020-11-13T14:51:49Z")

</div>

I’ve now installed freedom studio on MS Windows and got rid of the C-type USB adapter.  
Same problem:

```auto
Please check power, connection and settings.SEGGER J-Link GDB Server V6.80a Command Line Version

JLinkARM.dll V6.80a (DLL compiled May 29 2020 16:27:00)

Command line: -if jtag -device FE310 -endian little -speed auto -port 2331 -swoport 2332 -telnetport 2333 -vd -noreset -noir -localhostonly 1 -log c:\debug.log -singlerun -strict -timeout 0 -nogui
-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 2331
SWO raw output listening port: 2332
Terminal I/O port: 2333
Accept remote connection: localhost only
Generate logfile: on
Verify download: on
Init regs on start: off
Silent mode: off
Single run mode: on
Target connection timeout: 0 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: FE310
Target interface: JTAG
Target interface speed: auto
Target endian: little

Connecting to J-Link...
Connecting to J-Link failed. Connected correctly?
GDBServer will be closed...
Shutting down...

```

RevB is definitely plugged in and blinking with the test program.  
Do I need additional power?  
Where does this gdb server run on windows?

---

<div class="post-metadata">

**Author:** ![yourimperialmajesty](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/yourimperialmajesty/32/1164_2.png) [@yourimperialmajesty](https://forums.sifive.com/u/yourimperialmajesty)\
**Post date:** [November 13, 2020, 3:25pm UTC](https://forums.sifive.com/t/freedomstudio-mac-osx-could-not-connect-to-j-link-please-check-if-plugged-into-usb-port-or-ethernet-switch/4179/3 "2020-11-13T15:25:44Z")

</div>

Finally! I’ve managed to fix this.

---

<div class="post-metadata">

**Author:** ![lecomte](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lecomte](https://forums.sifive.com/u/lecomte)\
**Post date:** [August 27, 2023, 2:07pm UTC](https://forums.sifive.com/t/freedomstudio-mac-osx-could-not-connect-to-j-link-please-check-if-plugged-into-usb-port-or-ethernet-switch/4179/4 "2023-08-27T14:07:20Z")

</div>

Nice ! How ?

---

<div class="post-metadata">

**Author:** ![lecomte](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lecomte](https://forums.sifive.com/u/lecomte)\
**Post date:** [August 29, 2023, 6:39am UTC](https://forums.sifive.com/t/freedomstudio-mac-osx-could-not-connect-to-j-link-please-check-if-plugged-into-usb-port-or-ethernet-switch/4179/5 "2023-08-29T06:39:43Z")

</div>

OK. Using the correct DATA+POWER USB cable instead of just a POWER cable 😅
