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 and Verbose
  • 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 Send TopicPrint
Normal Topic Useable pins on ESP WRover dev kit (Read 544 times)
HomerRamone
Junior Member
**
Offline


Posts: 38
Joined: Feb 5th, 2022
Useable pins on ESP WRover dev kit
Apr 20th, 2022 at 8:59pm
Print Post  
How do I figure out what pins are usable on the board ?
I've seen the list at https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/g...

I from this see that some are shared with various peripherals.

I'm not looking to use the Camera and most likely not the micro SD card. The LCD would be useful.
I'm looking to use a debugger so I guess I need to avoid any shared with Jtag ?

Can I use the pins that are shared ? Do I maybe need to do something disable that these pins are shared with ?

Thanks
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 1615
Joined: Feb 13th, 2019
Re: Useable pins on ESP WRover dev kit
Reply #1 - Apr 21st, 2022 at 8:29am
Print Post  
To our knowledge the LCD should work along with JTAG debugging, the EN pin is only shared so the screen is reset along with the MCU.

The MicroSD will definitely interfere if it is initialised in the software, as it uses all of the JTAG Pins (12,13,14,15), however the camera does not appear to interfere.  The ESP32-CAM works with JTAG and has the camera module built onto the board for a very low cost as an alternative.

As long as you don't initialise the pins in software, or use the MicroSD Library, or connect a device to those pins (e.g. insert a microSD Card) then they should function as expected with the JTAG debugging.

You can also check for the VM_DEBUG_GDB define in your sketch, so that code is active or inactive when using the Hardware Debugging:
Code
Select All
	#ifdef VM_DEBUG_GDB
	Serial.println("In GDB Mode");
	#endif 

  
Back to top
 
IP Logged
 
HomerRamone
Junior Member
**
Offline


Posts: 38
Joined: Feb 5th, 2022
Re: Useable pins on ESP WRover dev kit
Reply #2 - Apr 21st, 2022 at 10:57am
Print Post  
Brilliant. Thanks.
  
Back to top
 
IP Logged
 
HomerRamone
Junior Member
**
Offline


Posts: 38
Joined: Feb 5th, 2022
Re: Useable pins on ESP WRover dev kit
Reply #3 - Apr 21st, 2022 at 3:47pm
Print Post  
Just to make sure I understand correctly - if im not using the board to debug another board - as in im debugging and running my sketch on this board I should be able to use the JTag pins too (unless I wanted to use microSD - which I 100% dont)
thanks

  
Back to top
 
IP Logged
 
HomerRamone
Junior Member
**
Offline


Posts: 38
Joined: Feb 5th, 2022
Re: Useable pins on ESP WRover dev kit
Reply #4 - Apr 21st, 2022 at 3:47pm
Print Post  
(Im also curious to know what the NC/XTAL are for)
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 1615
Joined: Feb 13th, 2019
Re: Useable pins on ESP WRover dev kit
Reply #5 - Apr 21st, 2022 at 4:11pm
Print Post  
If you want to use the Hardware debugging, you cannot use the JTAG pins in your sketch, and the jumpers have to be present on the board to connect the TMS/TDO/TDI/TCK to the onboard FT2232HL Chip (as shown on this page, in the JP2 Enable Hardware Debug row of the table).

The NC/XTAL pins are for the external oscillator which provides the clock for the ESP32 (detailed here), which can be seen in the connection diagram on the top right segment for the ESP32 Module on this page.
  
Back to top
 
IP Logged
 
HomerRamone
Junior Member
**
Offline


Posts: 38
Joined: Feb 5th, 2022
Re: Useable pins on ESP WRover dev kit
Reply #6 - Apr 21st, 2022 at 6:07pm
Print Post  
Ah, ok. 
Thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint