Skip to content

ModbusRTU IDE 2.3.2 is ok and 2.3.6 not working #2735

Not planned
@RED-DER

Description

@RED-DER

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 in
    I verified the problem still occurs when using the latest
    My report contains all necessary details

Activity

self-assigned this
on Jun 4, 2025
per1234

per1234 commented on Jun 4, 2025

@per1234
Contributor

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @per1234@RED-DER

      Issue actions

        ModbusRTU IDE 2.3.2 is ok and 2.3.6 not working · Issue #2735 · arduino/arduino-ide