Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 [2]  Send TopicPrint
Locked Topic ESP-WROVER-KIT and Debugging (Read 12656 times)
ZenForAll
Junior Member
**
Offline


Posts: 34
Joined: Jun 30th, 2018
Re: ESP-WROVER-KIT and Debugging
Reply #20 - Jul 30th, 2019 at 2:48pm
 
Hallo
that is what I use
https://docs.espressif.com/projects/esp-idf/en/latest/hw-reference/get-started-w...

JTAG / JP2
.      ESP32 Pin      JTAG Signal
1      EN      TRST_N
2      MTMS / GPIO14      TMS
3      MTDO / GPIO15      TDO
4      MTDI / GPIO12      TDI
5      MTCK / GPIO13      TCK

A plain board.
  
Back to top
 
IP Logged
 
ZenForAll
Junior Member
**
Offline


Posts: 34
Joined: Jun 30th, 2018
Re: ESP-WROVER-KIT and Debugging
Reply #21 - Jul 30th, 2019 at 3:01pm
 
Check out the picture so you can see the jumpers on the board
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: ESP-WROVER-KIT and Debugging
Reply #22 - Jul 31st, 2019 at 9:24am
 
Thanks for the image, and the only difference to the Espressif Setup docs I can see is the EN jumper being connected, though believe this is OK as still part of the JTAG link to the debugger (so expect it makes no difference)

When I have our Wrover module out of another project Ill double check all of this through and update with any other information.
  
Back to top
 
IP Logged
 
ZenForAll
Junior Member
**
Offline


Posts: 34
Joined: Jun 30th, 2018
Re: ESP-WROVER-KIT and Debugging
Reply #23 - Aug 1st, 2019 at 6:40am
 
Oh thank you I tried it with and without the EN Jumper
When do you think we can Progress 
Have a wonderful sunny Sommerday Cool
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: ESP-WROVER-KIT and Debugging
Reply #24 - Aug 1st, 2019 at 1:05pm
 
There are some minor amendments to the board config to make within vMicro, however it should have worked more than it has at present.

If you just run the command line below, it should show JTAG setting up OK:
e.g "Info : JTAG tap: esp32.cpu0 tap/device found:"

Code
Select All
"C:\ProgramData\vmicro\tools\openocd-espressif-esp32-10.0.1\bin/openocd.exe" -d2 -s s/" -f s/interface/ftdi/esp32_devkitj_v1.cfg" -c "set ESP32_RTOS none" -f s/board/esp32-wrover.cfg" -c "init" 



If this shows (as before) "JTAG scan chain failed", can you confirm you can upload using normal Serial?  And that all Jumpers are in place fully?

I get the JTAG error when I have missed a jumper off the board...

This software is common to both the debug and upload with programmer, and if this doesn't work it is outside vMicro, as the above is what Espressif detail on their pages:

https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/jtag-debugging/...
  
Back to top
 
IP Logged
 
ZenForAll
Junior Member
**
Offline


Posts: 34
Joined: Jun 30th, 2018
Re: ESP-WROVER-KIT and Debugging
Reply #25 - Aug 2nd, 2019 at 3:08pm
 
Thank you Simon, I get this but only if I to this the first time and without External Power
I'm on the move to Majorca, so all my other stuff is already in Boxes, I will figure where I have my other 2 ESP-WROVER-KIT boars and will tell you what Results I get, Have a wonderful Sommer WEEKend
Tinkerer Martin Michael

Code
Select All
C:\WINDOWS\system32>
bin/openocd.exe" -d2 -s s/" -f s/interface/ftdi/esp32_devkitj_v1.cfg" -c "set ESP32_RTOS none" -f s/board/esp32-wrover.cfg" -c "init"
Open On-Chip Debugger  v0.10.0-esp32-20190313 (2019-03-13-09:57)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
none separate
none
adapter speed: 20000 kHz
Info : Configured 2 cores
esp32 interrupt mask on
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 20000 kHz
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).
Info : Listening on port 3333 for gdb connections
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).
Info : Detected debug stubs @ 3ffc241c on core0 of target 'esp32'
Info : xtensa_poll: Target offline
Error: xtensa_poll: Target failure
Polling target esp32 failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 100ms
Error: xtensa_poll: Target failure
Polling target esp32 failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 300ms
Error: xtensa_poll: Target failure
Polling target esp32 failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 700ms
Error: xtensa_poll: Target failure
Polling target esp32 failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 1500ms
Error: xtensa_poll: Target failure
Polling target esp32 failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 3100ms
Error: xtensa_poll: Target failure
Polling target esp32 failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 6300ms
Error: xtensa_poll: Target failure
Polling target esp32 failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 6300ms
shutdown command invoked
Info : Restore debug stubs @ 3ffc241c on core0 of target 'esp32'
Warn : Flash driver of esp32.flash does not support free_driver_priv()
Warn : Flash driver of irom does not support free_driver_priv()
Warn : Flash driver of drom does not support free_driver_priv()



 

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP-WROVER-KIT and Debugging
Reply #26 - Aug 3rd, 2019 at 9:49am
 
I think that's what Simon was hoping to see. He posted an update last week for the wrover but it was no use until we got the power issue resolve.

Please update to the "work in progress" release from the releases section of this forum, see link below (1907.31+). It's not in the gallery yet.

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
« Last Edit: Aug 3rd, 2019 at 10:03am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
ZenForAll
Junior Member
**
Offline


Posts: 34
Joined: Jun 30th, 2018
Re: ESP-WROVER-KIT and Debugging
Reply #27 - Aug 20th, 2019 at 11:54am
 
I have Version 4.1 And what should I do wrong I just can put the Jumper  on the right spot.
Wait I'm moving 11.9 to Majorca and then I have 2 new Wrover Board available. The we can go on. THX for helping me
  
Back to top
 
IP Logged
 
ZenForAll
Junior Member
**
Offline


Posts: 34
Joined: Jun 30th, 2018
Re: ESP-WROVER-KIT and Debugging
Reply #28 - Aug 20th, 2019 at 11:54am
 
I have Version 4.1 And what should I do wrong I just can put the Jumper  on the right spot.
Wait I'm moving 11.9 to Majorca and then I have 2 new Wrover Board available. The we can go on. THX for helping me
  
Back to top
 
IP Logged
 
ZenForAll
Junior Member
**
Offline


Posts: 34
Joined: Jun 30th, 2018
Re: ESP-WROVER-KIT and Debugging
Reply #29 - Dec 10th, 2019 at 4:45pm
 
Hello I moved to Manorca and tried today my ESP-Wrover Kit and debugging works. I don't know how to use ist but at least it works. Thx
I installed yesterday the latest new Addon and Visual Studio  as well
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: ESP-WROVER-KIT and Debugging
Reply #30 - Dec 10th, 2019 at 5:02pm
 
Thanks for the update, and glad to hear it is all working now.

Some additional links will appear when selecting the debugger, and the best place to begin is the Arduino GDB in Brief page: 
https://www.visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-In-Brief.html
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint