AnsweredAssumed Answered

[libiio on Zynq]Unable to handle kernel paging request at virtual address

Question asked by ngocnhan on Aug 21, 2017
Latest reply on Aug 22, 2017 by larsc
I am using libiio on the ZED board. My design is similar to fmcomms2, but I use TX channel only.
I got the segmentation fault when running my test program.
The dmesg shows the messages in the attachment. This happen when I tried to enable the filter after
successfully loaded the filter coeffs.

rc = iio_device_attr_write_bool(phy_dev, "in_out_voltage_filter_fir_en", true);
if (rc < 0) {
rc = iio_channel_attr_write_bool(iio_device_find_channel(phy_dev, "out", false),
"voltage_filter_fir_en", true);
The funny thing is if I checked the dmesg and when dig tune function failed during boot time,
my program would work without problem and all system works smoothly.
(ad9361 spi32766.0: ad9361_dig_tune: Tuning RX FAILED!)
If the digital tune success during driver probing, I would get the segmentation fault.
Any help would be really appreciated.