-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfirst_boot_log.txt
310 lines (296 loc) · 9.32 KB
/
first_boot_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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
> Executing task: platformio run --target upload --target monitor --environment esp32c3 <
Processing esp32c3 (platform: https://github.com/platformio/platform-espressif32.git#feature/idf-master; framework: arduino; board: esp32dev)
------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (3.3.0+sha.3b5de56) > Espressif ESP32 Dev Module
HARDWARE: ESP32C3 80MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 0.0.0+sha.ed53b6c
- tool-esptoolpy 1.30100.210531 (3.1.0)
- tool-mkspiffs 2.230.0 (2.30)
- toolchain-riscv-esp 1.80400.0 (8.4.0)
- toolchain-riscv32-esp 8.4.0+2021r1
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 34 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <NimBLE-Arduino> 1.3.8
|-- <AsyncElegantOTA> 2.2.7
| |-- <AsyncTCP> 1.1.1
| |-- <ESP Async WebServer> 1.2.3+sha.7b29010
| | |-- <AsyncTCP> 1.1.1
| | |-- <FS> 2.0.0
| | |-- <WiFi> 2.0.0
| |-- <FS> 2.0.0
| |-- <Update> 2.0.0
| |-- <WiFi> 2.0.0
|-- <AsyncTCP> 1.1.1
|-- <ESP Async WebServer> 1.2.3+sha.7b29010
| |-- <AsyncTCP> 1.1.1
| |-- <FS> 2.0.0
| |-- <WiFi> 2.0.0
|-- <FS> 2.0.0
|-- <LittleFS> 2.0.0
| |-- <FS> 2.0.0
|-- <Wire> 2.0.0
|-- <Preferences> 2.0.0
|-- <SPI> 2.0.0
|-- <Ticker> 2.0.0
|-- <ESPmDNS> 2.0.0
| |-- <WiFi> 2.0.0
|-- <WiFi> 2.0.0
Building in debug mode
Retrieving maximum program size .pio/build/esp32c3/firmware.elf
Checking size .pio/build/esp32c3/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 13.0% (used 42480 bytes from 327680 bytes)
Flash: [====== ] 59.0% (used 1159702 bytes from 1966080 bytes)
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: /dev/ttyUSB0
Uploading .pio/build/esp32c3/firmware.bin
esptool.py v3.1
Serial port /dev/ttyUSB0
Connecting....
Chip is unknown ESP32-C3 (revision 3)
Features: Wi-Fi
Crystal is 40MHz
MAC: 34:b4:72:4c:a6:40
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0012bfff...
Flash params set to 0x0220
Compressed 19232 bytes to 12010...
Writing at 0x00000000... (100 %)
Wrote 19232 bytes (12010 compressed) at 0x00000000 in 0.6 seconds (effective 255.3 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 127...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (127 compressed) at 0x00008000 in 0.1 seconds (effective 406.1 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 530.3 kbit/s)...
Hash of data verified.
Compressed 1163088 bytes to 669291...
Writing at 0x00010000... (2 %)
Writing at 0x000145e6... (4 %)
Writing at 0x000185dd... (7 %)
Writing at 0x0001c5d8... (9 %)
Writing at 0x0002409e... (12 %)
Writing at 0x0002fbf9... (14 %)
Writing at 0x00039268... (17 %)
Writing at 0x00040fc1... (19 %)
Writing at 0x00047f71... (21 %)
Writing at 0x0004f12e... (24 %)
Writing at 0x00056027... (26 %)
Writing at 0x0005d3e6... (29 %)
Writing at 0x00064360... (31 %)
Writing at 0x0006b642... (34 %)
Writing at 0x0007391e... (36 %)
Writing at 0x0007a90c... (39 %)
Writing at 0x00081771... (41 %)
Writing at 0x0008854f... (43 %)
Writing at 0x0008f392... (46 %)
Writing at 0x00096158... (48 %)
Writing at 0x0009d253... (51 %)
Writing at 0x000a42de... (53 %)
Writing at 0x000ab672... (56 %)
Writing at 0x000b1d21... (58 %)
Writing at 0x000b8940... (60 %)
Writing at 0x000bf3de... (63 %)
Writing at 0x000c5689... (65 %)
Writing at 0x000cbf4c... (68 %)
Writing at 0x000d2a00... (70 %)
Writing at 0x000d88f9... (73 %)
Writing at 0x000de69a... (75 %)
Writing at 0x000e4786... (78 %)
Writing at 0x000eae68... (80 %)
Writing at 0x000f12f9... (82 %)
Writing at 0x000f78d2... (85 %)
Writing at 0x000fda94... (87 %)
Writing at 0x00105840... (90 %)
Writing at 0x0011005a... (92 %)
Writing at 0x00117f05... (95 %)
Writing at 0x0011f72d... (97 %)
Writing at 0x00125d7d... (100 %)
Wrote 1163088 bytes (669291 compressed) at 0x00010000 in 19.3 seconds (effective 482.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
=============================================================== [SUCCESS] Took 30.05 seconds ===============================================================
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Miniterm on /dev/ttyUSB0 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xe (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fcd6100,len:0x1430
load:0x403ce000,len:0x930
load:0x403d0000,len:0x2d68
SHA-256 comparison failed:
Calculated: 9b97978c8991d375e75a5cc923835b16720263d9b322ba1c7f6bbb8977504c7c
Expected: 39d1085c00d0f6438c5539b0b6904989b16e380568ceaab408ce03485b195230
Attempting to boot anyway...
entry 0x403ce000
I (49) boot: ESP-IDF v4.4-dev-3401-gb86fe0c66c 2nd stage bootloader
I (49) boot: compile time 18:11:55
I (49) boot: chip revision: 3
I (49) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (56) boot.esp32c3: SPI Speed : 40MHz
I (59) boot.esp32c3: SPI Mode : DIO
I (63) boot.esp32c3: SPI Flash Size : 4MB
I (67) boot: Enabling RNG early entropy source...
I (71) boot: Partition Table:
I (74) boot: ## Label Usage Type ST Offset Length
I (80) boot: 0 ota_0 OTA app 00 10 00010000 001e0000
I (87) boot: 1 ota_1 OTA app 00 11 001f0000 001e0000
I (93) boot: 2 otadata OTA data 01 00 003d0000 00002000
I (100) boot: 3 nvs WiFi data 01 02 003d2000 00006000
I (106) boot: 4 spiffs Unknown data 01 82 003d8000 00028000
I (113) boot: End of partition table
I (116) boot: No factory image, trying OTA 0
I (120) boot_comm: chip revision: 3, min. application chip revision: 0
I (127) esp_image: segment 0: paddr=00010020 vaddr=3c0e0020 size=29748h (169800) map
I (171) esp_image: segment 1: paddr=00039770 vaddr=3fc92400 size=03578h ( 13688) load
I (174) esp_image: segment 2: paddr=0003ccf0 vaddr=40380000 size=03328h ( 13096) load
I (178) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=dcf7ch (905084) map
I (377) esp_image: segment 4: paddr=0011cfa4 vaddr=40383328 size=0ef64h ( 61284) load
I (392) esp_image: segment 5: paddr=0012bf10 vaddr=50000000 size=00004h ( 4) load
I (392) esp_image: segment 6: paddr=0012bf1c vaddr=50000008 size=00010h ( 16) load
I (402) boot: Loaded app from partition at offset 0x10000
I (437) boot: Set actual ota_seq=1 in otadata[0]
I (437) boot: Disabling RNG early entropy source...
ESP32-C3 BLUETOOTH VARIO compiled on May 9 2022 at 14:11:17
Firmware Revision 0.95
Load non-volatile configuration and calibration data from flash
[ 1575][E][Preferences.cpp:50] begin(): nvs_open failed: NOT_FOUND
Preferences 'config' namespace not found, creating with defaults
[ 1591][E][Preferences.cpp:50] begin(): nvs_open failed: NOT_FOUND
Preferences 'calib' namespace not found, creating with defaults
adc avg sample = 902
To start web configuration mode, press and hold the PCC button
until you hear a low-frequency tone. Then release the button
8
7
6
5
4
3
2
1
Vario mode
Audio indication of battery voltage
Battery voltage = 4.05V
Check communication with MS5611
crcPROM = 0x9, crc calculated = 0x9
MS5611 OK
Check communication with MPU9250
MPU9250 ID = 71, expected 0x71
MPU9250 OK
! Uncalibrated accelerometer !
Starting accelerometer calibration
-- Accelerometer calibration --
Place vario on a level surface with accelerometer z axis vertical and leave it undisturbed
You have 10 seconds, counted down with rapid beeps from 50 to 0
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
Calibrating accelerometer
ax = -120 ay = -53 az = -8082
axBias = -120
ayBias = -53
azBias = 110
Accelerometer calibration done
Counting down to gyro calibration
Press the PCCA button to enforce accelerometer calibration first
10
9
8
7
6
5
4
3
2
1
Calibrating gyro
Num Tries = 1
gxBias = 19
gyBias = -14
gzBias = 33
Gyro calibration OK
MS5611 config
MS5611 Calibration Coeffs : 48939 50595 29263 26380 30963 26826
Tavg : 31C
Pavg : 90440Pa
Zavg : 94824cm
KalmanFilter config
climbToneCps = 50
zeroesToneCps = 5
sinkToneCps = -250
crossoverCps = 400
Bluetooth LE LK8EX1 messages @ 10Hz