Page 1 of 1

What is "ets Jun 8 2016 00:22:57"

Posted: Wed Jul 04, 2018 5:39 am
by mobhuyan
Hi All,

I am troubleshooting an occurrence of TG1WDT_SYS_RESET.

I am new to ESP32 and ESP-IDF. My stack is actually Mongoose OS. I am using a Sparkfun ESP32 Thing board. But before post my actual question (with sufficient details to accompany) I have this question.

I have noticed that in the console I get a line,

ets Jun 8 2016 00:22:57

I am wondering it is it coming form.

In case you are interested, the corresponding potion of the console output below:

Code: Select all

ets Jun  8 2016 00:22:57                                                                                                                                               
                                                                                                                                                                       
rst:0x8 (TG1WDT_SYS_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:2                                                                                                                                                  
load:0x3fff0018,len:4                                                                                                                                                  
load:0x3fff001c,len:5508                                                                                                                                               
load:0x40078000,len:0                                                                                                                                                  
load:0x40078000,len:12764                                                                                                                                              
entry 0x400785a4                                                                                                                                                       
W (28) boot: PRO CPU has been reset by WDT.                                                                                                                            
W (29) boot: WDT reset info: PRO CPU PC=0x40088c1e                                                                                                                     
W (29) boot: WDT reset info: APP CPU PC=0xdf9f28fc                                                                                                                     
I (35) boot: ESP-IDF v3.0-rc1-r9 2nd stage bootloader                                                                                                                  
I (41) boot: compile time 05:56:10                                                                                                                                     
I (53) boot: Enabling RNG early entropy source...                                                                                                                      
I (53) boot: SPI Speed      : 40MHz                                                                                                                                    
I (54) boot: SPI Mode       : DIO                                                                                                                                      
I (58) boot: SPI Flash Size : 4MB                                                                                                                                      
I (62) boot: Partition Table:                                                                                                                                          
I (66) boot: ## Label            Usage          Type ST Offset   Length   Flags                                                                                        
I (74) boot:  0 nvs              WiFi data        01 02 00009000 00004000 00000000                                                                                     
I (82) boot:  1 otadata          OTA data         01 00 0000d000 00002000 00000000                                                                                     
I (90) boot:  2 app_0            OTA app          00 10 00010000 00180000 00000000                                                                                     
I (99) boot:  3 fs_0             SPIFFS           01 82 00190000 00040000 00000000                                                                                     
I (107) boot:  4 app_1            OTA app          00 11 001d0000 00180000 00000000                                                                                    
I (115) boot:  5 fs_1             SPIFFS           01 82 00350000 00040000 00000000                                                                                    
I (123) boot: End of partition table                                                                                                                                   
I (128) boot: OTA data 0: seq 0x00000001, st 0x10, CRC 0x157a2b85, valid? 1                                                                                            
I (135) boot: OTA data 1: seq 0x00000000, st 0x00, CRC 0x00000000, valid? 0                                                                                            
I (143) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x347b0 (214960) map                                                                              
I (227) esp_image: segment 1: paddr=0x000447d8 vaddr=0x3ffb0000 size=0x02e6c ( 11884) load                                                                             
I (232) esp_image: segment 2: paddr=0x0004764c vaddr=0x40080000 size=0x00400 (  1024) load                                                                             
I (234) esp_image: segment 3: paddr=0x00047a54 vaddr=0x40080400 size=0x085bc ( 34236) load                                                                             
I (257) esp_image: segment 4: paddr=0x00050018 vaddr=0x400d0018 size=0xc91f4 (823796) map                                                                              
I (545) esp_image: segment 5: paddr=0x00119214 vaddr=0x400889bc size=0x08288 ( 33416) load                                                                             
I (558) esp_image: segment 6: paddr=0x001214a4 vaddr=0x400c0000 size=0x00034 (    52) load                                                                             
I (559) esp_image: segment 7: paddr=0x001214e0 vaddr=0x50000000 size=0x0000c (    12) load                                                                             
I (575) boot: Loaded app from partition at offset 0x10000                                                                                                              
I (575) boot: Disabling RNG early entropy source...                                                                                                                    
I (577) cpu_start: Pro cpu up.                                                                                                                                         
I (580) cpu_start: Single core mode                                                                                                                                    
I (585) heap_init: Initializing. RAM available for dynamic allocation:                                                                                                 
I (592) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM                                                                                                              
I (598) heap_init: At 3FFBA960 len 000256A0 (149 KiB): DRAM                                                                                                            
I (604) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM                                                                                                           
I (610) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM                                                                                                          
I (617) heap_init: At 40090C44 len 0000F3BC (60 KiB): IRAM                                                                                                             
I (623) cpu_start: Pro cpu start user code                                                                                                                             

Re: What is "ets Jun 8 2016 00:22:57"

Posted: Wed Jul 04, 2018 6:46 am
by ESP_Sprite
It's the sign-on message of the ROM; it's the first thing that gets printed after the ESP32 powers on and the CPU starts up. It means the ROM for the ESP32 was compiled on Jun 8, slightly past midnight, possibly by a set of tired colleagues happy they finally could go home. I think ets stands for Espressif Task Scheduler; that name is a remnant of the ESP8266 ROM code and the scheduler that underpinned the non-os SDK for that, which was also used for some things in ROM.

Re: What is "ets Jun 8 2016 00:22:57"

Posted: Thu Jul 19, 2018 2:51 am
by ESP_Angus
(I've split the discussion of TG1WDT_SYS_RESET into a new topic, so it's easier for people to find it.)

Re: What is "ets Jun 8 2016 00:22:57"

Posted: Tue Dec 12, 2023 6:05 pm
by moefear85
I was so curious about this for a long time, thx.