Page 1 of 1

JTAG with Wrover

Posted: Fri Feb 09, 2018 8:10 am
by permal
Hi,

Before I go and buy one of these Wrover kits to get a functional JTAG debugger could someone please answer the following questions?

1. Can this device debug external ESP32 devices, i.e. debug other devices than the ESP32 mounted on the board itself?
2. Is there a better alternative? I really only want the USB to JTAG part.
3. Where do you recommend to buy it? I tried with Mouser.se, but they can apparently not sell it to Sweden (despite being a Swedish company) due to US export restrictions(?!) Olimex also sells it https://www.olimex.com/Products/IoT/ESP32-WROVER-KIT/, not sure if they can sell to Sweden.

Re: JTAG with Wrover

Posted: Fri Feb 09, 2018 10:49 am
by Vader_Mester

Re: JTAG with Wrover

Posted: Fri Feb 09, 2018 10:57 am
by permal
The problem with buying from China here in Sweden is that it takes months to get here, and there is an additional fee added, on top of VAT. That fee is about 50% of the cost of that particular item. :(

Re: JTAG with Wrover

Posted: Fri Feb 09, 2018 12:30 pm
by luisonoff
Recently Espressif released a reference design for a programmer board. Check this post: https://esp32.com/viewtopic.php?f=2&t=4310&p=19309

I think it is not sold anywhere yet, but should be available soon I guess. If I am not mistaken, this board could be used for UART programming as well as JTAG debug. Can somebody confirm this?

Re: JTAG with Wrover

Posted: Fri Feb 09, 2018 1:07 pm
by loboris
I've bought one from China for 35 US$, it arrived to Croatia in less than 2 weeks, and I've paid no tax as the value was declared to be 20 €.
It is interesting how different the situation can be in Sweden!

Re: JTAG with Wrover

Posted: Fri Feb 09, 2018 2:32 pm
by permal
Yeah, it got bad just a few weeks ago when our Customs Service had enough. They didn't like all the parcels/packages being shipped from China without customs being paid. There were an exceptional increase in such packages due to Wish etc.

but getting back on topic - would love some answers to the questions :)

Re: JTAG with Wrover

Posted: Fri Feb 09, 2018 3:06 pm
by ESP_krzychb
permal wrote: 1. Can this device debug external ESP32 devices, i.e. debug other devices than the ESP32 mounted on the board itself?
There are all JTAG pins exposed on JP8 of ESP-WROVER-KIT and you should be able to connect and debug other ESP32 devices instead of on board ESP32. I did not try that because for the other devices I prefer the option below.
permal wrote: 2. Is there a better alternative? I really only want the USB to JTAG part.
If you like to debug other ESP32 devices then consider https://esp32.com/viewtopic.php?f=13&t=2525#p12056
permal wrote: 3. Where do you recommend to buy it? I tried with Mouser.se, but they can apparently not sell it to Sweden (despite being a Swedish company) due to US export restrictions(?!) Olimex also sells it https://www.olimex.com/Products/IoT/ESP32-WROVER-KIT/, not sure if they can sell to Sweden.
Basing on what I see on thery webpage, they can sell to Sweden.

Re: JTAG with Wrover

Posted: Fri Feb 09, 2018 6:22 pm
by permal
krzychb wrote: If you like to debug other ESP32 devices then consider https://esp32.com/viewtopic.php?f=13&t=2525#p12056
Hm, the ARM-USB-OCD-H ? I have one of those. I've spent hours trying to get it to work correctly/reliably. This was last summer, has anything significant happened in the debugging area since then?

Re: JTAG with Wrover

Posted: Fri Feb 09, 2018 7:34 pm
by WiFive
ARM-USB-OCD-H uses FT2232 and WROVER-KIT uses FT2232 so...

Re: JTAG with Wrover

Posted: Sat Feb 10, 2018 3:47 pm
by JeffWilliams
For JTAG debugging my ESP32's I bought a 'ft232h mini module' from digikey but mouser sells them too. (https://ca.mouser.com/ProductDetail/?qs ... 5ZjA%3D%3D) Gives you the same high speed ftdi chip that is on the WROVER-KIT (I didn't have one of those). I had a J-Link as well but it wasn't nearly as fast or easy to get working.

Actually, looking at the WROVER-KIT schematic (https://dl.espressif.com/dl/schematics/ ... _SCH-2.pdf) the FT232H pins for JTAG are exposed at the JTAG jumper block. If you power the WROVER-KIT and your other board using the same USB source and connect the JTAG pins from the JTAG jumper block to your 2nd ESP32 JTAG pins with jumper wires then your OpenOCD should connect to your other ESP32 for debuging

Jeff