-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Architecture: SAMApplies only to the SAM microcontrollers (Due)Applies only to the SAM microcontrollers (Due)USB: CDC serialSerial interface used by MCUs with native USB (e.g. Leonardo) to communicate with the computerSerial interface used by MCUs with native USB (e.g. Leonardo) to communicate with the computer
Description
This is a regression in 1.6.6. 1.5.5 works correctly.
On Arduino Due, upload any sketch:
void setup() {
// put your setup code here, to run once:
SerialUSB.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
SerialUSB.println("hello");
delay(100);
}
- Upload it to the board using Native USB port.
- Run Serial monitor.
- It should connect and display the output correctly.
- Close Serial Monitor.
- Open Serial Monitor again.
Expected: it connects correctly.
Actual: get a Error opening serial port '/dev/cu.usbmodem1d111'. (Port busy)
error. This happens in other apps too, like "Serial Tools" for OS X. It seems that when you close the connection on the PC side, the Arduino is not properly cleaning up and freeing the connection.
Tested on Arduino Due, OS X 10.10.5, with Arduino 1.6.6 (Due core 1.6.5).
Metadata
Metadata
Assignees
Labels
Architecture: SAMApplies only to the SAM microcontrollers (Due)Applies only to the SAM microcontrollers (Due)USB: CDC serialSerial interface used by MCUs with native USB (e.g. Leonardo) to communicate with the computerSerial interface used by MCUs with native USB (e.g. Leonardo) to communicate with the computer