How to eliminate serial header?

butchalline
Posts: 14
Joined: Sat Oct 14, 2017 2:05 pm

How to eliminate serial header?

Postby butchalline » Sun May 17, 2020 7:46 pm

I am using ESP32/NOW with Arduino IDE and printing incoming data to the Arduino IDE serial monitor.

Before my data appears, the following is printed on the serial monitor:

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


Is there any way to avoid this happening?

Thanks

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

Re: How to eliminate serial header?

Postby ESP_Sprite » Sun May 17, 2020 9:10 pm

I think those are printed by the ROM... if so, making sure GPIO15 is low on boot (by using e.g. a pulldown resistor) should make it shut up.

butchalline
Posts: 14
Joined: Sat Oct 14, 2017 2:05 pm

Re: How to eliminate serial header?

Postby butchalline » Sun May 17, 2020 9:52 pm

Thank you Sprite!

That does indeed work.

Are there any other methods that might do the job?

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

Re: How to eliminate serial header?

Postby ESP_Sprite » Mon May 18, 2020 7:09 am

Not to suppress the output. In theory, another way to skin this (if you have complete control over your hardware) is not to use the default TxD/RxD pins and switch UART0 over to your custom pins as soon as you finished booting. Not 100% sure how you'd do that in the Arduino environment, though.

butchalline
Posts: 14
Joined: Sat Oct 14, 2017 2:05 pm

Re: How to eliminate serial header?

Postby butchalline » Mon May 18, 2020 2:29 pm

Thanks again Sprite for you helpful and rapid response !

Who is online

Users browsing this forum: No registered users and 115 guests