Hello.
Is there a way to enter bootloader/ download mode by calling a certain function in the user app?
For example, I am aware of a function
CODE SELECT ALL esp_restart()
that will only reset the CPU and it’ll boot back to the user app.
But what I want is another function or a number of codes that resets the CPU and makes it so that it wouldn’t jump to the user app and rather would stay in the bootloader.
I searched, but could not discover any information on that. I tried configuring GPIO9 strapping pin as an output, writing 0 to it, and calling the esp_restart() function, but that did not work, probably because strapping pins aren’t sampled after the software reset.
Thank You
Hello @Alex, Probably. Note that this register is typically intended for DWC- OTG use, and as the C3 doesn't have this, I am not sure if we tested the functionality there, but you can try the following CODE SELECT ALL (RTC_CNTL_OPTION1_REG,RTC_CNTL_FORCE_DOWNLOAD_BOOT); esp_restart(); Thank You JuliRead more
Hello Alex thomas,
Probably. Note that this register is typically intended for DWC- OTG use, and as the C3 doesn’t have this, I am not sure if we tested the functionality there, but you can try the following
CODE SELECT ALL
Thank You
Julian White
See less