0

JLink pins for Huzzah32 ESP32 board
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

JLink pins for Huzzah32 ESP32 board

by biziosan on Mon Jan 22, 2018 9:48 am

Hi,

I bought an Huzzah32 ESP32 board (https://www.adafruit.com/product/3405) for several IoT projects. The description clearly states that it supports OpenOCD. However, I can't find the pins for the JLink (SWDIO/SWCLK). Is this an mistake in the documentation or undocumented pins on the board?

biziosan
 
Posts: 4
Joined: Mon Nov 20, 2017 4:57 pm

Re: JLink pins for Huzzah32 ESP32 board

by franklin97355 on Mon Jan 22, 2018 2:03 pm

Please note: The ESP32 is still targeted to developers. Not all of the peripherals are fully documented with example code, and there are some bugs still being found and fixed. We got all of our Featherwings working under Arduino IDE, so you can expect things like I2C and SPI and analog reads to work. But other elements are still under development. For that reason, we recommend this Feather for makers who have some experience with microcontroller programming, and not as a first dev board.

Here are specifications from Espressif about the ESP32:

240 MHz dual core Tensilica LX6 microcontroller with 600 DMIPS
Integrated 520 KB SRAM
Integrated 802.11b/g/n HT40 Wi-Fi transceiver, baseband, stack and LWIP
Integrated dual mode Bluetooth (classic and BLE)
4 MByte flash include in the WROOM32 module
On-board PCB antenna
Ultra-low noise analog amplifier
Hall sensor
10x capacitive touch interface
32 kHz crystal oscillator
3 x UARTs (only two are configured by default in the Feather Arduino IDE support, one UART is used for bootloading/debug)
3 x SPI (only one is configured by default in the Feather Arduino IDE support)
2 x I2C (only one is configured by default in the Feather Arduino IDE support)
12 x ADC input channels
2 x I2S Audio
2 x DAC
PWM/timer input/output available on every GPIO pin
OpenOCD debug interface with 32 kB TRAX buffer
SDIO master/slave 50 MHz
SD-card interface support

The chip itself supports it but you will need to make the connections.

franklin97355
 
Posts: 19019
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: JLink pins for Huzzah32 ESP32 board

by Arudinne on Mon Jan 22, 2018 2:23 pm

From what I found online, It looks you need to use GPIO Pins 12,13,14 & 15:

https://hydrabus.com/2016/10/29/how-to- ... -hardware/

All of those pins appear to be broken out on the feather:

https://learn.adafruit.com/adafruit-huz ... nalog-pins

Arudinne
 
Posts: 298
Joined: Sun Mar 19, 2017 9:36 pm

Re: JLink pins for Huzzah32 ESP32 board

by biziosan on Tue Jan 23, 2018 7:30 am

Guys, thank you for your quick response!

I am aware of the current developing state of the ESP32. I am asking the question to give chance to either correct the statement on the website, or improve the relative documentation. Other Adafruit boards have clearer documentation regarding debugging (i.e. the WICED feather). It is unfortunate that the official response from Adafruit does not say much.

Also, @Franklin97355, I have experience with microcontrollers - I wouldn't ask about JLink otherwise.

biziosan
 
Posts: 4
Joined: Mon Nov 20, 2017 4:57 pm

Re: JLink pins for Huzzah32 ESP32 board

by franklin97355 on Tue Jan 23, 2018 1:48 pm

For information about the processor you should contact Espressif. We build the board to allow you to use it and are learning as we go. Be patient and we will have more detail in the future.

franklin97355
 
Posts: 19019
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Please be positive and constructive with your questions and comments.