AnsweredAssumed Answered

Strange log messages

Question asked by Daniel_Camara on Mar 31, 2015
Latest reply on Apr 1, 2015 by Daniel_Camara

I still can't make the example that comes with the libiio work, I am really sorry but I am just starting with this and maybe I am missing something.  From the log messages,   I assume I have a problem with the drivers/board... I don't know. However, what is completely strange is that between two boots, not changing anything, the messages from dmesg change. For example:

root@analog:~# dmesg |grep ad9361

platform 79020000.cf-ad9361-lpc: Driver cf_axi_adc requests probe deferral

ad9361 spi32766.0: ad9361_probe : enter

ad9361 spi32766.0: ad9361_probe : AD9361 Rev 2 successfully initialized

cf_axi_dds 79024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTE4

cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (8.00.b) at 0x79020000 mapped to 0xeR

 

===== halt and boot =====

 

root@analog:~# dmesg |grep ad9361

platform 79020000.cf-ad9361-lpc: Driver cf_axi_adc requests probe deferral

ad9361 spi32766.0: ad9361_probe : enter

ad9361 spi32766.0: ad9361_probe : AD9361 Rev 2 successfully initialized

cf_axi_dds 79024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTER

(8.00.b) at 0x79024000 mapped to 0xe083e000, probed DDS AD9364

ad9361 spi32766.0: ad9361_dig_tune: Tuning RX FAILED!

ad9361 spi32766.0: ad9361_dig_tune: Tuning TX FAILED!

cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (8.00.b) at 0x79020000 mapped to 0xe0

878000, probed ADC AD9361 as MASTER

 

===== halt and boot =====

Or even

root@analog:~# dmesg |grep ad9361

platform 79020000.cf-ad9361-lpc: Driver cf_axi_adc requests probe deferral

ad9361 spi32766.0: ad9361_probe : enter

ad9361 spi32766.0: ad9361_probe : AD9361 Rev 2 successfully initialized

cf_axi_dds 79024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTE4

cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (8.00.b) at 0x79020000 mapped to 0xeR

ad9361 spi32766.0: Failed to read gain, state m/c at 0

ad9361 spi32766.0: Unhandled case in ad9361_tx_quad_calib line 2180 clkrf 255070

ad9361 spi32766.0: Unhandled case in ad9361_tx_quad_calib line 2180 clkrf 152034

ad9361 spi32766.0: Unhandled case in ad9361_tx_quad_calib line 2180 clkrf 493004

ad9361 spi32766.0: Unhandled case in ad9361_tx_quad_calib line 2180 clkrf 915205

ad9361 spi32766.0: Unhandled case in ad9361_tx_quad_calib line 2180 clkrf 809888

[<c0182f34>] (Ldiv0) from [<c0325314>] (ad9361_gc_update+0x1c4/0x2bc)

[<c0325314>] (ad9361_gc_update) from [<c03277b0>] (ad9361_set_trx_clock_chain+0)

[<c03277b0>] (ad9361_set_trx_clock_chain) from [<c0327838>] (ad9361_set_trx_clo)

[<c0327838>] (ad9361_set_trx_clock_chain_freq) from [<c032912c>] (ad9361_phy_wr)

[<c032912c>] (ad9361_phy_write_raw) from [<c03163c8>] (iio_write_channel_info+0)

[<c0182f34>] (Ldiv0) from [<c0325330>] (ad9361_gc_update+0x1e0/0x2bc)

[<c0325330>] (ad9361_gc_update) from [<c03277b0>] (ad9361_set_trx_clock_chain+0)

[<c03277b0>] (ad9361_set_trx_clock_chain) from [<c0327838>] (ad9361_set_trx_clo)

[<c0327838>] (ad9361_set_trx_clock_chain_freq) from [<c032912c>] (ad9361_phy_wr)

[<c032912c>] (ad9361_phy_write_raw) from [<c03163c8>] (iio_write_channel_info+0)

ad9361 spi32766.0: Unhandled case in ad9361_tx_quad_calib line 2180 clkrf 162071

ad9361 spi32766.0: Unhandled case in ad9361_tx_quad_calib line 2180 clkrf 506146

ad9361 spi32766.0: Unhandled case in ad9361_tx_quad_calib line 2180 clkrf 849156

ad9361 spi32766.0: Unhandled case in ad9361_tx_quad_calib line 2180 clkrf 245769

 

-------------------

 

What does this means?

 

 

Environment:

  - Image: 2014_R2-2015_02_06.img

     - Applied  adi_update_tools.sh and adi_update_boot.sh (31/Mars/2015)

  - Boards:

      - Zedboard:  Rev C

      - FMCOMMS4:  Rev C

  - SMA cable looping TxA and RxA

  - Libiio - git commit 6399de78217e170982b21b5906152d330f88bb45

Outcomes