0

I have a board with an esp32 on it. It only has the six-pin PROG interface on it and I can program it using an esp-prog board and the PROG interface. But because it does not have a JTAG interface, what is the best way to debug a program on this board. Is it possible to set breakpoints and step through the code using the PROG interface?

1 Answer 1

0

No. This is just a glorified UART for talking to the bootloader. You need JTAG for debugging.

2
  • Thank you very much for this clarification. Do I understand it right that the PROG interface must be used for programming and the JTAG interface for debugging? So if you want to be able to debug, you need both interfaces? Commented Jan 18, 2021 at 20:31
  • You can use the JTAG interface and openocd for programming the Flash, see the ESP IDF manual. But PROG is better supported by Espressif toolchain, it's a tad easier to use.
    – Tarmo
    Commented Jan 18, 2021 at 20:53

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.