Help using J-Link with ESP32 on Mac

jimhelios
Posts: 39
Joined: Sun Nov 10, 2019 2:35 pm

Help using J-Link with ESP32 on Mac

Postby jimhelios » Mon Jun 08, 2020 10:16 pm

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.

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

Re: Help using J-Link with ESP32 on Mac

Postby ESP_Sprite » Tue Jun 09, 2020 9:48 am

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?

jimhelios
Posts: 39
Joined: Sun Nov 10, 2019 2:35 pm

Re: Help using J-Link with ESP32 on Mac

Postby jimhelios » Sun Jun 14, 2020 8:00 pm

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.

Who is online

Users browsing this forum: No registered users and 82 guests