Debugging for esp8266 through jtag?

Sysprogs forums Forums VisualGDB Debugging for esp8266 through jtag?

Tagged: , ,

This topic contains 1 reply, has 2 voices, and was last updated by  support 8 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #32717


    I have a question about how OpenOcd works with esp8266 that can’t be answered.

    I am working on esp8266 – NodeMcu.

    According to the docs from EspressIf, I couldn’t find any documentation about Jtag port in Esp8266, so I think Jtag port is not supported in this chip. However, we can debug esp8266 with Openocd via Jtag port. Here is the forum discussion for this:

    Accordingly, Esp8266 needs to connect to Jlink debugger through pins GPIO12, GPIO13, GPIO14, GPIO15 and RST. However, according to the datasheet, these pins only function as GPIO, HSPI, I2S or PWM.

    So I don’t understand why it is possible to debug Esp8266 with Openocd through these pins when the chip’s hardware does not support it? And if the esp8266 hardware really doesn’t support the Jtag port, how does the debugger interact with the esp8266? And how does OpenOcd work in this case?




    Please note that we are not the vendor for the ESP8266 chip.

    If you have questions about the ESP8266, please consider contacting Espressif directly.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.