• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32-s3-dev board(espressif) loading but faults

Q&A Forum › ESP32-s3-dev board(espressif) loading but faults
0 Vote Up Vote Down
Judson Belmont asked 2 years ago

I am new to ESP32 and am trying to set up my ESP32_S3 -WROOM 2 board.  I have tried every option for settings. None work well for event the simplest blink programs.  either it loads and then panics, or I can get a simple serial print but no led flashing.  this is one setup I’ve tried, Done every combination of reset and rebooting imaginable.
Can someone recommend a set up that works? Board and bott USB and UART connector. Below is one of several settings I’ve tried.
ESP32-S3DEVKITC-1-N32R8V (32MB):
USB CDC On Boot: Enabled
CPU Frequency: 240MHz (WiFi)
Core Debug Level: None
USB DFU On Boot: Disabled
Erase All Flash Before Sketch Upload: Disabled
Events Run On: Core 1
Flash Mode: DIO 80MHz
Flash Size: 4MB (32Mb)
TAG Adapter: Integrated USB JTAG
Arduino Runs On: Core 1
USB Firmware MSC On Boot: Disabled
Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
PSRAM: OPI PSRAM
Upload Mode: UARTO/Hardware CDC
Upload Speed: 921600
USB Mode: Hardware CDC/TAG
this is the error I get for this one.  Tried to understand the GDB website but can’t see the help I need there.
Examination failed, GDB will be halted. Polling again in 6300ms
Error: missing data from bitq interface
Error: missing data from bitq interface
Error: Failed to exec JTAG queue!
Error: Failed to read debug stubs address location (-104)!
Polling target esp32s3.cpu1 failed, trying to reexamine
Error: missing data from bitq interface
Error: [esp32s3.cpu1] Unexpected OCD_ID = 0b339fd2
Examination failed, GDB will be halted. Polling again in 6300ms
Error: missing data from bitq interface
 

Question Tags: ESP32S3, GDB
2 Answers
0 Vote Up Vote Down
Judson Belmont answered 2 years ago

Let me add a little to the above -after about 100 hours later I’m frustrated(and tired). No problem with loading the ESP32 Library, and pasting the link into settings. Board manager okay in acknowledging the board. Can run the WiFi Scan example from espresso’s ESP32 and works fine. even though I have an error message. When I try to run a blink example with a serial.print, the print works but not the LEDs. (Tried 7 different pins and ensured they were all GPIO). Tried to understand freeRTOS and and watchdog and worked with them thinking that the rebooting and panic I was getting was due to settings/ parameters I needed to set. I should mention that when I tried to latch onto a wifi signal, I would get almost instant reboots. Used every option that Andrea Speiss(the Swiss YouTuber ) explained and demonstrated.This is the best of the error messages I get. I can access the debug console at the bottom of the Arduino sketch but after looking at the links and searching , I don’t have a clue on how to address this. Can you advise me? Judson Belmont this is the message with the “legacy” version as described by Andrea Speiss in one of his videos(which is referred to in the ESP32 course materials.    __ [2023-06-27T00:18:19.654Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session connected. You can switch to “DEBUG CONSOLE” to see GDB interactions.
/Users/judsonbelmont/Library/Arduino15/packages/esp32/tools/openocd-esp32/v0.11.0-esp32-20221026/bin/openocd -c “gdb_port 50000” -c “tcl_port 50001” -c “telnet_port 50002” -s /Users/judsonbelmont/Documents/Arduino/sketch_jun26b -f “/Applications/Arduino IDE.app/Contents/Resources/app/plugins/cortex-debug/extension/support/openocd-helpers.tcl” -f debug.cfg
Open On-Chip Debugger v0.11.0-esp32-20221026 (2022-10-26-14:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
CDRTOSConfigure
Info : only one transport option; autoselect ‘jtag’
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
Warn : Transport “jtag” was already selected
Info : Listening on port 50001 for tcl connections
Info : Listening on port 50002 for telnet connections
Error: esp_usb_jtag: could not find or open device!
[2023-06-27T00:18:19.669Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session closed
GDB server session ended. This terminal will be reused, waiting for next session to start…
 

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
I’m sorry, but at the moment, I still don’t have an ESP32 S3 to experiment with…
It seems as if your board is trying to use a JTAG debugger.
Can you share a link to your board?
It’s as if the board is in debugger mode…
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.