INFO ESPHome 2024.3.0
INFO Reading configuration esp32-ble-1.17.4.yaml...
INFO Updating https://github.com/syssi/esphome-jk-bms.git@main
INFO Detected timezone 'Europe/Copenhagen'
INFO Generating C++ source...
INFO Compiling app...
Processing jk-bms-bat02 (board: esp32-s3-devkitc-1; framework: espidf; platform: platformio/espressif32@5.4.0)
---------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
- framework-espidf @ 3.40406.240122 (4.4.6)
- tool-cmake @ 3.16.4
- tool-ninja @ 1.7.1
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
Reading CMake configuration...
Dependency Graph
|-- ArduinoJson @ 6.18.5
Compiling .pioenvs/jk-bms-bat02/src/main.o
Linking .pioenvs/jk-bms-bat02/firmware.elf
RAM: [== ] 16.3% (used 53552 bytes from 327680 bytes)
Flash: [======== ] 81.5% (used 1495461 bytes from 1835008 bytes)
Building .pioenvs/jk-bms-bat02/firmware.bin
Creating esp32s3 image...
Successfully created esp32s3 image.
esp32_create_combined_bin([".pioenvs/jk-bms-bat02/firmware.bin"], [".pioenvs/jk-bms-bat02/firmware.elf"])
Wrote 0x17d310 bytes to file /root/ESPHome/esphome-jk-bms-can-1.17.4/.esphome/build/jk-bms-bat02/.pioenvs/jk-bms-bat02/firmware-factory.bin, ready to flash to offset 0x0
==================================================== [SUCCESS] Took 70.01 seconds ====================================================
INFO Successfully compiled program.
Found multiple options for uploading, please choose one:
[1] /dev/ttyACM0 (USB JTAG/serial debug unit)
[2] Over The Air (jk-bms-bat02.solar.stefano.home)
(number): 1
esptool.py v4.7.0
Serial port /dev/ttyACM0
Connecting...
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded Flash 8MB (GD)
Crystal is 40MHz
MAC: 34:b7:da:54:d7:08
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 8MB
Flash will be erased from 0x00010000 to 0x0017dfff...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00009000 to 0x0000afff...
Compressed 1495824 bytes to 940387...
Wrote 1495824 bytes (940387 compressed) at 0x00010000 in 9.8 seconds (effective 1224.1 kbit/s)...
Hash of data verified.
Warning: Image file at 0x0 is protected with a hash checksum, so not changing the flash size setting. Use the --flash_size=keep option instead of --flash_size=8MB in order to remove this warning, or use the --dont-append-digest option for the elf2image command in order to generate an image file without a hash checksum
Compressed 20912 bytes to 13093...
Wrote 20912 bytes (13093 compressed) at 0x00000000 in 0.3 seconds (effective 492.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 134...
Wrote 3072 bytes (134 compressed) at 0x00008000 in 0.0 seconds (effective 556.9 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Wrote 8192 bytes (31 compressed) at 0x00009000 in 0.1 seconds (effective 899.2 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyACM0 with baud rate 115200
[13:59:48]ESP-ROM:esp32s3-20210327
[13:59:48]Build:Mar 27 2021
[13:59:48]rst:0x7 (TG0WDT_SYS_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
[13:59:48]Saved PC:0x400454d5
[13:59:48]SPIWP:0xee
[13:59:48]mode:QIO, clock div:1
[13:59:48]load:0x3fce3808,len:0x1658
[13:59:48]ets_loader.c 78
[13:59:49]ESP-ROM:esp32s3-20210327
[13:59:49]Build:Mar 27 2021
[13:59:49]rst:0x7 (TG0WDT_SYS_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
[13:59:49]Saved PC:0x400454d5
[13:59:49]SPIWP:0xee
[13:59:49]mode:QIO, clock div:1
[13:59:49]load:0x3fce3808,len:0x1658
[13:59:49]ets_loader.c 78
[13:59:50]ESP-ROM:esp32s3-20210327
[13:59:50]Build:Mar 27 2021
[13:59:50]rst:0x7 (TG0WDT_SYS_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
[13:59:50]Saved PC:0x400454d5
[13:59:50]SPIWP:0xee
[13:59:50]mode:QIO, clock div:1
[13:59:50]load:0x3fce3808,len:0x1658
[13:59:50]ets_loader.c 78
[13:59:52]ESP-ROM:esp32s3-20210327
[13:59:52]Build:Mar 27 2021
[13:59:52]rst:0x7 (TG0WDT_SYS_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
[13:59:52]Saved PC:0x400454d5
[13:59:52]SPIWP:0xee
[13:59:52]mode:QIO, clock div:1
[13:59:52]load:0x3fce3808,len:0x1658
[13:59:52]ets_loader.c 78
[13:59:53]ESP-ROM:esp32s3-20210327
[13:59:53]Build:Mar 27 2021
[13:59:53]rst:0x7 (TG0WDT_SYS_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
[13:59:53]Saved PC:0x400454d5
[13:59:53]SPIWP:0xee
[13:59:53]mode:QIO, clock div:1
[13:59:53]load:0x3fce3808,len:0x1658
[13:59:53]ets_loader.c 78
[13:59:54]ESP-ROM:esp32s3-20210327
[13:59:54]Build:Mar 27 2021
[13:59:54]rst:0x7 (TG0WDT_SYS_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
[13:59:54]Saved PC:0x400454d5
[13:59:54]SPIWP:0xee
[13:59:54]mode:QIO, clock div:1
[13:59:54]load:0x3fce3808,len:0x1658
[13:59:54]ets_loader.c 78
[13:59:56]ESP-ROM:esp32s3-20210327
[13:59:56]Build:Mar 27 2021
[13:59:56]rst:0x7 (TG0WDT_SYS_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
[13:59:56]Saved PC:0x400454d5
[13:59:56]SPIWP:0xee
[13:59:56]mode:QIO, clock div:1
[13:59:56]load:0x3fce3808,len:0x1658
[13:59:56]ets_loader.c 78
[13:59:57]ESP-ROM:esp32s3-20210327
[13:59:57]Build:Mar 27 2021
[13:59:57]rst:0x7 (TG0WDT_SYS_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
[13:59:57]Saved PC:0x400454d5
[13:59:57]SPIWP:0xee
[13:59:57]mode:QIO, clock div:1
[13:59:57]load:0x3fce3808,len:0x1658
[13:59:57]ets_loader.c 78
[13:59:58]ESP-ROM:esp32s3-20210327
[13:59:58]Build:Mar 27 2021
[13:59:58]rst:0x7 (TG0WDT_SYS_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
[13:59:58]Saved PC:0x400454d5
[13:59:58]SPIWP:0xee
[13:59:58]mode:QIO, clock div:1
[13:59:58]load:0x3fce3808,len:0x1658
[13:59:58]ets_loader.c 78