Post Go back to editing

CN0565+ADICUP3029,Serial Connection Error! No device found

Category: Hardware
Product Number: cn0565
Software Version: python

Regarding CN0565 I followed the steps of the user guide, DAPLINK programming is normal, but even if I change the baud rate of the interface, etc., the problem still appears, how can I solve it?Is there an installation error at which steps or is there a problem with the hardware? I'm using this issue in both Windows and Linux conda environments

PS C:\Users\PC\Desktop\pyadi-iio-main\examples\cn0565> python cn0565_example_single.py 0 1 1 0
Traceback (most recent call last):
File "C:\Users\PC\AppData\Roaming\Python\Python312\site-packages\adi\context_manager.py", line 36, in __init__
self._ctx = iio.Context(self.uri)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\AppData\Roaming\Python\Python312\site-packages\iio.py", line 1328, in __init__
self._context = _new_uri(_context.encode("ascii"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\AppData\Roaming\Python\Python312\site-packages\iio.py", line 56, in _check_null
raise OSError(err, _strerror(err))
OSError: [Errno 0] No error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\PC\Desktop\pyadi-iio-main\examples\cn0565\cn0565_example_single.py", line 32, in <module>
cn0565 = adi.cn0565(uri="serial:COM4,115200,8n1n")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\AppData\Roaming\Python\Python312\site-packages\adi\cn0565.py", line 28, in __init__
context_manager.__init__(self, uri, self._device_name)
File "C:\Users\PC\AppData\Roaming\Python\Python312\site-packages\adi\context_manager.py", line 38, in __init__
raise Exception("No device found")

PS C:\Users\PC\Desktop\pyadi-iio-main\examples\cn0565> & C:/Users/PC/.conda/envs/c312/python.exe c:/Users/PC/Desktop/pyadi-iio-main/examples/cn0565/main.py
Worker Created
BP is chosen
Real is chosen
Serial: COM4 baudrate: 115200
Serial Connection Error! No device found

Parents Reply Children

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.