Serial monitor issues with Arduino Due

I have a sketch that responds to serial input on an Arduino Due. When I connect to the programming port using RC5 it programs fine but there are issues when using the serial monitor. Output from the sketch appears on the serial monitor with the addition of an occasional unexpected character but the sketch reacts as if it is periodically receiving bytes of 0 and I can't send any data to the sketch. When I use an external serial program, such as Putty, to communicate with the board over the same USB connection, everything works fine.

Hi @robopixel. Thanks for taking the time to give the Arduino IDE 2.0.0 release candidate a try and for sharing your results!

Some similar problems are being tracked by the Arduino IDE developers, which I will list below. Please take a look at the reports and let me know if you determine that the problem you are experiencing is different. In that case, we will want to do some further investigation and produce a formal report.

It might be this one:

It sounds like this bug:

There are a couple of possibilities. For one, the keyboard control for sending data has been changed from Enter to Ctrl+Enter:

There is also a bug that can cause this under some conditions:

If you have a GitHub account, you can subscribe to any of those issues to get notifications of any new developments related to the subject.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.