Hello,
I have a problem connecting my project with the iio oscilloscope.
I followed the link to build the sample project.
https://wiki.analog.com/resources/tools-software/no-os-software/iio
Then I open the iio oscilloscope and it doesn't have the serial context option.

What is the problem with this?
Thank you,
Nicole.
Hello,
I see you are using a virtual machine to try to connect with the board. I am thinking that that may interfere if the machine is not set correctly, for example it doesn't have the serial drivers, or serial devices are not correctly piped through to it. Could you make sure a serial connection is possible? Maybe use a putty or similar program to send "PRINT" to the board and see if there is any output.
Alternatively you can install IIO osc on the host machine and it might work smoother.
Regards,
Andrei
Thanks for the reply,
by means of putty and serial connection I can see the output of DAC_DMA_EXAMPLE.
I don't know if there might be an installation error in iio oscilloscope. You need to build the project with TINYIIOD=y flag.
So go ahead to your project directory and
make clean_all make TINYIIOD=y
After this, you will see a different message at the serial console and iio-oscilloscope will be able to see the iio device.
Hello,
Thanks for your reply.
I could see this message on my serial console, as you told me:
Then I would have to unplug my serial console and open the oscilloscope. This is so?
When I open the oscilloscope the initial interface still appears the same as beforeYou are working on the ad9361 project, am I correct ? master no-OS branch ?
Actually I have a suspicion regarding a submodule of no-OS which was recently changed and I think it breaks some projects. It's called iio_app. We will investigate and fix it soon.
Meanwhile, please try using this commit as starting point for what you are doing, which is just a few days old:
https://github.com/analogdevicesinc/no-OS/commit/7f101e99b4f7f795d1f29c90009f436e23f00405
And when the fix lands on master, you may rebase your dev branch on the latest master.
Let me know if this works for you.
Hi Nicole,
Can you tri to install the latest libiio version:
https://github.com/analogdevicesinc/libiio/releases/tag/v0.23
It should be built with Serial support. (Your current version may not have serial enabled)
If this still doesn't make the serial context visible,
can you try to build the latest version of iio-osciloscope?:
https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope#installation
Regards,
Mihail
I change these lines as you tell me

and then I run this project on my board but I have no changes.
I show you the steps followed:
1) Enter the command make clean_all and make TYNYIIOD = y.
2) Then I enter make run to load the board and then make develop to open the project in sdk.
3) On my serial console I can see the information about TINYIIOD that I already showed you. But I still have the same problems to use USBtty0 with the oscilloscope.
Hi Mihail,
I have the libiio last version.

And use this link for install the iio oscilloscope:
https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope#installation
Thanks,
Nicole.
Indeed, libiio seems to be the issue.
libiio can be build with different backends. As you can see, mine have the serial backend, but yours doesn't.
Did you installed the one from releases?
Mihail