Skip to content

Response shifted on the ucMasterRTURcvBuf  #11

Description

@oussemagaied

the problem is triggered following these steps:
1.1 - Plug the USB RS485 interface and run a modbus server script in PC side (uModbus "python")
1.2 - Request reading coils every 3 seconds (Freemodbus running on Atmel SAMDJ17A)
1.3 - Close the script and re-open it on the first read retry after the timeout

So what actually happens here :
Script response is shifted on the ucMasterRTURcvBuf buffer so the response is always incorrect thus read coil timeout
yet the response is not shifted on the USART circular fifo buffer.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions