Page 1 of 1

Reset button sends text over serial when debug is set to none.

Posted: Wed Oct 14, 2020 1:53 am
by MrMinecraft97
Is there any way to remove this text being printed to serial when the reset (EN) button is pressed on ESP32, even though Core Debug Level is set to none. It is a DevKitC_V4 with a Wrover-E. I have already tried using the esptool.py erase_flash, but is still posts it to serial. I use the Arduino IDE to upload code to to the ESP32.

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:9720
ho 0 tail 12 room 4
load:0x40080400,len:6352
entry 0x400806b8

Re: Reset button sends text over serial when debug is set to none.

Posted: Wed Oct 14, 2020 2:43 am
by ESP_Sprite
That's the bootloader signon message. You can suppress that by pulling GPIO15 low on startup.

Re: Reset button sends text over serial when debug is set to none.

Posted: Wed Oct 14, 2020 1:44 pm
by MrMinecraft97
Yes, I just tried that and it does work, but is there any way to stop it with software instead of a physical wire?

Re: Reset button sends text over serial when debug is set to none.

Posted: Thu Oct 15, 2020 2:30 am
by ESP_Sprite
No. Software isn't loaded at that point yet.

Re: Reset button sends text over serial when debug is set to none.

Posted: Thu Oct 15, 2020 8:32 pm
by MrMinecraft97
Are their any other bootloaders that do not send it, or is it the ESP32 its self sending it? Could you use the same bootloader as an Arduino, as they do not send it?

Re: Reset button sends text over serial when debug is set to none.

Posted: Fri Oct 16, 2020 1:33 am
by ESP_Sprite
Yes, it's the (unchangable) bootloader in ESP32 ROM that sends it (even when you use the Arduino bootloader).

Re: Reset button sends text over serial when debug is set to none.

Posted: Fri Oct 16, 2020 1:57 am
by MrMinecraft97
Ok. Thank you.