Assuming you have clone Nanos with CH340 you will have to roll back the driver. You can fin instructions here: Port monitor error: command 'open' failed: Invalid serial port. Could not connect to COM serial port - #49 by ptillisch
Assuming you have clone Nanos with CH340 you will have to roll back the driver. You can fin instructions here: Port monitor error: command 'open' failed: Invalid serial port. Could not connect to COM serial port - #49 by ptillisch