Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example for using ESP.rebootIntoUartDownloadMode() #7897

Merged
merged 7 commits into from
Mar 15, 2021

Conversation

mhightower83
Copy link
Contributor

For the case when your ESP8266 module or IoT device does not have the nice reset and program circuitry, the proxy method shown in this example can help. At least for upgrades from stable code running with this proxy.

@twischer thank you for sharing your work. 👍
I forgot that I had wanted to do this proxy a long time ago; however, I could not find a start flash download API like yours to call.
And at that time, I was not ready for the deep digging to make it work as you did. This would have been/will be real handy when reflashing the Sonoff SV and Basic.

@twischer
Copy link
Contributor

twischer commented Mar 1, 2021

@mhightower83

This would have been/will be real handy when reflashing the Sonoff SV and Basic.

This was also my main reason for this feature.
Great idea to enter UART download mode when ESP_SYNC was detected. This should be already unique enough. I was thinking about any unique string to sent but using ESP_SYNC itself is much better.
I am quite excited to port this solution even for https://github.com/arendst/Tasmota

Copy link
Collaborator

@d-a-v d-a-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@d-a-v d-a-v added the alpha included in alpha release label Mar 5, 2021
@earlephilhower earlephilhower added this to the 3.0.0 milestone Mar 15, 2021
@earlephilhower earlephilhower merged commit 9d82ebe into esp8266:master Mar 15, 2021
@mhightower83 mhightower83 deleted the pr-uartdownload-example branch July 9, 2021 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha included in alpha release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants