I DON'T KNOW WHAT IS THIS ERROR. CAN SOMEONE HELP ME PLEASE

8 Ansichten (letzte 30 Tage)
Vikai
Vikai am 5 Dez. 2023
Beantwortet: Suman am 18 Jun. 2024
I am facing with this problem when I program for arduino with arduinosetup()

Antworten (1)

Suman
Suman am 18 Jun. 2024
Hi Vikai,
The error message you're encountering, avrdude: ser_open(): can't open device "\\.\COM11": Access is denied, typically indicates a problem with accessing the specified COM port (COM11 in this case) on your Windows machine. This can be due to several reasons, such as:
  1. Port Being Used by Another Application: If another application is using COM11, it will block access to the Arduino IDE or any other program trying to use the same port. You can verify this by checking the the COM11 port in Windows Device Manager under Ports (COM and LPT) option for your device. Make sure to enable the Show hidden devices option from the view tab in the toolstrip. If Ports (COM and LPT) option is not visible still, go to the Action tab in toolstrip and select the Add legacy hardware option to add the Ports (COM and LPT).
  2. Incorrect Permissions: The current user might not have the necessary permissions to access the COM port. Try running your Arduino IDE or the software you're using to program the Arduino as an administrator. This can sometimes resolve permission issues.
I hope this helps!

Kategorien

Mehr zu MATLAB Support Package for Arduino Hardware finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by