JTAG with Wrover
JTAG with Wrover
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.
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.
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: JTAG with Wrover
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Re: JTAG with Wrover
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
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?
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
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!
It is interesting how different the situation can be in Sweden!
Re: JTAG with Wrover
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
but getting back on topic - would love some answers to the questions
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: JTAG with Wrover
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: 1. Can this device debug external ESP32 devices, i.e. debug other devices than the ESP32 mounted on the board itself?
If you like to debug other ESP32 devices then consider https://esp32.com/viewtopic.php?f=13&t=2525#p12056permal wrote: 2. Is there a better alternative? I really only want the USB to JTAG part.
Basing on what I see on thery webpage, they can sell to Sweden.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.
Re: JTAG with Wrover
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?krzychb wrote: If you like to debug other ESP32 devices then consider https://esp32.com/viewtopic.php?f=13&t=2525#p12056
Re: JTAG with Wrover
ARM-USB-OCD-H uses FT2232 and WROVER-KIT uses FT2232 so...
-
- Posts: 17
- Joined: Thu Mar 09, 2017 2:06 am
Re: JTAG with Wrover
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
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
Who is online
Users browsing this forum: Majestic-12 [Bot] and 91 guests