Feature/Build Help: Add Modbus TCP Server to HeishaMon + working platformio.ini for Windows #728
Replies: 7 comments 4 replies
-
|
You should fallow GitHub workflow for compilation.. i done same (platform Io)with small one. And everything worked. OS indeed not matters |
Beta Was this translation helpful? Give feedback.
-
|
I’m building with PlatformIO (Arduino core 3.x). Target module: ESP32-S3-MINI-1 N4R2 (4 MB flash).
I set the flash size to 4 MB, but the device goes into a reboot loop with a LoadProhibited panic.
Used settings:
- board_build.flash_size = 4MB
- board_upload.maximum_size = 4194304 # (legacy, added just in case)
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x2b (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037c07a
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x109c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xb50
load:0x403cc700,len:0x2fe4
entry 0x403c98ac
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x400556b4 PS : 0x00060230 A0 : 0x8202adc1 A1 : 0x3fcebac0
A2 : 0x00000001 A3 : 0xfffffffd A4 : 0x000000ff A5 : 0x0000ff00
A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x8202a1f8 A9 : 0x3fceba90
A10 : 0x3fc96460 A11 : 0x3c117200 A12 : 0x00000006 A13 : 0xffffffff
A14 : 0x00ff0000 A15 : 0xff000000 SAR : 0x00000000 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000001 LBEG : 0x400556d5 LEND : 0x400556e5 LCOUNT : 0xfffffffe
Backtrace: 0x400556b1:0x3fcebac0 0x4202adbe:0x3fcebad0 0x4202aec5:0x3fcebaf0 0x42026fd3:0x3fcebb10 0x42006856:0x3fcebc10 0x4202ea2b:0x3fcebc70 0x40380faa:0x3fcebc90
ELF file SHA256: 141faac97ec0e2d7
thanks
…________________________________
Von: geduxas ***@***.***>
Gesendet: Freitag, 17. Oktober 2025 10:22
Bis: Egyras/HeishaMon ***@***.***>
Cc: Gruber Reinhard ***@***.***>; Author ***@***.***>
Betreff: Re: [Egyras/HeishaMon] Feature/Build Help: Add Modbus TCP Server to HeishaMon + working platformio.ini for Windows (Discussion #728)
here is ini file which build's heishamon, but not tested if everything is ok, just compiles source:
[platformio]
src_dir = ./HeishaMon/
[env:esp32]
platform = https://github.com/pioarduino/platform-espressif32.git#51.03.07
board = esp32-s3-devkitc-1
framework = arduino
board_build.psram = enabled
board_build.partitions = min_spiffs.csv
monitor_speed = 115200
build_flags =
-DARDUINO_BOARD="esp32:esp32:esp32s3"
-DBOARD_HAS_PSRAM
-DCORE_DEBUG_LEVEL=0
-DDEBUG_ESP_PORT=Serial
-DARDUINO_ETH_INCLUDE
lib_deps =
ringbuffer
pubsubclient
bblanchon/ArduinoJson
milesburton/DallasTemperature
paulstoffregen/OneWire
adafruit/Adafruit NeoPixel
—
Reply to this email directly, view it on GitHub<#728 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAX5JPNCIBL7ZIS2TP3YV733YCRL5AVCNFSM6AAAAACJIL4T3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINZQG4ZDANY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
without "board_build.psram = enabled" the board is booting |
Beta Was this translation helpful? Give feedback.
-
|
Hi
now i have the correct settings (memory_type = qio_qspi).
may you can add to the master branch?
thanks
[platformio]
src_dir = ./HeishaMon/
[env:esp32]
platform = https://github.com/pioarduino/platform-espressif32.git#51.03.07
board = esp32-s3-devkitm-1
framework = arduino
board_upload.flash_size = 4MB
board_upload.maximum_size = 4194304
board_build.partitions = min_spiffs.csv
board_build.arduino.memory_type = qio_qspi
monitor_speed = 115200
build_flags =
-DBOARD_HAS_PSRAM
-DCORE_DEBUG_LEVEL=0
-DDEBUG_ESP_PORT=Serial
-DARDUINO_ETH_INCLUDE
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
lib_deps =
ringbuffer
pubsubclient
bblanchon/ArduinoJson
milesburton/DallasTemperature
paulstoffregen/OneWire
adafruit/Adafruit NeoPixel
…________________________________
Von: geduxas ***@***.***>
Gesendet: Freitag, 17. Oktober 2025 10:22
An: Egyras/HeishaMon ***@***.***>
Cc: Gruber Reinhard ***@***.***>; Author ***@***.***>
Betreff: Re: [Egyras/HeishaMon] Feature/Build Help: Add Modbus TCP Server to HeishaMon + working platformio.ini for Windows (Discussion #728)
here is ini file which build's heishamon, but not tested if everything is ok, just compiles source:
[platformio]
src_dir = ./HeishaMon/
[env:esp32]
platform = https://github.com/pioarduino/platform-espressif32.git#51.03.07
board = esp32-s3-devkitc-1
framework = arduino
board_build.psram = enabled
board_build.partitions = min_spiffs.csv
monitor_speed = 115200
build_flags =
-DARDUINO_BOARD="esp32:esp32:esp32s3"
-DBOARD_HAS_PSRAM
-DCORE_DEBUG_LEVEL=0
-DDEBUG_ESP_PORT=Serial
-DARDUINO_ETH_INCLUDE
lib_deps =
ringbuffer
pubsubclient
bblanchon/ArduinoJson
milesburton/DallasTemperature
paulstoffregen/OneWire
adafruit/Adafruit NeoPixel
—
Reply to this email directly, view it on GitHub<#728 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAX5JPNCIBL7ZIS2TP3YV733YCRL5AVCNFSM6AAAAACJIL4T3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINZQG4ZDANY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Hi Jürgen,
Here’s the current status of my repo:
https://github.com/ReinhardGruber/HeishaMonModbusTCP
*
Reading: works.
*
Writing: not tested yet.
If you have time, please verify the write access. Feedback or issues in the repo (fork) are welcome.
Thank you,
Reinhard Gruber
…________________________________
Von: js-ed ***@***.***>
Gesendet: Donnerstag, 30. Oktober 2025 20:12
Bis: Egyras/HeishaMon ***@***.***>
Cc: Gruber Reinhard ***@***.***>; Author ***@***.***>
Betreff: Re: [Egyras/HeishaMon] Feature/Build Help: Add Modbus TCP Server to HeishaMon + working platformio.ini for Windows (Discussion #728)
Dear Reinhard , I would really appreciate thi feature . Modbus is more convenient way of communicating with PLCs
Can I get copy of the firmware file including MODBUS ?
Jürgen
—
Reply to this email directly, view it on GitHub<#728 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAX5JPLJTNPNVAU4DHXWA3332JPI7AVCNFSM6AAAAACJIL4T3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOBTGA2DSMA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
[cid:65d7847d-c3c8-4bac-ab1b-2968db24133f]
<img width="1889" height="921" alt="image" src="https://github.com/user-attachments/assets/194fa312-e20b-44d3-a4a9-c7fea67e46fc" />
…________________________________
Von: js-ed ***@***.***>
Gesendet: Donnerstag, 30. Oktober 2025 20:12
An: Egyras/HeishaMon ***@***.***>
Cc: Gruber Reinhard ***@***.***>; Author ***@***.***>
Betreff: Re: [Egyras/HeishaMon] Feature/Build Help: Add Modbus TCP Server to HeishaMon + working platformio.ini for Windows (Discussion #728)
Dear Reinhard , I would really appreciate thi feature . Modbus is more convenient way of communicating with PLCs
Can I get copy of the firmware file including MODBUS ?
Jürgen
—
Reply to this email directly, view it on GitHub<#728 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAX5JPLJTNPNVAU4DHXWA3332JPI7AVCNFSM6AAAAACJIL4T3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOBTGA2DSMA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Hallo ,
Wow, das ging aber schnell !
Welches binary soll ich laden ?
HeishaMon.ino.esp32-v3.9.bin für meine large Heishamon Platine
Danke für schnelle Antwort
Jürgen Scharfe
Dr. Jürgen Scharfe
Mozartstr. 22
85435 Erding
Tel. +49 8122 902216
Mobil +49 171 6232294
e-mai:l ***@***.***
Von: ReinhardGruber ***@***.***>
Gesendet: Montag, 3. November 2025 12:09
An: Egyras/HeishaMon ***@***.***>
Cc: js-ed ***@***.***>; Comment ***@***.***>
Betreff: Re: [Egyras/HeishaMon] Feature/Build Help: Add Modbus TCP Server to HeishaMon + working platformio.ini for Windows (Discussion #728)
[cid:65d7847d-c3c8-4bac-ab1b-2968db24133f]
…________________________________
Von: js-ed ***@***.***<mailto:***@***.***>>
Gesendet: Donnerstag, 30. Oktober 2025 20:12
An: Egyras/HeishaMon ***@***.***<mailto:***@***.***>>
Cc: Gruber Reinhard ***@***.***<mailto:***@***.***>>; Author ***@***.***<mailto:***@***.***>>
Betreff: Re: [Egyras/HeishaMon] Feature/Build Help: Add Modbus TCP Server to HeishaMon + working platformio.ini for Windows (Discussion #728)
Dear Reinhard , I would really appreciate thi feature . Modbus is more convenient way of communicating with PLCs
Can I get copy of the firmware file including MODBUS ?
Jürgen
—
Reply to this email directly, view it on GitHub<#728 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAX5JPLJTNPNVAU4DHXWA3332JPI7AVCNFSM6AAAAACJIL4T3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOBTGA2DSMA>.
You are receiving this because you authored the thread.Message ID: ***@***.***<mailto:***@***.***>>
—
Reply to this email directly, view it on GitHub<#728 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BNCYOVUZIB7TIIAY6A3VFC3324ZVHAVCNFSM6AAAAACJIL4T3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOBVG4YDGNI>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I’d like to extend HeishaMon with a Modbus TCP Server (to simplify integration with systems like Loxone). To prototype this, I need to build the firmware locally. I’m stuck getting the project to compile with PlatformIO on Windows.
What I’m trying to do:
Build HeishaMon locally (Windows 11) and then add a Modbus TCP Server.
Target device: ESP32-S3 DevKitC-1 (N8, no PSRAM) – only the “large” build is needed.
Where I’m stuck:
I don’t have a working platformio.ini for this repo/environment on Windows.
I also tried the PIO Arduino integration in VS Code, but no luck.
Environment:
Windows 11
VS Code + PlatformIO (pioarduino)
(Tried Arduino Core 3.x too; ran into ESP32 Ethernet API changes vs. older code)
Ask:
Does anyone have a known-good platformio.ini for building HeishaMon (large) on Windows for ESP32-S3 DevKitC-1?
If ESP32 core 2.0.17 (older Ethernet API) is required, could you share the exact platform/framework-arduinoespressif32 pins that work?
Any build flags or lib versions I should lock to avoid ETH.hasIP()/W5500 API breakage?
Why this matters:
Once I can build reliably, I’ll open a clean PR adding a Modbus TCP Server (configurable port, basic holding/input registers, and a minimal map for the main HeishaMon datapoints).
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions