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.
ESP32 s3 mini JTAG connection using PlatformIO
-
- Posts: 2
- Joined: Wed May 17, 2023 10:43 am
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 s3 mini JTAG connection using PlatformIO
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.)
-
- Posts: 2
- Joined: Wed May 17, 2023 10:43 am
Re: ESP32 s3 mini JTAG connection using PlatformIO
Thank you for the support !
Is Segger Jlink supports ESP32S3 mini debug/Flashing?
Thanks.
Is Segger Jlink supports ESP32S3 mini debug/Flashing?
Thanks.
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 s3 mini JTAG connection using PlatformIO
OpenOCD supports the J-link hardware for flashing and debugging. I don't think Seggers software does.
Who is online
Users browsing this forum: No registered users and 100 guests