I have been using the CN0566 for a phased array radar demo at work and out of the box was working well. I updated the pluto firmware from v0.38 to v0.39 to use the latest code that Jon Kraft has for range doppler plotting and now I am getting an error when I try to run it or any of the other example programs.
The error is thrown when trying to set the gain control mode on the SDR channels to ‘manual’.
It is throwing the error from the attribute.py script in /usr/local/lib/python3.9/dist-packages/adi,
line 69, in _set_iio_attr channel.attrs[attr_name].value = str(value)
AttributeError: ‘NoneType’ object has no attribute ‘attrs’
I had emailed Jon directly and he suggested that I post here and he thought that it might be that the pluto needs to be updated to allow the dual Rx/Tx mode.
I tried to ssh into the pluto to check what the "environmental variables" were and whether it was set up as an AD9361 and dual Rx/Tx but the password keeps getting denied. i had never changed the password but I tried editing the config.txt file to reset the password anyway, but that is not solving the issue.
Any help would be appreciated.