Page 1 of 1

When using Uart to pc,stopping ESP32 dev kit entering flash mode / how to get out of flash mode on pc side

Posted: Wed Jan 02, 2019 5:37 pm
by trustmiao
When using esp32 dev kit(we tried different brand/ model ,and the same happens). While uart connection is open, we click the "en" button at the same time without pressing "boot", the esp32 will enter flash mode, displaying,

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download

It is annoying because it doesn't function anymore until we cut the power. or interestingly, we could get out of flahs mode by click "en" when using Arduino to open the uart connection.

So, it enters flash mode in almost every serial client(including ours) except for arduino. So the question is , 1: how could we stop entering flash mode, 2: when we detect it is in flash mode in our pc client software, can we send some uart signal to get it out of flash mode?

thanks a lot

Re: When using Uart to pc,stopping ESP32 dev kit entering flash mode / how to get out of flash mode on pc side

Posted: Fri Jan 04, 2019 11:04 am
by ESP_houwenxiang
trustmiao wrote:
Wed Jan 02, 2019 5:37 pm
When using esp32 dev kit(we tried different brand/ model ,and the same happens). While uart connection is open, we click the "en" button at the same time without pressing "boot", the esp32 will enter flash mode, displaying,

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download

It is annoying because it doesn't function anymore until we cut the power. or interestingly, we could get out of flahs mode by click "en" when using Arduino to open the uart connection.

So, it enters flash mode in almost every serial client(including ours) except for arduino. So the question is , 1: how could we stop entering flash mode, 2: when we detect it is in flash mode in our pc client software, can we send some uart signal to get it out of flash mode?

thanks a lot
Hi, trustmiao
I have run into the same problem before and found that it is caused by the serial terminal.

Re: When using Uart to pc,stopping ESP32 dev kit entering flash mode / how to get out of flash mode on pc side

Posted: Fri Jan 04, 2019 12:02 pm
by trustmiao
I have the same feeling, did you find any solution?

Re: When using Uart to pc,stopping ESP32 dev kit entering flash mode / how to get out of flash mode on pc side

Posted: Tue Jan 08, 2019 4:01 am
by ESP_houwenxiang
Can you change a serial terminal tool ?

Re: When using Uart to pc,stopping ESP32 dev kit entering flash mode / how to get out of flash mode on pc side

Posted: Tue Jan 08, 2019 8:02 am
by trustmiao
I wish this is the option, we tried different terminal, and only arduino work fine with a reset. Our own terminal is writen in c++ same, didn't work. Out of cards

Re: When using Uart to pc,stopping ESP32 dev kit entering flash mode / how to get out of flash mode on pc side

Posted: Fri Jan 11, 2019 6:56 pm
by trustmiao
the temporary working solution is after flash the board, connect gpio0 to vcc, incase some other may find helpful