ESP32 from NodeMCu / JTAG

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

ESP32 from NodeMCu / JTAG

Postby arunbm123 » Tue Dec 18, 2018 9:43 am

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

username
Posts: 477
Joined: Thu May 03, 2018 1:18 pm

Re: ESP32 from NodeMCu / JTAG

Postby username » Tue Dec 18, 2018 10:32 am

yes

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

Re: ESP32 from NodeMCu / JTAG

Postby arunbm123 » Tue Dec 18, 2018 12:39 pm

...that means Only One USB Cable is enough to flash program and debug using GDB ?

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: ESP32 from NodeMCu / JTAG

Postby ESP_igrr » Tue Dec 18, 2018 12:41 pm

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.

username
Posts: 477
Joined: Thu May 03, 2018 1:18 pm

Re: ESP32 from NodeMCu / JTAG

Postby username » Tue Dec 18, 2018 12:56 pm

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.

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

Re: ESP32 from NodeMCu / JTAG

Postby arunbm123 » Tue Dec 18, 2018 1:04 pm

hello esp_igr

please kindly find schematic of nodemcu esp32..
Attachments
mcuesp32.png
mcuesp32.png (147.25 KiB) Viewed 9780 times

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: ESP32 from NodeMCu / JTAG

Postby ESP_igrr » Tue Dec 18, 2018 1:24 pm

This one doesn't have a USB JTAG adapter onboard. You will need to use an external adapter.

username
Posts: 477
Joined: Thu May 03, 2018 1:18 pm

Re: ESP32 from NodeMCu / JTAG

Postby username » Tue Dec 18, 2018 1:27 pm

This page here will show you what pins to use for JTAG.
https://docs.espressif.com/projects/esp ... -interface
Attachments
JTAG_pin.png
JTAG_pin.png (40.12 KiB) Viewed 9777 times
Last edited by username on Tue Dec 18, 2018 1:43 pm, edited 4 times in total.

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

Re: ESP32 from NodeMCu / JTAG

Postby arunbm123 » Tue Dec 18, 2018 1:32 pm

hi ,
Sorry for this question,I am new to embedded Systems,

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

Tq

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

Re: ESP32 from NodeMCu / JTAG

Postby arunbm123 » Tue Dec 18, 2018 2:43 pm

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 ?

Who is online

Users browsing this forum: Baidu [Spider] and 117 guests