Skip to content

Default write buffer size can break communication with Roach2 boards.  #74

@baileyji

Description

@baileyji

Hi Folks,
We've found that to get casperfpga working with our roach2 based system we need to add the additional patch of:

if hasattr(katcp.CallbackClient, 'MAX_WRITE_BUFFER_SIZE'):
    setattr(katcp.CallbackClient, 'MAX_WRITE_BUFFER_SIZE',
            katcp.CallbackClient.MAX_WRITE_BUFFER_SIZE * 10)

in katcp_fpga.py (v0.4.2) or probably in transport_katcp.py for v3.1 (untested). We aren't keen on this because it means forking and diving into internals.

Is there an undocumented way of perhaps calling casperfpga.katcp_fpga.KatcpFpga with a MAX_MESSAGE_LEN argument or some such so we can both avoid the write buffer overflow and mucking around with or forking the repo?

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