Page 1 of 1

Help using J-Link with ESP32 on Mac

Posted: Mon Jun 08, 2020 10:16 pm
by jimhelios
I realize this is not very specific to the ESP32, but I'm really stuck and would appreciate someone helping if they know the answer.

I have a Segger J-Link which I am trying to use on a Macbook running MacOS Catalina 10.15.4, with openocd and GDB against an ESP32 board. The problem is that I can not seen the device:

Code: Select all

    $ ls /dev/cu.*
    /dev/cu.Bluetooth-Incoming-Port	/dev/cu.JimsiPhone-WirelessiAP	/dev/cu.SLAB_USBtoUART		/dev/cu.usbserial-0001
None of these is the J-Link. If I run lsusb I can see it:

Code: Select all

    $ lsusb
    Bus 020 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
    Bus 020 Device 003: ID 1366:0101 SEGGER J-Link ARM
I have installed the "J-Link Software and Documentation Pack" downloaded from Segger. I have checked the Mac "Security and privacy" settings and it does not report that it blocked any drivers or programs from being installed or run.

On the J-Link, the green LED is on, with a very brief flash about twice per second.

I'm sure I have a piece missing, and would appreciate some help.

Re: Help using J-Link with ESP32 on Mac

Posted: Tue Jun 09, 2020 9:48 am
by ESP_Sprite
I don't think a J-link is supposed to show up as a serial port... have you already checked if OpenOCD recognizes the thing?

Re: Help using J-Link with ESP32 on Mac

Posted: Sun Jun 14, 2020 8:00 pm
by jimhelios
It turned out that I was able to run JLinkExe (I think that's JLink Commander) from Segger to talk to it. As soon as I did, a FW upload was issued to the J-Link and now OpenOCD can talk to it.

Thanks very much for your reply.