-
Notifications
You must be signed in to change notification settings - Fork 0
/
log.txt
143 lines (134 loc) · 6.18 KB
/
log.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
>>idf.py -p /dev/ttyUSB0 build flash monitor
Executing action: all (aliases: build)
Running ninja in directory /home/dima/esp/hello_world/build
Executing "ninja all"...
[1/3] Performing build step for 'bootloader'
ninja: no work to do.
Executing action: flash
Running ninja in directory /home/dima/esp/hello_world/build
Executing "ninja flash"...
[1/4] Performing build step for 'bootloader'
ninja: no work to do.
[1/2] cd /home/dima/esp/esp-idf/components/esptool_py && /usr/bin/cmake -D ...ld/build" -P /home/dima/esp/esp-idf/components/esptool_py/run_esptool.cmake
esptool.py --chip esp32 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x10000 hello-world.bin
esptool.py v3.0-dev
Serial port /dev/ttyUSB0
Connecting........____
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, Coding Scheme None
Crystal is 40MHz
MAC: 30:ae:a4:14:88:34
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 4952.2 kbit/s)...
Hash of data verified.
Compressed 24880 bytes to 15232...
Writing at 0x00001000... (100 %)
Wrote 24880 bytes (15232 compressed) at 0x00001000 in 0.3 seconds (effective 580.7 kbit/s)...
Hash of data verified.
Compressed 146720 bytes to 79575...
Writing at 0x00010000... (20 %)
Writing at 0x00014000... (40 %)
Writing at 0x00018000... (60 %)
Writing at 0x0001c000... (80 %)
Writing at 0x00020000... (100 %)
Wrote 146720 bytes (79575 compressed) at 0x00010000 in 1.8 seconds (effective 651.3 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Running idf_monitor in directory /home/dima/esp/hello_world
Executing "/home/dima/.espressif/python_env/idf4.2_py3.6_env/bin/python /home/dima/esp/esp-idf/tools/idf_monitor.py -p /dev/ttyUSB0 -b 115200 --toolchain-prefix xtensa-esp32-elf- /home/dima/esp/hello_world/build/hello-world.elf -m '/home/dima/.espressif/python_env/idf4.2_py3.6_env/bin/python' '/home/dima/esp/esp-idf/tools/idf.py' '-p' '/dev/ttyUSB0'"...
--- idf_monitor on /dev/ttyUSB0 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_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:0x3fff0030,len:4
load:0x3fff0034,len:7088
ho 0 tail 12 room 4
load:0x40078000,len:13696
load:0x40080400,len:4000
0x40080400: _init at ??:?
entry 0x40080688
I (31) boot: ESP-IDF v4.2-dev-1905-g625bd5eb1 2nd stage bootloader
I (31) boot: compile time 23:08:32
I (31) boot: chip revision: 1
I (35) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (43) boot.esp32: SPI Speed : 40MHz
I (47) boot.esp32: SPI Mode : DIO
I (52) boot.esp32: SPI Flash Size : 4MB
I (56) boot: Enabling RNG early entropy source...
I (62) boot: Partition Table:
I (65) boot: ## Label Usage Type ST Offset Length
I (73) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (80) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (87) boot: 2 factory factory app 00 00 00010000 00100000
I (95) boot: End of partition table
I (99) boot_comm: chip revision: 1, min. application chip revision: 0
I (106) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x05568 ( 21864) map
I (124) esp_image: segment 1: paddr=0x00015590 vaddr=0x3ffb0000 size=0x02234 ( 8756) load
I (128) esp_image: segment 2: paddr=0x000177cc vaddr=0x40080000 size=0x00404 ( 1028) load
0x40080000: _WindowOverflow4 at /home/dima/esp/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1730
I (133) esp_image: segment 3: paddr=0x00017bd8 vaddr=0x40080404 size=0x08440 ( 33856) load
I (157) esp_image: segment 4: paddr=0x00020020 vaddr=0x400d0020 size=0x12a78 ( 76408) map
0x400d0020: _stext at ??:?
I (186) esp_image: segment 5: paddr=0x00032aa0 vaddr=0x40088844 size=0x01258 ( 4696) load
0x40088844: spi_flash_ll_set_read_mode at /home/dima/esp/esp-idf/components/soc/src/esp32/include/hal/spi_flash_ll.h:262
(inlined by) spi_flash_hal_configure_host_io_mode at /home/dima/esp/esp-idf/components/soc/src/hal/spi_flash_hal_common.inc:88
I (194) boot: Loaded app from partition at offset 0x10000
I (194) boot: Disabling RNG early entropy source...
I (195) cpu_start: Pro cpu up.
I (199) cpu_start: Application information:
I (204) cpu_start: Project name: hello-world
I (209) cpu_start: App version: 1
I (214) cpu_start: Compile time: Jan 28 2021 23:08:30
I (220) cpu_start: ELF file SHA256: 000bf8d296c5c7dd...
I (226) cpu_start: ESP-IDF: v4.2-dev-1905-g625bd5eb1
I (232) cpu_start: Starting app cpu, entry point is 0x40081618
0x40081618: call_start_cpu1 at /home/dima/esp/esp-idf/components/esp32/cpu_start.c:286
I (0) cpu_start: App cpu up.
I (243) heap_init: Initializing. RAM available for dynamic allocation:
I (249) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (256) heap_init: At 3FFB3A10 len 0002C5F0 (177 KiB): DRAM
I (262) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (268) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (275) heap_init: At 40089A9C len 00016564 (89 KiB): IRAM
I (281) cpu_start: Pro cpu start user code
I (299) spi_flash: detected chip: gd
I (299) spi_flash: flash io: dio
I (299) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Hello world!
dt=93693
portTICK_PERIOD_MS = 10
dt=999855
full 35 uS
full 30 uS
summ=499500 35 uS
summ=1.711225e+98 66 uS
summ=499500.093750 40 uS
summ=499500.000000 397 uS
summ=499500 72 uS
This is esp32 chip with 2 CPU cores, WiFi/BT/BLE, silicon revision 1, 4MB external flash
Free heap: 296148
Restarting in 10 seconds...
Restarting in 9 seconds...
Restarting in 8 seconds...
Restarting in 7 seconds...
Done
dima@delldim:~/esp/hello_world$ te log.txt &
[2] 26060
dima@delldim:~/esp/hello_world$