ESP32 s3 mini JTAG connection using PlatformIO

arunkumar.av
Posts: 2
Joined: Wed May 17, 2023 10:43 am

ESP32 s3 mini JTAG connection using PlatformIO

Postby arunkumar.av » Thu May 18, 2023 4:55 am

Hello,

We are using ESP32 S3 mini for one of the application and using VS code + platformIO for code development. We need some clarification on below points.

1) Is it possible to flash and debug using JTAG lines (MTMS, MTDI, MTDO and MTCK) in the VS code + platformIO IDE? we are tried to debug using Segger Jlink but it is not happening.

2) If yes, is there any other GPIO need to be considered for programming or debugging? since all the GPIOs are occupied.


Thanks.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 s3 mini JTAG connection using PlatformIO

Postby ESP_Sprite » Thu May 18, 2023 8:48 am

Yes, it is possible to use a J-link, but the JTAG port by default is connected to the internal USB-serial-JTAG device. You need to burn some eFuses to change that. (Alternatively, you can get rid of the J-link and connect an USB cable/connector directly to the USB-serial-JTAG on GPIO19 and 20. You can debug/flash using that as well, and you won't need an external adapter.)

arunkumar.av
Posts: 2
Joined: Wed May 17, 2023 10:43 am

Re: ESP32 s3 mini JTAG connection using PlatformIO

Postby arunkumar.av » Thu May 18, 2023 12:14 pm

Thank you for the support !

Is Segger Jlink supports ESP32S3 mini debug/Flashing?


Thanks.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 s3 mini JTAG connection using PlatformIO

Postby ESP_Sprite » Fri May 19, 2023 3:53 pm

OpenOCD supports the J-link hardware for flashing and debugging. I don't think Seggers software does.

Who is online

Users browsing this forum: Bing [Bot], joglz8 and 59 guests