ESP32-C3 USB/JTAG not working after software reboot
Posted: Sun Feb 13, 2022 6:57 pm
Hi, recently I created a small ESP32-C3 devboard. I flashed the hello world example and found out that whenever the board restarts, I loose ability to see anything on the USB/JTAG serial. So I also connected serial line to UART and found out, it worked well..
This is bootloader log when I plug it to computer
The board says hello world, do the countdown and restarts (visible in the UART and the USB/JTAG), but after the restart the USB/JTAG stops so I cant see anything (last message: Restarting now.). The UART is still responsible and it looks like the board is doing fine (keep saying hello world, waiting, restarting).
This is bootloader log when board soft reset (aquired from UART):
What is the problem? Everything about the board is on github: https://github.com/arnytrty/DevC3.
There is also another problem with wifi, but I will create another post for it
This is bootloader log when I plug it to computer
Code: Select all
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0xe3c
load:0x403ce000,len:0x6dc
load:0x403d0000,len:0x28c4
entry 0x403ce000
This is bootloader log when board soft reset (aquired from UART):
Code: Select all
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0xc (RTC_SW_CPU_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
Saved PC:0x403806dc
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0xe3c
load:0x403ce000,len:0x6dc
load:0x403d0000,len:0x28c4
entry 0x403ce000
There is also another problem with wifi, but I will create another post for it