[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: Add openocd programming support (#16911)

Erik Ekman notifications at github.com
Wed Sep 29 20:20:35 CEST 2021

@yarrick commented on this pull request.

> @@ -90,4 +90,18 @@ To use the JTAG interface, the `esp_jtag` module must be used to disable the `SP
 USEMODULE=esp_jtag make flash BOARD=esp32-ethernet-kit-v1_X ...
 Furthermore the function switches (DIP switches) for the JTAG signals must be set to ON.
+To flash using OpenOCD, install the [openocd-esp32](https://github.com/espressif/openocd-esp32) fork.
+Then flash with PROGRAMMER set:
+export OPENOCD="~/openocd-esp32/src/openocd -s ~/openocd-esp32/tcl"

This is the installation location of the openocd-esp32 code, which can be chosen by the user.
The -s flag is the root location of its config files (can also be env variable https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/jtag-debugging/#building-openocd-from-sources), the board cfg file is inside there.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210929/43b1226a/attachment-0001.htm>

More information about the notifications mailing list