ESP32-S3 deep sleep and USB/JTAG
Posted: Mon May 02, 2022 8:17 am
I'm attempting to run the deep sleep example with the ESP32-S3 using the current `master` branch, sha `a82e6e63d98bb051d4c59cb3d440c537ab9f74b0`. I needed to enable the ULP coprocessor to get RTC memory to remain persistent upon wake-up. After doing so, the application behaved as expected when connected via UART.
What I've observed when connect to both the UART as the primary console out, and the USB/JTAG for the secondary console is that the ESP32-S3 will boot once and emit the expected output followed immediately by a second boot in which the RTC memory is cleared. Only the output of the second boot will occur on the USB/JTAG.
It seems that any attempt to use the USB/JTAG for serial, and possibly debugging, may result in the loss of RTC memory and the persistence of deep sleep.
Is this an issue that can be resolved or worked around?
What I've observed when connect to both the UART as the primary console out, and the USB/JTAG for the secondary console is that the ESP32-S3 will boot once and emit the expected output followed immediately by a second boot in which the RTC memory is cleared. Only the output of the second boot will occur on the USB/JTAG.
It seems that any attempt to use the USB/JTAG for serial, and possibly debugging, may result in the loss of RTC memory and the persistence of deep sleep.
Is this an issue that can be resolved or worked around?