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

cyberman54
Posts: 27
Joined: Sun Jan 14, 2018 7:47 pm

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

Postby cyberman54 » Mon Jun 11, 2018 5:56 am

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?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » Mon Jun 11, 2018 9:01 am

It is a typo it should be configspi and it is reading the efuse settings for spi flash pins

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

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

Postby ESP_igrr » Mon Jun 11, 2018 9:37 am

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » Mon Jun 11, 2018 9:48 am

It's possible but confusing since it is called spiconfig everywhere else (eg ets_efuse_get_spiconfig)

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

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

Postby ESP_igrr » Mon Jun 11, 2018 9:53 am

ets_efuse_get_spiconfig
Ah right, then it might indeed be a typo!

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

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

Postby ESP_Angus » Mon Jun 11, 2018 11:45 pm

There's some more information about this boot output on the esptool wiki:
https://github.com/espressif/esptool/wi ... eader-info

Who is online

Users browsing this forum: Baidu [Spider] and 114 guests