Fixed multiple devices causing overflow in compile. Fixed PICS Float data type not being decoded correctly (bit order reversed).

This commit is contained in:
2026-05-21 14:06:43 -05:00
parent 7ab3723533
commit 70cd36c934
1394 changed files with 35353 additions and 35295 deletions

View File

@@ -1,4 +1,4 @@
Command: cmake -G Ninja -B C:\Users\e.adame\Documents\ESP32_Modbus_TCP_to_PICS_MULTI\build -DPYTHON_DEPS_CHECKED=1 -DPYTHON=C:\Espressif\tools\python\v6.0\venv\Scripts\python.exe -DESP_PLATFORM=1 -DCCACHE_ENABLE=False C:\Users\e.adame\Documents\ESP32_Modbus_TCP_to_PICS_MULTI
Command: cmake -G Ninja -B C:\Users\e.adame\Documents\ESP32_ModbusTCP\build -DPYTHON_DEPS_CHECKED=1 -DPYTHON=C:\Espressif\tools\python\v6.0\venv\Scripts\python.exe -DESP_PLATFORM=1 -DCCACHE_ENABLE=False C:\Users\e.adame\Documents\ESP32_ModbusTCP
Configuration Report
+---------------------------------+
| Parser Version: 1 |

View File

View File

@@ -1,8 +0,0 @@
Command: C:\Espressif\tools\python\v6.0\venv\Scripts\python.exe C:\esp\v6.0\esp-idf\tools/idf_monitor.py -p COM5 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 C:\Users\e.adame\Documents\ESP32_Modbus_TCP_to_PICS_MULTI\build\modbus_tcp_esp32.elf C:\Users\e.adame\Documents\ESP32_Modbus_TCP_to_PICS_MULTI\build\bootloader\bootloader.elf --force-color -m 'C:\Espressif\tools\python\v6.0\venv\Scripts\python.exe' 'C:\esp\v6.0\esp-idf\tools\idf.py' '-p' 'COM5'
--- Warning: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM5 instead...
--- esp-idf-monitor 1.9.0 on \\.\COM5 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
--- 0x40080400: _invalid_pc_placeholder at C:/esp/v6.0/esp-idf/components/xtensa/xtensa_vectors.S:2235
--- 0x40080644: call_start_cpu0 at C:/esp/v6.0/esp-idf/components/bootloader/subproject/main/bootloader_start.c:27


File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@@ -0,0 +1,91 @@
Command: ninja flash
[1/6] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_ModbusTCP\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_ModbusTCP/spiffs C:/Users/e.adame/Documents/ESP32_ModbusTCP/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_ModbusTCP\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_ModbusTCP/build/partition_table/partition-table.bin C:/Users/e.adame/Documents/ESP32_ModbusTCP/build/modbus_tcp_esp32.bin"
modbus_tcp_esp32.bin binary size 0xc6a30 bytes. Smallest app partition is 0x100000 bytes. 0x395d0 bytes (22%) free.
[3/6] Performing build step for 'bootloader'
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_ModbusTCP\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_ModbusTCP/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 COM5 -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 COM5:
Connecting....
Connected to ESP32 on COM5:
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:d3:d4
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 16572...
Writing at 0x00001000 [ ] 0.0% 0/16572 bytes...
Writing at 0x00007514 [============================> ] 98.9% 16384/16572 bytes...
Writing at 0x00007610 [==============================] 100.0% 16572/16572 bytes...
Wrote 26128 bytes (16572 compressed) at 0x00001000 in 0.9 seconds (236.4 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 (327.3 kbit/s).
Verifying written data...
Hash of data verified.
Flash will be erased from 0x00110000 to 0x001fffff...
Compressed 983040 bytes to 7161...
Writing at 0x00110000 [ ] 0.0% 0/7161 bytes...
Writing at 0x00200000 [==============================] 100.0% 7161/7161 bytes...
Wrote 983040 bytes (7161 compressed) at 0x00110000 in 5.7 seconds (1378.8 kbit/s).
Verifying written data...
Hash of data verified.
Flash will be erased from 0x00010000 to 0x000d6fff...
Compressed 813616 bytes to 532879...
Writing at 0x00010000 [ ] 0.0% 0/532879 bytes...
Writing at 0x0001c766 [ ] 3.1% 16384/532879 bytes...
Writing at 0x00024da9 [> ] 6.1% 32768/532879 bytes...
Writing at 0x0002f109 [=> ] 9.2% 49152/532879 bytes...
Writing at 0x00035253 [==> ] 12.3% 65536/532879 bytes...
Writing at 0x0003b042 [===> ] 15.4% 81920/532879 bytes...
Writing at 0x00040f92 [====> ] 18.4% 98304/532879 bytes...
Writing at 0x00046a39 [=====> ] 21.5% 114688/532879 bytes...
Writing at 0x0004c1ef [======> ] 24.6% 131072/532879 bytes...
Writing at 0x00051e99 [=======> ] 27.7% 147456/532879 bytes...
Writing at 0x00057ae9 [========> ] 30.7% 163840/532879 bytes...
Writing at 0x0005d6c1 [=========> ] 33.8% 180224/532879 bytes...
Writing at 0x00062e19 [==========> ] 36.9% 196608/532879 bytes...
Writing at 0x00068661 [==========> ] 40.0% 212992/532879 bytes...

View File

@@ -1,9 +0,0 @@
Command: ninja all
[1/5] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_Modbus_TCP_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_TCP_to_PICS_MULTI/build/partition_table/partition-table.bin C:/Users/e.adame/Documents/ESP32_Modbus_TCP_to_PICS_MULTI/build/modbus_tcp_esp32.bin"
modbus_tcp_esp32.bin binary size 0xc5d20 bytes. Smallest app partition is 0x100000 bytes. 0x3a2e0 bytes (23%) free.
[2/5] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_Modbus_TCP_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_TCP_to_PICS_MULTI/spiffs C:/Users/e.adame/Documents/ESP32_Modbus_TCP_to_PICS_MULTI/build/spiffs.bin --page-size=256 --obj-name-len=32 --meta-len=4 --use-magic --use-magic-len"
[3/5] Performing build step for 'bootloader'
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_Modbus_TCP_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_TCP_to_PICS_MULTI/build/bootloader/bootloader.bin"
Bootloader binary size 0x6610 bytes. 0x9f0 bytes (9%) free.

View File

@@ -1,91 +0,0 @@
Command: ninja flash
[1/6] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_Modbus_TCP_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_TCP_to_PICS_MULTI/build/partition_table/partition-table.bin C:/Users/e.adame/Documents/ESP32_Modbus_TCP_to_PICS_MULTI/build/modbus_tcp_esp32.bin"
modbus_tcp_esp32.bin binary size 0xc5d20 bytes. Smallest app partition is 0x100000 bytes. 0x3a2e0 bytes (23%) free.
[2/6] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_Modbus_TCP_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_TCP_to_PICS_MULTI/spiffs C:/Users/e.adame/Documents/ESP32_Modbus_TCP_to_PICS_MULTI/build/spiffs.bin --page-size=256 --obj-name-len=32 --meta-len=4 --use-magic --use-magic-len"
[3/6] Performing build step for 'bootloader'
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_Modbus_TCP_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_TCP_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 COM5 -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 COM5:
Connecting....
Connected to ESP32 on COM5:
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:d3:d4
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 16572...
Writing at 0x00001000 [ ] 0.0% 0/16572 bytes...
Writing at 0x00007518 [============================> ] 98.9% 16384/16572 bytes...
Writing at 0x00007610 [==============================] 100.0% 16572/16572 bytes...
Wrote 26128 bytes (16572 compressed) at 0x00001000 in 0.9 seconds (235.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 (326.1 kbit/s).
Verifying written data...
Hash of data verified.
Flash will be erased from 0x00110000 to 0x001fffff...
Compressed 983040 bytes to 8848...
Writing at 0x00110000 [ ] 0.0% 0/8848 bytes...
Writing at 0x00200000 [==============================] 100.0% 8848/8848 bytes...
Wrote 983040 bytes (8848 compressed) at 0x00110000 in 5.8 seconds (1356.6 kbit/s).
Verifying written data...
Hash of data verified.
Flash will be erased from 0x00010000 to 0x000d5fff...
Compressed 810272 bytes to 530929...
Writing at 0x00010000 [ ] 0.0% 0/530929 bytes...
Writing at 0x0001c671 [ ] 3.1% 16384/530929 bytes...
Writing at 0x00024b34 [> ] 6.2% 32768/530929 bytes...
Writing at 0x0002efd4 [=> ] 9.3% 49152/530929 bytes...
Writing at 0x000351b9 [==> ] 12.3% 65536/530929 bytes...
Writing at 0x0003b006 [===> ] 15.4% 81920/530929 bytes...
Writing at 0x00040fb6 [====> ] 18.5% 98304/530929 bytes...
Writing at 0x000468d2 [=====> ] 21.6% 114688/530929 bytes...
Writing at 0x0004c04c [======> ] 24.7% 131072/530929 bytes...
Writing at 0x00051d2f [=======> ] 27.8% 147456/530929 bytes...
Writing at 0x000579c7 [========> ] 30.9% 163840/530929 bytes...
Writing at 0x0005d5b1 [=========> ] 33.9% 180224/530929 bytes...
Writing at 0x00062cd6 [==========> ] 37.0% 196608/530929 bytes...
Writing at 0x000684e5 [===========> ] 40.1% 212992/530929 bytes...

View File

@@ -1,169 +0,0 @@
Command: C:\Espressif\tools\python\v6.0\venv\Scripts\python.exe C:\esp\v6.0\esp-idf\tools/idf_monitor.py -p COM5 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 C:\Users\e.adame\Documents\ESP32_Modbus_TCP_to_PICS_MULTI\build\modbus_tcp_esp32.elf C:\Users\e.adame\Documents\ESP32_Modbus_TCP_to_PICS_MULTI\build\bootloader\bootloader.elf --force-color -m 'C:\Espressif\tools\python\v6.0\venv\Scripts\python.exe' 'C:\esp\v6.0\esp-idf\tools\idf.py' '-p' 'COM5'
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_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:0x3fff0040,len:6272
load:0x40078000,len:15848
load:0x40080400,len:3920
entry 0x40080644
I (27) boot: ESP-IDF v6.0 2nd stage bootloader
I (27) boot: compile time Apr 6 2026 16:50:59
I (28) boot: Multicore bootloader
I (29) boot: chip revision: v3.1
I (31) boot.esp32: SPI Speed : 40MHz
I (35) boot.esp32: SPI Mode : DIO
I (39) boot.esp32: SPI Flash Size : 2MB
I (42) boot: Enabling RNG early entropy source...
I (47) boot: Partition Table:
I (49) boot: ## Label Usage Type ST Offset Length
I (56) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (62) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (69) boot: 2 factory factory app 00 00 00010000 00100000
I (75) boot: 3 spiffs Unknown data 01 82 00110000 000f0000
I (82) boot: End of partition table
I (85) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1b7b8h (112568) map
I (133) esp_image: segment 1: paddr=0002b7e0 vaddr=3ffb0000 size=04528h ( 17704) load
I (140) esp_image: segment 2: paddr=0002fd10 vaddr=40080000 size=00308h ( 776) load
I (140) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=90998h (592280) map
I (355) esp_image: segment 4: paddr=000c09c0 vaddr=40080308 size=15300h ( 86784) load
I (390) esp_image: segment 5: paddr=000d5cc8 vaddr=50000000 size=00028h ( 40) load
I (402) boot: Loaded app from partition at offset 0x10000
I (402) boot: Disabling RNG early entropy source...
I (413) cpu_start: Multicore app
I (421) cpu_start: GPIO 3 and 1 are used as console UART I/O pins
I (421) cpu_start: Pro cpu start user code
I (421) cpu_start: cpu freq: 160000000 Hz
I (423) app_init: Application information:
I (427) app_init: Project name: modbus_tcp_esp32
I (431) app_init: App version: 1
I (435) app_init: Compile time: Apr 6 2026 16:50:21
I (440) app_init: ELF file SHA256: 6a88950a5...
I (444) app_init: ESP-IDF: v6.0
I (448) efuse_init: Min chip rev: v0.0
I (452) efuse_init: Max chip rev: v3.99 
I (456) efuse_init: Chip rev: v3.1
I (460) heap_init: Initializing. RAM available for dynamic allocation:
I (466) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (471) heap_init: At 3FFD6C48 len 000093B8 (36 KiB): DRAM
I (476) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (481) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (487) heap_init: At 40095608 len 0000A9F8 (42 KiB): IRAM
I (494) spi_flash: detected chip: generic
I (496) spi_flash: flash io: dio
W (499) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (513) main_task: Started on CPU0
I (523) main_task: Calling app_main()
I (523) MODBUS_MAIN: Starting Modbus TCP device
I (613) MODBUS_MAIN: SPIFFS mounted: total=896321 used=29869
I (613) MODBUS_MAIN: ----- SPIFFS file list -----
I (613) MODBUS_MAIN: SPIFFS file: device_1.csv
I (623) MODBUS_MAIN: SPIFFS file: device_2.csv
I (623) MODBUS_MAIN: SPIFFS file: device_3.csv
I (623) MODBUS_MAIN: SPIFFS file: device_config.ini
I (663) MODBUS_MAIN: ----------------------------
I (673) MODBUS_MAIN: Modbus Port: 502
I (673) MODBUS_MAIN: Configured device_count = 2
I (673) MODBUS_MAIN: CFG device[0]: enabled=1 unit_id=1 name=Device_1 csv=device_1.csv
I (673) MODBUS_MAIN: CFG device[1]: enabled=1 unit_id=2 name=Device_2 csv=device_2.csv
I (683) MODBUS_MAIN: Preparing device[0]: unit_id=1 name=Device_1 csv=/spiffs/device_1.csv
I (723) MODBUS_MAIN: CSV file found for device 1: /spiffs/device_1.csv
I (853) MODBUS_MAIN: Device 1 (Device_1) loaded 372 Modbus points from /spiffs/device_1.csv
I (853) MODBUS_MAIN: Preparing device[1]: unit_id=2 name=Device_2 csv=/spiffs/device_2.csv
I (863) MODBUS_MAIN: CSV file found for device 2: /spiffs/device_2.csv
I (903) MODBUS_MAIN: Device 2 (Device_2) loaded 126 Modbus points from /spiffs/device_2.csv
I (903) MODBUS_MAIN: ----- Runtime Modbus Device Table -----
I (903) MODBUS_MAIN: RUNTIME device[0]: unit_id=1 name=Device_1 csv=/spiffs/device_1.csv points=372
I (913) MODBUS_MAIN: RUNTIME device[1]: unit_id=2 name=Device_2 csv=/spiffs/device_2.csv points=126
I (923) MODBUS_MAIN: ---------------------------------------
I (933) MODBUS_MAIN: ----- Modbus Point Capacity -----
I (933) MODBUS_MAIN: Device 1 (Device_1): used=372 / max=384, remaining=12 (96.9% used)
I (943) MODBUS_MAIN: Device 2 (Device_2): used=126 / max=384, remaining=258 (32.8% used)
I (953) MODBUS_MAIN: Configured capacity: used=498 / max=768, remaining=270
I (953) MODBUS_MAIN: Free heap: 148420 bytes, largest block: 110592 bytes, point size: 160 bytes
I (963) MODBUS_MAIN: Heap-equivalent points available (informational only): 927
I (973) MODBUS_MAIN: ---------------------------------
I (973) MODBUS_MAIN: ----- Point Cost Guide -----
I (983) MODBUS_MAIN: Internal point usage (counts against MODBUS_MAX_POINTS):
I (993) MODBUS_MAIN: data_type=bool -> 1 point
I (993) MODBUS_MAIN: data_type=uint16 -> 1 point
I (993) MODBUS_MAIN: data_type=uint32 -> 2 points
I (1003) MODBUS_MAIN: data_type=float -> 2 points
I (1003) MODBUS_MAIN: data_type=double -> 4 points
I (1013) MODBUS_MAIN: PICS staging usage (for pics_address spacing only):
I (1023) MODBUS_MAIN: pics_data_type=Boolean -> 1 register
I (1023) MODBUS_MAIN: pics_data_type=Integer -> 2 registers
I (1033) MODBUS_MAIN: pics_data_type=Float -> 4 registers
I (1033) MODBUS_MAIN: pics_data_type=None -> 0 registers
I (1043) MODBUS_MAIN: Planning examples:
I (1043) MODBUS_MAIN: 100 uint16 CSV rows -> about 100 internal points
I (1053) MODBUS_MAIN: 100 float CSV rows -> about 200 internal points
I (1053) MODBUS_MAIN: 100 double CSV rows -> about 400 internal points
I (1063) MODBUS_MAIN: --------------------------------
I (1063) MODBUS_MAIN: ----- Device Type Mix -----
I (1073) MODBUS_MAIN: Device 1 (Device_1) type mix: base_rows=286 internal_points=372 pics_regs=714
I (1083) MODBUS_MAIN: data_type counts: bool=14 uint16=186 uint32=85 float=1 double=0
I (1093) MODBUS_MAIN: pics_data_type counts: none=15 Boolean=0 Integer=185 Float=86
I (1093) MODBUS_MAIN: Device 2 (Device_2) type mix: base_rows=126 internal_points=126 pics_regs=214
I (1103) MODBUS_MAIN: data_type counts: bool=18 uint16=108 uint32=0 float=0 double=0
I (1113) MODBUS_MAIN: pics_data_type counts: none=72 Boolean=0 Integer=1 Float=53
I (1123) MODBUS_MAIN: ---------------------------
I (1123) MODBUS_MAIN: ----- Modbus Memory Usage -----
I (1133) MODBUS_MAIN: Device 1 (Device_1): 372 / 384 points used (96.9%)
I (1133) MODBUS_MAIN: Device 2 (Device_2): 126 / 384 points used (32.8%)
I (1143) MODBUS_MAIN: TOTAL POINTS LOADED: 498
I (1143) MODBUS_MAIN: --------------------------------
I (1163) wifi:wifi driver task: 3ffdf4ec, prio:23, stack:6656, core=0
I (1173) wifi:wifi firmware version: 44738b4
I (1173) wifi:wifi certification version: v7.0
I (1173) wifi:config NVS flash: enabled
I (1173) wifi:config nano formatting: disabled
I (1183) wifi:Init data frame dynamic rx buffer num: 32
I (1183) wifi:Init static rx mgmt buffer num: 5
I (1183) wifi:Init management short buffer num: 32
I (1193) wifi:Init dynamic tx buffer num: 32
I (1193) wifi:Init static rx buffer size: 1600
I (1203) wifi:Init static rx buffer num: 10
I (1203) wifi:Init dynamic rx buffer num: 32
I (1213) wifi_init: rx ba win: 6
I (1213) wifi_init: accept mbox: 6
I (1213) wifi_init: tcpip mbox: 32
I (1213) wifi_init: udp mbox: 6
I (1223) wifi_init: tcp mbox: 6
I (1223) wifi_init: tcp tx win: 5760
I (1223) wifi_init: tcp rx win: 5760
I (1233) wifi_init: tcp mss: 1440
I (1233) wifi_init: WiFi IRAM OP enabled
I (1233) wifi_init: WiFi RX IRAM OP enabled
I (1243) phy_init: phy_version 4863,a3a4459,Oct 28 2025,14:30:06
I (1323) wifi:mode : sta (cc:7b:5c:bb:d3:d4)
I (1323) wifi:enable tsf
I (1333) WIFI_MANAGER: Wi-Fi STA start
I (1343) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1, snd_ch_cfg:0x0
I (1343) wifi:state: init -> auth (0xb0)
I (3023) wifi:state: auth -> assoc (0x0)
I (4023) wifi:state: assoc -> init (0x400)
I (4033) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1, snd_ch_cfg:0x0
W (4033) WIFI_MANAGER: Wi-Fi disconnected, retrying
W (6453) WIFI_MANAGER: Wi-Fi disconnected, retrying
I (6463) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1, snd_ch_cfg:0x0
I (6463) wifi:state: init -> auth (0xb0)
I (8153) wifi:state: auth -> assoc (0x0)
I (8223) wifi:state: assoc -> run (0x10)
I (8263) wifi:connected with M3000-4B29, aid = 10, channel 1, BW20, bssid = 18:ee:86:d3:4b:2a
I (8263) wifi:security: WPA3-SAE, phy: bgn, rssi: -49
I (8263) wifi:pm start, type: 1
I (8273) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (8303) wifi:dp: 2, bi: 102400, li: 4, scale listen interval from 307200 us to 409600 us
I (8303) wifi:AP's beacon interval = 102400 us, DTIM period = 2
I (8303) wifi:<ba-add>idx:0 (ifx:0, 18:ee:86:d3:4b:2a), tid:0, ssn:0, winSize:64
I (9323) esp_netif_handlers: sta ip: 192.168.1.28, mask: 255.255.255.0, gw: 192.168.1.1
I (9323) WIFI_MANAGER: Got IP: 192.168.1.28
I (9323) MODBUS_MAIN: Modbus TCP server listening on port 502 (max_clients=4)
I (9333) main_task: Returned from app_main()
I (9983) MODBUS_MAIN: Client connected: 192.168.1.18:60036 (active=1)
I (10093) wifi:<ba-add>idx:1 (ifx:0, 18:ee:86:d3:4b:2a), tid:6, ssn:2, winSize:64
I (11173) MODBUS_MAIN: Client connected: 192.168.1.18:60213 (active=2)

View File

@@ -0,0 +1,9 @@
Command: ninja all
[1/5] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_ModbusTCP\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_ModbusTCP/build/partition_table/partition-table.bin C:/Users/e.adame/Documents/ESP32_ModbusTCP/build/modbus_tcp_esp32.bin"
modbus_tcp_esp32.bin binary size 0xc6a30 bytes. Smallest app partition is 0x100000 bytes. 0x395d0 bytes (22%) free.
[2/5] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_ModbusTCP\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_ModbusTCP/spiffs C:/Users/e.adame/Documents/ESP32_ModbusTCP/build/spiffs.bin --page-size=256 --obj-name-len=32 --meta-len=4 --use-magic --use-magic-len"
[3/5] Performing build step for 'bootloader'
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\e.adame\Documents\ESP32_ModbusTCP\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_ModbusTCP/build/bootloader/bootloader.bin"
Bootloader binary size 0x6610 bytes. 0x9f0 bytes (9%) free.