Author Topic: JTAG or USB for programming  (Read 3059 times)

FondsofFall

  • Guest
JTAG or USB for programming
« on: September 18, 2020, 08:47:50 PM »
Hello everyone,

  Just discovered that the processor chip is based on ESP32, will it needs to connect JTAG or micro USB for writing codes?


mario

  • Administrator
  • Full Member
  • *****
  • Posts: 205
    • View Profile
Re: JTAG or USB for programming
« Reply #1 on: September 21, 2020, 01:27:01 PM »
Hi and welcome! :)

The easiest way is to connect via USB, that's what I use when developing the firmware. And it is supported by official environment.

But indeed JTAG offers more comfortable debugging, if you want to use it you'd need to hi-jack pins that are currently used for SD card:
http://gechologic.com/v2/images/ESP32_JTAG_on_Gecho_v2.png

Maybe there could be an adapter in the form of micro SD card to wire them out.
If reset signal is needed, it can be taken from the pad on top right of the board - top pad is RST, bottom is GND:
http://gechologic.com/v2/images/gecho_v2_hw_reset_pads.jpg