Page 1 of 1

ESP32 from NodeMCu / JTAG

Posted: Tue Dec 18, 2018 9:43 am
by arunbm123
hi friends,

I am using esp32 Kit from NodeMCU

It was Wroom 32 Module

I would like know if this esp32 kit has inbuilt JTAG ??

Thanks

Re: ESP32 from NodeMCu / JTAG

Posted: Tue Dec 18, 2018 10:32 am
by username
yes

Re: ESP32 from NodeMCu / JTAG

Posted: Tue Dec 18, 2018 12:39 pm
by arunbm123
...that means Only One USB Cable is enough to flash program and debug using GDB ?

Re: ESP32 from NodeMCu / JTAG

Posted: Tue Dec 18, 2018 12:41 pm
by ESP_igrr
I'm not sure which board @username is referring to, but most Nodemcu-like ESP32 development boards I have seen use CP2012 USB-UART adapter and do not have a USB-JTAG interface. So most likely you will need to use an external one. You can post a link to the schematic or the product page of the board you have, then you might get a more definite answer.

Re: ESP32 from NodeMCu / JTAG

Posted: Tue Dec 18, 2018 12:56 pm
by username
I'm not sure which board @username is referring to
I guess the OP question terminology was to vague for me. if he would have said "onboard" that would have been clear to me.
Me saying yes was because you can use JTAG on any ESP32 device that has those pins brought out, which the NodeMCU does.

Re: ESP32 from NodeMCu / JTAG

Posted: Tue Dec 18, 2018 1:04 pm
by arunbm123
hello esp_igr

please kindly find schematic of nodemcu esp32..

Re: ESP32 from NodeMCu / JTAG

Posted: Tue Dec 18, 2018 1:24 pm
by ESP_igrr
This one doesn't have a USB JTAG adapter onboard. You will need to use an external adapter.

Re: ESP32 from NodeMCu / JTAG

Posted: Tue Dec 18, 2018 1:27 pm
by username
This page here will show you what pins to use for JTAG.
https://docs.espressif.com/projects/esp ... -interface

Re: ESP32 from NodeMCu / JTAG

Posted: Tue Dec 18, 2018 1:32 pm
by arunbm123
hi ,
Sorry for this question,I am new to embedded Systems,

How did you make out from schematics that JTAG is not available ?

Tq

Re: ESP32 from NodeMCu / JTAG

Posted: Tue Dec 18, 2018 2:43 pm
by arunbm123
hi friends

All OK till Now, I have connected Segger JTAG to esp32

Install OpenOCD as given in official document.

cd ~/esp/openocd-esp32
bin/openocd -s share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg

I would like to know which Configuration files I should User for my Mcu_esp32 ?