Page 1 of 1

What is the meaning of startup text on ESP32

Posted: Mon Jul 17, 2017 4:59 pm
by jack.fury413
Hi guys, I'm wondering what the startup text means ? For example:

Code: Select all

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0008,len:8
load:0x3fff0010,len:160
load:0x40078000,len:10632
load:0x40080000,len:252
entry 0x40080034
Thanks

Re: What is the meaning of startup text on ESP32

Posted: Mon Jul 17, 2017 10:31 pm
by WiFive
Reset reason code, boot mode (strapping pins)
Read spi config from efuse and flash image header
Copy 2nd stage bootloader to ram and run it

Re: What is the meaning of startup text on ESP32

Posted: Tue Jul 18, 2017 1:37 am
by jack.fury413
Thanks but what is this line meaning ?

Code: Select all

mode:DIO clock:div 1
And is there any document about this.

Re: What is the meaning of startup text on ESP32

Posted: Tue Jul 18, 2017 8:00 am
by WiFive
I think it means the SPI flash is set to DIO mode and clocked at 80mhz. This is only until the second stage bootloader takes over.

No docs about ROM bootloader really. What are you trying to figure out?

Re: What is the meaning of startup text on ESP32

Posted: Tue Jul 18, 2017 1:49 pm
by jack.fury413
Thanks, seems like you get the point.
I'm trying to get the information about hardware configuration: system clock, operating mode (power saving) and reset reason (catching watchdog if any).
So if there is any place or somehow that I can get to know them, please show me.

Re: What is the meaning of startup text on ESP32

Posted: Mon Jul 24, 2017 3:51 am
by kolban
Howdy,
There is a good load of information found here:

http://esp-idf.readthedocs.io/en/latest/

and also the Technical Reference Manual contains lot of good information at the lowest possible levels ... see:

http://espressif.com/sites/default/file ... ual_en.pdf

Re: What is the meaning of startup text on ESP32

Posted: Tue Jul 25, 2017 8:41 am
by pranav
What Kolban has suggested is the best resource for all available APIs. However if it is the reset reasons that you need, there is an example code written for arduino-esp32 linked here.

Hope it helps you :)

Re: What is the meaning of startup text on ESP32

Posted: Fri Jul 28, 2017 3:44 pm
by jack.fury413
Sorry that I was out for a while.
Thanks guys, I'm gonna check out the link, now I'm busy with the SD card issue but I think I'm gonna open another thread for it.