ZEDBOARD UART serial port setup error
7 次查看(过去 30 天)
显示 更早的评论
Hey i am new to using the zedboard and i have encountered a problem when it comes to setting up the hardware to the pc.
i have used hdl coder to configure and set up the board but it seems to give me an error.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1636666/image.jpeg)
I am still learning about the board and i tried some solutions that i found online. one of which was "chmod 666 /dev/ttyACM0" to give permissions which still kept the warnings.
previously i had issues with the configuration of the nic but i was able to figure it out.
0 个评论
回答(1 个)
Bhanu Prakash
2024-5-27
编辑:Bhanu Prakash
2024-5-27
Hi Eeshwar,
A possible reason for the error 'The serial port, /dev/ttyACM0, is not available' might be due to the lack of permissions. You can grant the required permissions by running the following commands in Linux terminal:
sudo chmod +777 /run/lock
sudo chmod +777 /dev/ttyACM0
You can verify the availability of the port by running the following commands in the MATLAB Command Window:
instrhwinfo('serial');
ans.AvailableSerialPorts
You can find more information regarding the 'instrhwinfo' function here:
If the output contains '/dev/ttyACM0', you can now try connecting to the Zynq hardware.
If the port is still not available, make sure that the hardware is properly connected to your device and relaunch MATLAB. For additional information related to this issue, refer to the following MATLAB answer:
Hope this helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!