-
Notifications
You must be signed in to change notification settings - Fork 7.7k
ESP32 error messages on Boot #11632
-
I have recently updated one of my projects to ESP V3.2.1 from V2.0.0. I am working in Visual Studio with Visual Micro Add-In in an Arduino environment.
With serial port open, on reboot, I get the following messages
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:0x3fff0030,len:4660
load:0x40078000,len:15516
load:0x40080400,len:4
load:0x40080404,len:3152
entry 0x400805a0
10:43:48:819 -> E (499) gpio: gpio_pullup_en(78): GPIO number error (input-only pad has no internal PU)
E (500) gpio: gpio_pullup_en(78): GPIO number error (input-only pad has no internal PU)
E (504) gpio: gpio_pullup_en(78): GPIO number error (input-only pad has no internal PU)
E (512) gpio: gpio_pullup_en(78): GPIO number error (input-only pad has no internal PU)
E (520) gpio: gpio_pullup_en(78): GPIO number error (input-only pad has no internal PU)
E (527) gpio: gpio_pullup_en(78): GPIO number error (input-only pad has no internal PU)
Under V2.0.0, the message was limited to a similar report which ended at "entry 0x400805ec" without any error reports.
On examination of my code, it appears that I am indeed seeking to pull up 2 pins which are "input only, no pull up". But not 6 pins.
So two questions arise:
- Is there/Where is the decoding wheel to help me dig below the top-level error statement?
- Noting that the code package under V3.2.1. is substantially larger (some 100Kbytes) than under V2.0.0, I suspect that a large file of text error messages has been inserted into my binary. How does one control this?
Any help/advice will be gratefully received.
Roman
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 3 replies
-
- Those errors come from IDF. It is strange why they are so many, but I am sure that if you do not try to pullup those two pins, they will go away. Arduino has it's own debug in the board menu
- Size increase comes mostly from supporting new WiFi security protocols, but also small increases in other components. That is normal and well known for versions 3+
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for the quick response. I will experiment with changing pullups later..
You say "Arduino has it's own debug in the board menu".. Can you elaborate? Leaving aside the WiFi security protocols, surely the existence of this error text (and presumably many others) in my final binary is not helping. They didn't seem to be there in 2.0.0
Beta Was this translation helpful? Give feedback.
All reactions
-
I am not sure how Visual Studio with Visual Micro Add-In
works, but you surely have some sort of menu to select the board you are compiling for. When selected there should be a menu for Core Debug Level
to allow you to set the Arduino log level.
As for errors coming from ESP-IDF, we opted for those in order to better detect and debug user problems. It's just error logs so they are not that much. Turning them off will not save much flash for you and having them on can help resolve many headaches
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks. Yes, there is indeed a Core Debug Level switch. Now I know what it's for :-)
Thanks again.
Beta Was this translation helpful? Give feedback.