Code: Select all
void chip_usb_set_persist_flags( uint32_t x );
chip_usb_set_persist_flags( USBDC_PERSIST_ENA );
REG_WRITE(RTC_CNTL_OPTION1_REG, RTC_CNTL_FORCE_DOWNLOAD_BOOT);
esp_cpu_reset( 0 );
But I cannot figure out how to use esptool.py or the idf.py to reboot into my application. I've tried all the --before and --after configurations I can think of including idf.py run.
What is the proper way to reboot from USB ACM bootloader if it was arrived at via