Page 1 of 1

What's the meaning of the boot header lines, i.e. CONFIGSIP and SPIWP ?

Posted: Mon Jun 11, 2018 5:56 am
by cyberman54
On different ESP32 boards with same application code i see different boot messages when powering up the device:

Code: Select all

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00

rst:0x1 (POWERON_RESET),boot:0x33 (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
What's the meaning of these messages, i.e. "configsip" and "SPIWP"?
Is there any documentation on those?

Re: What's the meaning of the boot header lines, i.e. CONFIGSIP and SPIWP ?

Posted: Mon Jun 11, 2018 9:01 am
by WiFive
It is a typo it should be configspi and it is reading the efuse settings for spi flash pins

Re: What's the meaning of the boot header lines, i.e. CONFIGSIP and SPIWP ?

Posted: Mon Jun 11, 2018 9:37 am
by ESP_igrr
WiFive is right, this is the value of flash pins read from EFUSE. WP is the WP pin number (or 0xee, if WP is not overridden), read from flash image header.
I think "sip" was actually not a typo, i.e. the intended use of this EFUSE was to configure flash pins in SIPs.

Re: What's the meaning of the boot header lines, i.e. CONFIGSIP and SPIWP ?

Posted: Mon Jun 11, 2018 9:48 am
by WiFive
It's possible but confusing since it is called spiconfig everywhere else (eg ets_efuse_get_spiconfig)

Re: What's the meaning of the boot header lines, i.e. CONFIGSIP and SPIWP ?

Posted: Mon Jun 11, 2018 9:53 am
by ESP_igrr
ets_efuse_get_spiconfig
Ah right, then it might indeed be a typo!

Re: What's the meaning of the boot header lines, i.e. CONFIGSIP and SPIWP ?

Posted: Mon Jun 11, 2018 11:45 pm
by ESP_Angus
There's some more information about this boot output on the esptool wiki:
https://github.com/espressif/esptool/wi ... eader-info