ESP32S2 Restarting after connecting USB as a log output
ESP32S2 Restarting after connecting USB as a log output
When im trying too use USB as an output for log information my device start continusly rebooting after usb connection. I just using ESP_LOGV for output some messages through USB port. In PCB i have only usb D+ and D-, and when i connect them, device start rebooting with error: rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)<CR><LF>. Looks like the stack overflow, i tried to encrease rx/tx usb buffer size but it didnt help. Sometimes everythings works fine after firmware download...When i disconnect usb from the device then everything work fine. But i need to use logs info for my project and i cant use uarts. What could be the problem?
Re: ESP32S2 Restarting after connecting USB as a log output
No GND connection ?In PCB i have only usb D+ and D-,
Re: ESP32S2 Restarting after connecting USB as a log output
I connect the ground in another place, a temporary solution. The USB itself works, I load the firmware through it into the bootloader without any problems
Who is online
Users browsing this forum: Bytespider, PerplexityBot, Qwantbot and 1 guest