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

6 次查看(过去 30 天)
I am facing with this problem when I program for arduino with arduinosetup()

回答(1 个)

Suman
Suman 2024-6-18
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!

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by