Jtag connection with ESP32 & adapter[solved]

salomonreinach
Posts: 18
Joined: Tue Jan 08, 2019 11:57 am

Jtag connection with ESP32 & adapter[solved]

Postby salomonreinach » Tue Jan 08, 2019 1:42 pm

Hi everyone !
I'm a beginner with ESP32 and I would like to know how I could flash my ESP-WROOM-32. I made some researches but there is still things that I didn't understand and also don't know if it's possible.
So, I would like to flash the ESP32 and to do that I have a 10 pins on my board connected to the ESP32 and I planned to use a Tag connect to join my ESP32 to an adapter. I saw that different adapter could be use and I saw the TIAO USB Multi-protocol Adapter https://www.diygadget.com/jtag-cables-a ... erial.html . I'm wondering if it's possible to do like this because my Tag connect has 10 pins and I see that the adapter has 20 pins if I'm right.

If you have any ideas or advice I take them !

Thank you for your time and you help :)
Attachments
Capture.PNG
Capture.PNG (36.49 KiB) Viewed 7814 times
TC2050-IDC.jpg
TC2050-IDC.jpg (25.67 KiB) Viewed 7814 times
Last edited by salomonreinach on Mon Feb 25, 2019 3:05 pm, edited 1 time in total.

salomonreinach
Posts: 18
Joined: Tue Jan 08, 2019 11:57 am

Re: Jtag connection with ESP32 & adapter

Postby salomonreinach » Tue Jan 08, 2019 3:57 pm

I saw that 10-pin to 20-pin like this exists : https://www.embeddedartists.com/product ... g-adapter/. Pin seems to match, between TC2050 10-pin output and the 20-pin input of the TIAO USB Multi-Protocol Adapter. Do you think it's good and possible solution ?

salomonreinach
Posts: 18
Joined: Tue Jan 08, 2019 11:57 am

Re: Jtag connection with ESP32 & adapter

Postby salomonreinach » Fri Feb 01, 2019 2:50 pm

For those of you who are wondering, I managed to flash the esp32 with the TAG CONNECT 2050 and an ARM-USB-OCD-H. And I just linked the good pin between the ARM and the tag connect.

And then used the command in the esp/openocd-esp32 file:

Code: Select all

openocd -f tcl/interface/ftdi/olimex-arm-usb-ocd-h.cfg -f tcl/target/esp32.cfg -c "program_esp32 myproject.bin  0x10000 verify exit"

AlanAmbrose
Posts: 5
Joined: Tue Mar 05, 2019 8:53 am

Re: Jtag connection with ESP32 & adapter[solved]

Postby AlanAmbrose » Tue Mar 05, 2019 9:10 am

Nice - is it possible to detail your tag-connect pinout - the graphic is a little hard to read. Any other tips re your working set-up?

TIA, Alan

salomonreinach
Posts: 18
Joined: Tue Jan 08, 2019 11:57 am

Re: Jtag connection with ESP32 & adapter[solved]

Postby salomonreinach » Thu Mar 07, 2019 10:07 am

Hi ! I have some pictures and rough draft if it can help. That was how my jtag pin was set up in my board.

Rémy
Attachments
wires_to_connector.PNG
wires_to_connector.PNG (875.24 KiB) Viewed 7489 times
pin_jtag.PNG
pin_jtag.PNG (470.74 KiB) Viewed 7489 times

Who is online

Users browsing this forum: No registered users and 52 guests