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

MrMinecraft97
Posts: 6
Joined: Wed Oct 14, 2020 1:23 am

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

Postby MrMinecraft97 » Wed Oct 14, 2020 1:53 am

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

ESP_Sprite
Posts: 9594
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Wed Oct 14, 2020 2:43 am

That's the bootloader signon message. You can suppress that by pulling GPIO15 low on startup.

MrMinecraft97
Posts: 6
Joined: Wed Oct 14, 2020 1:23 am

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

Postby MrMinecraft97 » Wed Oct 14, 2020 1:44 pm

Yes, I just tried that and it does work, but is there any way to stop it with software instead of a physical wire?

ESP_Sprite
Posts: 9594
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Thu Oct 15, 2020 2:30 am

No. Software isn't loaded at that point yet.

MrMinecraft97
Posts: 6
Joined: Wed Oct 14, 2020 1:23 am

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

Postby MrMinecraft97 » Thu Oct 15, 2020 8:32 pm

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?

ESP_Sprite
Posts: 9594
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Fri Oct 16, 2020 1:33 am

Yes, it's the (unchangable) bootloader in ESP32 ROM that sends it (even when you use the Arduino bootloader).

MrMinecraft97
Posts: 6
Joined: Wed Oct 14, 2020 1:23 am

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

Postby MrMinecraft97 » Fri Oct 16, 2020 1:57 am

Ok. Thank you.

Who is online

Users browsing this forum: No registered users and 53 guests