I have bought my brand new Arduino MKRZero to emulate a keyboard. When I plug it in, I get the following on COM6, which is listed as "Arduino MKRZero".

"This device cannot start" (Code 10)


I also get a new COM port connection, COM3, listed as a generic USB Serial Device.


In my IDE (2.1.0) I am given the following:


COM 3 opens on the Serial Monitor, while COM 6 gives a port monitor error:



I have tried a few things based on the following:

  • Updating drivers
  • Rolling back drivers
  • Using a different USB connector
  • Restarting laptop


The reason why I ask is because I am attempting to use the following code in an Arduino, which, per my understanding, should print the letter "F" every second with my keyboard.

#include <Keyboard.h>

void setup() {
  // open the serial port:
  // initialize control over the keyboard:

void loop() {

However, no response is received.

Please let me know if more information is required, or if this is a code issue. I am on Win 10.0.19045, and attempted both the latest version and an alleged, more stable version of the MKRZero driver (Arduino SAMD Boards [32-bits ARM Cortex-M0+] version 1.8.13 and 1.8.9).

  • if you upload Blink or some other sketch without Keyboard library, everything is normal? one com port? which one?
    – Juraj
    Aug 2, 2023 at 13:35


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.