What is the meaning of startup text on ESP32

jack.fury413
Posts: 8
Joined: Thu Jul 06, 2017 5:01 pm

What is the meaning of startup text on ESP32

Postby jack.fury413 » Mon Jul 17, 2017 4:59 pm

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

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

Re: What is the meaning of startup text on ESP32

Postby WiFive » Mon Jul 17, 2017 10:31 pm

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
Last edited by WiFive on Sun Jul 23, 2017 9:46 am, edited 2 times in total.

jack.fury413
Posts: 8
Joined: Thu Jul 06, 2017 5:01 pm

Re: What is the meaning of startup text on ESP32

Postby jack.fury413 » Tue Jul 18, 2017 1:37 am

Thanks but what is this line meaning ?

Code: Select all

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

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

Re: What is the meaning of startup text on ESP32

Postby WiFive » Tue Jul 18, 2017 8:00 am

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?
Last edited by WiFive on Sun Jul 23, 2017 9:44 am, edited 1 time in total.

jack.fury413
Posts: 8
Joined: Thu Jul 06, 2017 5:01 pm

Re: What is the meaning of startup text on ESP32

Postby jack.fury413 » Tue Jul 18, 2017 1:49 pm

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.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: What is the meaning of startup text on ESP32

Postby kolban » Mon Jul 24, 2017 3:51 am

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
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

pranav
Posts: 6
Joined: Mon Jun 05, 2017 9:41 am

Re: What is the meaning of startup text on ESP32

Postby pranav » Tue Jul 25, 2017 8:41 am

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 :)

jack.fury413
Posts: 8
Joined: Thu Jul 06, 2017 5:01 pm

Re: What is the meaning of startup text on ESP32

Postby jack.fury413 » Fri Jul 28, 2017 3:44 pm

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.

Who is online

Users browsing this forum: Google [Bot] and 141 guests