Site icon volt.tech

How to Configuring GPIO9 Strapping Pin in User App?

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

Exit mobile version