Errors while connecting to DuetEthernet using USB

  • Never had any problems before today, but following Windows updates (why they should make a difference I don't know), but when trying to connect to the printer from Pronterface\Simplify3D\Slic3r I'm getting an error message back:

    "Error: Bad command: XYZv3/query=aM105"

    My Duet is current:

    Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
    Firmware Electronics: Duet Ethernet 1.02 or later
    Firmware Version: 1.21 (2018-03-21)
    Web Interface Version: 1.21

    and I've checked\re-installed the USB driver, but still get the message. Everything appears to be ok using the Web interface, but I like to push\print direct from the slicer...

    Any help gratefully received. Julian

  • Just for debugging, you might wish to try a USB / Serial Terminal program. YAT (Yet Another Terminal), Termite, or similar.

  • Thanks for the suggestion. Installed Yat, & downloaded & updated the drivers supplied by DC, for the RC candidate last week.

    Yat connects ok with no errors, & I can issue commands, also with no errors. e.g.

    Pronterface now connects with no errors, Slic3r will mostly connect but will some times fail with the "Bad command" string.

    Simply3d refuses to connect, with the following:

    Attempting connection at \.\COM8...
    Testing plaintext communication protocol...
    READ: Error: Bad command: XYZv3/query=aG90
    Testing binary communication protocol...
    Testing alternate communication protocols...
    WARNING: CRC mismatch detected
    READ: or: Bad command: ·XYZ_@3D:
    Connection failed.

    So I suspext it's more of an issue with Simply3d, which I'll take up with them directly..


  • administrators

    Make sure you set S3D to use "hardware flow control".

  • Thank you,

    I can now connect to the printer from S3D and can get it to do one thing, e.g. if I issue the Home All command, it works, but machine won't accept further commands, and it refuses to print and\or set temperatures etc.

    But at least its' a step in the right direction...

  • administrators

    @dr_ju_ju, do you have emulation set to Marlin, which is P2 in the M552 M555 command in config.g?

  • I take it you mean M555, and mine is set to P1 (RepRap firmware). I'll try P2 & see what happens

  • Thank you DC, for even though S3D states that they fully support RepRap, setting the printer to Marlin emulation (M555 P2), fixed all the issues.

    I doesn't even need to have hand-shaking set ??

  • administrators

    The Duet has a native USB port, (not a USB-to-serial converter as almost all 8-bit boards have), so handshaking is done by the device driver automatically.

Log in to reply