ESP-PROG vs ESP-PROG-2 with Mac Apple Silicon
Posted: Thu Jan 01, 2026 1:53 pm
I'm trying to get JTAG/OpenOCD working with an ESP32-WROOM-32 module, and variously Arduino-IDE, ESP32-IDE (/IDF) and VSCode / PlatformIO. I'm developing on an Apple Studio (M1 processor, not x86) - refusing to boot my Windows machine; I've tried a linux machine (x86) but quickly had similar problems to the M1...
I need to say early - I *have* had the gdb/OpenOCD work occasionally - using the 10-wire JTAG interface from the ESP-PROG programmer to a similar 10-pin connector on my target card - usually once it's working it works reasonably well, at least until GDB crashes. But then I have all sorts of problems with subsequent attempts resulting in error messages about libUSB access-denied. To that end I'm happy that the ESP-PROG is functional, and believe much of my problem lies in the software environment on the Mac. Google indicates issues with Macs, and FTDI drivers with various recommendation of turning off the OS security, replacing drivers etc, but these look to be on the x86 based hardware, not the Apple silicon. Other conflicting information suggests the FTDI drivers for apple silicon are much improved and don't need replacement, but I'm thinking that I'm chasing the wrong problem at this point. There is some information that chatGPT explained related to serial-device drivers being claimed automatically by the OS, requiring the KEXT to be unloaded prior to use... the problem being that I use the ESP-PROG serial UART for software loading (so I'd have to KEXT/unload /load depending if I'm flashing the device or attempting to JTAG debug... not brilliant).
Anyway, I've noticed that there is a ESP-PROG-2 device, that replaces the FTDI device for a ESP32 with built-in USB bridge. I'm minded to order a ESP-PROG-2 programmer/JTAG - but it's a two week delivery in any case. My QUESTION::: Has any-one any good experience with Apple-silicon based Macs flashing (not usually a problem) and JTAG debugging (definitely an issue for me!) and whether a USB-PROG-2 could remove the problem of FTDI based drivers. Particularly whether you've had success with this configuration? (I'm also struggling understanding the whole OpenOCD encapsulation - more straight forward for ESP-IDE than the others) - but want to take tiny steps (compatible hardware) in the right direction - hence the interest in the ESP-PROG-2.
OR, more succinctly, are there known operable JTAG debuggers for use with Mac / Apple Silicon?
I don't want to progress with Windows. I *could* tolerate a Linux box - if there's strong support/experience with that environment, however the Mac is where all my EDA/CAD software files are.
I need to say early - I *have* had the gdb/OpenOCD work occasionally - using the 10-wire JTAG interface from the ESP-PROG programmer to a similar 10-pin connector on my target card - usually once it's working it works reasonably well, at least until GDB crashes. But then I have all sorts of problems with subsequent attempts resulting in error messages about libUSB access-denied. To that end I'm happy that the ESP-PROG is functional, and believe much of my problem lies in the software environment on the Mac. Google indicates issues with Macs, and FTDI drivers with various recommendation of turning off the OS security, replacing drivers etc, but these look to be on the x86 based hardware, not the Apple silicon. Other conflicting information suggests the FTDI drivers for apple silicon are much improved and don't need replacement, but I'm thinking that I'm chasing the wrong problem at this point. There is some information that chatGPT explained related to serial-device drivers being claimed automatically by the OS, requiring the KEXT to be unloaded prior to use... the problem being that I use the ESP-PROG serial UART for software loading (so I'd have to KEXT/unload /load depending if I'm flashing the device or attempting to JTAG debug... not brilliant).
Anyway, I've noticed that there is a ESP-PROG-2 device, that replaces the FTDI device for a ESP32 with built-in USB bridge. I'm minded to order a ESP-PROG-2 programmer/JTAG - but it's a two week delivery in any case. My QUESTION::: Has any-one any good experience with Apple-silicon based Macs flashing (not usually a problem) and JTAG debugging (definitely an issue for me!) and whether a USB-PROG-2 could remove the problem of FTDI based drivers. Particularly whether you've had success with this configuration? (I'm also struggling understanding the whole OpenOCD encapsulation - more straight forward for ESP-IDE than the others) - but want to take tiny steps (compatible hardware) in the right direction - hence the interest in the ESP-PROG-2.
OR, more succinctly, are there known operable JTAG debuggers for use with Mac / Apple Silicon?
I don't want to progress with Windows. I *could* tolerate a Linux box - if there's strong support/experience with that environment, however the Mac is where all my EDA/CAD software files are.