ZEDBOARD UART serial port setup error
    5 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
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.

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 commentaires
Réponses (1)
  Bhanu Prakash
      
 le 27 Mai 2024
        
      Modifié(e) : Bhanu Prakash
      
 le 27 Mai 2024
  
      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 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

