Skip to content

Sending command via Arduino USB port causes reset (DTR) #9

@bluespider42

Description

@bluespider42

Continued from: thijse/Arduino-CmdMessenger#11

When I send a simple acknowledge type message to the Arduino through the built-in USB/Serial interface it causes a reset of the Arduino.
However if I connect a external USB/Serial convertor directly to the Tx/Rx pins of the Arduino then it works , no problem.
The Arduino USB/Serial port works normally when not using CmdMessenger (ie for looking at debugging messages in tera term).

I suspect it is due to the DTR line being toggled on opening the connection.
I did try adding in a self.comm.setDTR(value) into the arduino.py of PyCmdMessenger but I think that was only having an affect after the port was opened (and after the reset had occurred).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions