I haven´t been developing Arduino applications actively for a while and dusted off my (Arduino) Leonardo and (what's next) Micro.
I was initially highly confused by a flashing Rx LED on the boards mentioned above when IDE 2.3.10 in Windows 11 is open; interval roughly 1 second. From memory I can't remember ever seeing that.
The "issue" does not show with a CH340 clone Nano nor with a original Mega.
First check was against IDE 2.3.10 on Manjaro Linux; the "issue" does not show.
Next I downgraded serial-discovery to 1.4.3 on the Windows 11 system (by renaming it to 1.9.3) and the issue disappeared.
The minimum that I can say about it is that is highly annoying when developing. The maximum might be that it will interfere with data echoed by the Arduino board to the PC (serial monitor, 3rd party terminal program); but I have not (yet) been able to prove if that is the case or not.
Notes:
The "issue" does not show for a SparkFun Pro Micro and serial-discovery 1.5.1; it does show with serial-discovery 1.5.0. I know that there was a change mentioned on github regarding this so happiness there.
This might apply to other boards that use native USB but I don't have those.
I'm aware that there were issues raised regarding the serial-discovery 1.5; what I could find (till now) was that it always seems to relate to uploads (for boards Espressif microcontrollers).
I don't understand. I haven't come across a case where simply renaming a driver changes its version. Can you explain how that works?
I'm not a Windows user, so I may be missing something. The only thing I can think of is that renaming it is causing Windows to load a different driver. Is that what's happening?
Hi @sterretje. I believe this was caused by the active USB device probing behavior introduced by this change that shipped in serial-discovery 1.5.0:
That behavior has been adjusted by this change that shipped in 1.5.1:
This is because arduino/serial-discovery#130 only disables the "active probing" behavior for devices that do not have the 2341 USB vendor ID owned by Arduino:
This means "active probing" is still performed on the USB device of the Leonardo (or any ATmega32U4-based board running a sketch program uploaded while Tools > Board > Arduino AVR Boards > Arduino Leonardo, Tools > Board > Arduino AVR Boards > Arduino Micro, or one of the other ATmega32U4-based boards from the "Arduino AVR Boards" platform is selected from the Arduino IDE menus. These board selections all configure the USB CDC device produced by the board to use the 2341 USB vendor ID. For example:
Conversely, the USB device produced when a board is running a sketch program uploaded while Tools > Board > SparkFun AVR Boards > SparkFun Pro Micro is selected from the Arduino IDE menus will use SparkFun's vendor ID 1B4F, and thus be excluded from "active probing":