Command: ninja flash [1/6] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_Modbus_RTU_to_PICS_MULTI\build\esp-idf\main && C:\Espressif\tools\python\v6.0\venv\Scripts\python.exe C:/esp/v6.0/esp-idf/components/spiffs/spiffsgen.py 0xf0000 C:/Users/e.adame/Documents/ESP32_Modbus_RTU_to_PICS_MULTI/spiffs C:/Users/e.adame/Documents/ESP32_Modbus_RTU_to_PICS_MULTI/build/spiffs.bin --page-size=256 --obj-name-len=32 --meta-len=4 --use-magic --use-magic-len" [2/6] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_Modbus_RTU_to_PICS_MULTI\build && C:\Espressif\tools\python\v6.0\venv\Scripts\python.exe C:/esp/v6.0/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/Users/e.adame/Documents/ESP32_Modbus_RTU_to_PICS_MULTI/build/partition_table/partition-table.bin C:/Users/e.adame/Documents/ESP32_Modbus_RTU_to_PICS_MULTI/build/modbus_tcp_esp32.bin" modbus_tcp_esp32.bin binary size 0x37830 bytes. Smallest app partition is 0x100000 bytes. 0xc87d0 bytes (78%) free. [3/6] Performing build step for 'bootloader' [1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_Modbus_RTU_to_PICS_MULTI\build\bootloader && C:\Espressif\tools\python\v6.0\venv\Scripts\python.exe C:/esp/v6.0/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Users/e.adame/Documents/ESP32_Modbus_RTU_to_PICS_MULTI/build/bootloader/bootloader.bin" Bootloader binary size 0x6610 bytes. 0x9f0 bytes (9%) free. [4/6] No install step for 'bootloader' [5/6] Completed 'bootloader' [5/6] Running utility command for flash esptool --chip esp32 -p COM6 -b 460800 --before=default-reset --after=hard-reset write-flash --flash-mode dio --flash-freq 40m --flash-size 2MB 0x1000 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x110000 spiffs.bin 0x10000 modbus_tcp_esp32.bin esptool v5.2.0 Serial port COM6: Connecting.... Connected to ESP32 on COM6: Chip type: ESP32-D0WD-V3 (revision v3.1) Features: Wi-Fi, BT, Dual Core + LP Core, 240MHz, Vref calibration in eFuse, Coding Scheme None Crystal frequency: 40MHz MAC: cc:7b:5c:bb:cf:7c Uploading stub flasher... Running stub flasher... Stub flasher running. Changing baud rate to 460800... Changed. Configuring flash size... SHA digest in image updated. Flash will be erased from 0x00001000 to 0x00007fff... Compressed 26128 bytes to 16571... Writing at 0x00001000 [ ] 0.0% 0/16571 bytes... Writing at 0x0000751c [============================> ] 98.9% 16384/16571 bytes... Writing at 0x00007610 [==============================] 100.0% 16571/16571 bytes... Wrote 26128 bytes (16571 compressed) at 0x00001000 in 0.9 seconds (234.6 kbit/s). Verifying written data... Hash of data verified. Flash will be erased from 0x00008000 to 0x00008fff... Compressed 3072 bytes to 118... Writing at 0x00008000 [ ] 0.0% 0/118 bytes... Writing at 0x00008c00 [==============================] 100.0% 118/118 bytes... Wrote 3072 bytes (118 compressed) at 0x00008000 in 0.1 seconds (317.3 kbit/s). Verifying written data... Hash of data verified. Flash will be erased from 0x00110000 to 0x001fffff... Compressed 983040 bytes to 2709... Writing at 0x00110000 [ ] 0.0% 0/2709 bytes... Writing at 0x00200000 [==============================] 100.0% 2709/2709 bytes... Wrote 983040 bytes (2709 compressed) at 0x00110000 in 5.9 seconds (1343.5 kbit/s). Verifying written data... Hash of data verified. Flash will be erased from 0x00010000 to 0x00047fff... Compressed 227376 bytes to 132896... Writing at 0x00010000 [ ] 0.0% 0/132896 bytes... Writing at 0x0001bccc [==> ] 12.3% 16384/132896 bytes... Writing at 0x000236c2 [======> ] 24.7% 32768/132896 bytes... Writing at 0x000290bb [==========> ] 37.0% 49152/132896 bytes... Writing at 0x0002ef2b [=============> ] 49.3% 65536/132896 bytes... Writing at 0x00034fcc [=================> ] 61.6% 81920/132896 bytes... Writing at 0x0003a9e4 [=====================> ] 74.0% 98304/132896 bytes... Writing at 0x00040c9c [========================> ] 86.3% 114688/132896 bytes... Writing at 0x00046aea [============================> ] 98.6% 131072/132896 bytes... Writing at 0x00047830 [==============================] 100.0% 132896/132896 bytes... Wrote 227376 bytes (132896 compressed) at 0x00010000 in 3.2 seconds (571.9 kbit/s). Verifying written data... Hash of data verified. Hard resetting via RTS pin...