VS Arduino
Visual Micro >> General Board >> Useable pins on ESP WRover dev kit
https://www.visualmicro.com/forums/YaBB.pl?num=1650488385

Message started by HomerRamone on Apr 20th, 2022 at 8:59pm

Title: Useable pins on ESP WRover dev kit
Post by HomerRamone on Apr 20th, 2022 at 8:59pm
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/get-started-wrover-kit.html

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

Title: Re: Useable pins on ESP WRover dev kit
Post by Simon@Visual Micro on Apr 21st, 2022 at 8:29am
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]      #ifdef VM_DEBUG_GDB
     Serial.println("In GDB Mode");
     #endif[/code]

Title: Re: Useable pins on ESP WRover dev kit
Post by HomerRamone on Apr 21st, 2022 at 10:57am
Brilliant. Thanks.

Title: Re: Useable pins on ESP WRover dev kit
Post by HomerRamone on Apr 21st, 2022 at 3:47pm
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


Title: Re: Useable pins on ESP WRover dev kit
Post by HomerRamone on Apr 21st, 2022 at 3:47pm
(Im also curious to know what the NC/XTAL are for)

Title: Re: Useable pins on ESP WRover dev kit
Post by Simon@Visual Micro on Apr 21st, 2022 at 4:11pm
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.

Title: Re: Useable pins on ESP WRover dev kit
Post by HomerRamone on Apr 21st, 2022 at 6:07pm
Ah, ok.
Thanks

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.