Description
Describe the problem
A ModbusRTU slave example using the ModbusRTUSlave library (by CMB27) stops responding to Modbus requests when compiled and uploaded using Arduino IDE 2.3.6. It works perfectly on IDE 2.3.2 using the exact same board and code.
This affects communication on boards like Uno, Nano, and Leonardo (AVR core 1.8.6). Likely a regression in serial/RS-485 handling introduced between IDE versions.
No error messages – just silent failure.
To reproduce
A ModbusRTU slave example using the ModbusRTUSlave library (by CMB27) stops responding to Modbus requests when compiled and uploaded using Arduino IDE 2.3.6. It works perfectly on IDE 2.3.2 using the exact same board and code.
This affects communication on boards like Uno, Nano, and Leonardo (AVR core 1.8.6). Likely a regression in serial/RS-485 handling introduced between IDE versions.
No error messages – just silent failure.
Expected behavior
pls solve this problem
Arduino IDE version
2.3.2 vs 2.3.6
Operating system
Windows
Operating system version
Windows 11
Additional context
No response
Issue checklist
- I searched for previous reports inI verified the problem still occurs when using the latestMy report contains all necessary details
Activity
per1234 commentedon Jun 4, 2025
Hi @RED-DER. Thanks for your interest in this open source project. There simply isn't any mechanism by which the Arduino IDE application could cause the problems you are experiencing, so the apparent correlation between IDE versions and occurrence of the problem must be purely coincidental.
We'll be happy to help you to investigate and find a solution for the problem if you request assistance over on Arduino Forum:
https://forum.arduino.cc/