-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Resolution: Unable to reproduceWith given information issue is unable to reproduceWith given information issue is unable to reproduceStatus: SolvedThe issue has been resolved and requires no further action.The issue has been resolved and requires no further action.
Description
Board
ESP32S3
Device Description
When using ESP32S3 to receive GPS data via UART, no data was displayed on the serial monitor. After troubleshooting and verifying hardware connections, pin assignments, and code logic, the issue was resolved by downgrading the ESP32 Board Manager version 3.1.1. This suggests that the problem might be related to the latest version of the Board Manager.
Hardware Configuration
- Board: ESP32S3
- GPS Module: GYSFDMAXB
- UART Connection: RX → GPIO43, TX → GPIO44
Version
latest development Release Candidate (RC-X)
IDE Name
Arduino IDE 2.3.4
Operating System
Windows11
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
921600
Description
- ESP32 Variant: ESP32-S3-WROOM-1 (Surface Mount)
- PCB Design: Custom PCB (Self-designed)
- GPS Module: GYSFDMAXB
- UART Connection: RX → GPIO43, TX → GPIO44, GND connected
- Power Supply: 3.3V regulated supply
Sketch
void setup() {
Serial1.begin(9600, SERIAL_8N1, 43, 44);
Serial.begin(115200);
}
void loop() {
if (Serial1.available() > 0) {
String line = Serial1.readStringUntil('\n');
Serial.println("Received Data: " + line);
}
}
Debug Message
Cortex-Debug: VSCode debugger extension version 1.5.1 git(be7d3c8+dirty). Usaage info: https://github.com/Marus/cortex-debug#usage
Reading symbols from C:\Users\Asdei\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2405/bin/xtensa-esp32s3-elf-objdump --syms -C -h -w C:/Users\Asdei\AppData\Local\arduino\sketches\01C892C0C33DE54ED3EB9D2ACF18FF7C\GPS_ESP32s3_ver1_20241225.ino.elf
Reading symbols from c:/users\asdei\appdata\local\arduino15\packages\esp32\tools\esp-x32\2405/bin/xtensa-esp32s3-elf-nm --defined-only -S -l -C -p C:/Users\Asdei\AppData\Local\arduino\sketches\01C892C0C33DE54ED3EB9D2ACF18FF7C\GPS_ESP32s3_ver1_20241225.ino.elf
Launching GDB: "C:\\Users\\Asdei\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\xtensa-esp-elf-gdb\\14.2_20240403\\bin\\xtensa-esp32s3-elf-gdb.exe" -q --interpreter=mi2 "C:/Users\\Asdei\\AppData\\Local\\arduino\\sketches\\01C892C0C33DE54ED3EB9D2ACF18FF7C\\GPS_ESP32s3_ver1_20241225.ino.elf"
IMPORTANT: Set "showDevDebugOutput": "raw" in "launch.json" to see verbose GDB transactions here. Very helpful to debug issues or report problems
Launching gdb-server: "C:\\Users\\Asdei\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\openocd-esp32\\v0.12.0-esp32-20241016/bin/openocd" -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s "c:\\Users\\Asdei\\Arduino\\GPS_ESP32s3_ver1_20241225" -f "C:/Program Files/Arduino IDE/resources/app/plugins/cortex-debug/extension/support/openocd-helpers.tcl" -f board/esp32s3-builtin.cfg
Please check TERMINAL tab (gdb-server) for output from C:\Users\Asdei\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.12.0-esp32-20241016/bin/openocd
Finished reading symbols from objdump: Time: 307 ms
Finished reading symbols from nm: Time: 577 ms
warning:
could not convert 'main' from the host encoding (CP1252) to UTF-32.
This normally should not happen, please file a bug report.
Reading symbols from C:/Users\Asdei\AppData\Local\arduino\sketches\01C892C0C33DE54ED3EB9D2ACF18FF7C\GPS_ESP32s3_ver1_20241225.ino.elf...
GNU gdb (esp-gdb) 14.2_20240403
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=x86_64-w64-mingw32 --target=xtensa-esp-elf".
Other Steps to Reproduce
Serial Monitor Output:
No output displayed. The serial monitor remains blank even after waiting for several minutes.
UART Debugging:
- Added
Serial.println("Debug: Entering loop");
→ Output displayed as expected. - Added
Serial.println(Serial1.available());
→ Always returns 0, indicating no data is received from UART1.
Verbose Upload Log:
- Compilation and upload successful with no errors or warnings.
Baud Rate:
- Code:
Serial.begin(115200);
andSerial1.begin(9600, SERIAL_8N1, 43, 44);
- Serial monitor: 115200 baud, NL & CR enabled.
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Labels
Resolution: Unable to reproduceWith given information issue is unable to reproduceWith given information issue is unable to reproduceStatus: SolvedThe issue has been resolved and requires no further action.The issue has been resolved and requires no further action.