Code: Select all
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
debug_tool = esp-prog
debug_init_break = tbreak setup
I then tried programming it using UART as we usually do, but this time with the ESP-PROG, before we alsways had the programming circuit on board and used a usb-serial converter.Info : tcl server disabled
Info : telnet server disabled
Info : clock speed 5000 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: esp32s3.cpu0: IR capture error; saw 0x1f not 0x01
Warn : Bypassing JTAG setup events due to errors
Error: Unexpected OCD_ID = ffffffff
Warn : target esp32s3.cpu1 examination failed
Info : starting gdb server for esp32s3.cpu0 on pipe
Info : accepting 'gdb' connection from pipe
Error: Target not examined yet
Error executing event gdb-attach on target esp32s3.cpu0:
Warn : No symbols for FreeRTOS!
Error: Target not halted
Error: auto_probe failed
Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'.
Error: attempted 'gdb' connection rejected
Error: error during select: Unknown error
.pioinit:11: Error in sourced command file:
Remote communication error. Target disconnected.: Success.
The code loads, but when I open the serial port I get the following message repeating:
I've checked that the connectors between my PCB and the PROG is correct.(14:16:49.605) Build:Mar 27 2021
(14:16:49.605) rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
(14:16:49.605) Saved PC:0x403776c4
(14:16:49.605) SPIWP:0xee
(14:16:49.605) mode:DIO, clock div:1
(14:16:49.605) load:0x3fce3808,len:0x44c
(14:16:49.605) load:0x403c9700,len:0xbec
(14:16:49.605) load:0x403cc700,len:0x2920
(14:16:49.605) entry 0x403c98d8
This is the schematic for the ESP: All of the GPIOs in use have 10k pull downs.
Any ideas on why the JTAG doesn't work, and why the program doesn't start after successfully uploading it.
Thank you