I am trying to build the no-OS daq2 project on windows. From this link: https://github.com/analogdevicesinc/no-OS/wiki/Building-no-OS-on-Windows
Sorry for the stupid question, I wanted to know is there a way to make the project on the tcl console instead of the command shell?
How do I check GNU make? and how can I build it manually?
Could you please help me with this!
The build guide https://github.com/analogdevicesinc/no-OS/wiki/Building-no-OS-on-Windows is avaliable only for the projects that are found in the `/projects` folder.
The daq2 project is currently…
The daq2 project is currently in progress of being updated. You can see an initial updated version with PR: https://github.com/analogdevicesinc/no-OS/pull/500
I still suggest using the stable version from root folder until it is merged to master.
Thank you for the reply. Yes, I am using the stable version of no-OS. I have been trying to build no-OS on windows. When I build it, I get these errors:
Description Resource Path Location Typefatal error: platform_drivers.h: No such file or directory fmcdaq2.c /sw/src line 47 C/C++ Problem
Description Resource Path Location Typemake: *** [src/subdir.mk:23: src/fmcdaq2.o] Error 1 sw C/C++ Problem
Description Resource Path Location Typemake: *** No rule to make target '../../../no-OS/scripts/zynq_ps7.mk'. Stop. zc706 C/C++ Problem
I have checked these trying googling out. I haven't found any answer or probably, I have missed something. Can you please help me with this.
How can I successfully build the project?
I am coming with an update: you can use now the project version available with https://github.com/analogdevicesinc/no-OS/pull/500
It should work with ZC706
All the source files you need are specified in README found in the projects folder.
Looking forward to your feedback,
Based on your last reply, I removed the axi_adxcvr.c axi_adxcvr.h, delay.h and error.h files and the project was built successfully. I programmed ZC706 and when I launch on the debugger, I get this output on the putty as follows.
Available sampling rates: 1 - ADC 1000 MSPS; DAC 1000 MSPS 2 - ADC 500 MSPS; DAC 1000 MSPS 3 - ADC 500 MSPS; DAC 500 MSPS 4 - ADC 600 MSPS; DAC 600 MSPS 5 - ADC 1000 MSPS; DAC 2000 MSPS (2x interpolation)choose an option [default 1]:2 - ADC 500 MSPS; DAC 1000 MSPSQPLL ENABLECPLL ENABLETx link is enabled Measured Link Clock: 250 MHz Link status: DATA SYSREF captured: Yes Rx link is enabled Measured Link Clock: 125 MHz Link status: DATA SYSREF captured: Yes adc_setup adc core initialized (500 MHz).
I am unable to see the output sine waveform on the oscilloscope. How am I suppose to do that? Is there anything which I am missing?
Thank you & regards
I dont get the dac_setup dac core intialized displayed on the putty. I do not know the reason whereas the dac_core is already in the src folder.
Can I please know where can I get the information of the code in order to understand the entire project properly.
If you are using the old implementation from https://github.com/analogdevicesinc/no-OS/blob/069c628ede138d340e5e129746e4fc608953ff49/common_drivers/dac_core/dac_core.c#L52
please remove the 0x4000 offset.
Same for https://github.com/analogdevicesinc/no-OS/blob/069c628ede138d340e5e129746e4fc608953ff49/common_drivers/dac_core/dac_core.c#L71
This should work.
Information about the project can be found at: https://wiki.analog.com/resources/eval/user-guides/ad-fmcdaq2-ebz
Thank you so much for your reply. I was able to get the sine wave at the output. I was checking this link https://ez.analog.com/fpga/f/q-a/102247/square-wave-output-using-fmcdaq2/ where it is said that if I need to generate a square waveform then there are certain changes have to be done to the hardware. Some filters have to be disabled.
How can I know which filters and which to be disabled inorder to get the square wave at the outA of FMCDAQ2. Can you please help me with this. Can I please know a way to get the square waveform without making any changes to the hardware?
As stated in the link you sent, the board is designed to support sine waves, and it is populated with hardware filters that will alter the square wave.
All you can do is modify the sine_lut that is loaded to generate a square wave instead of a sine.
It means just by altering the sine_lut, I can generate the square wave without modifying anything?
I have already changed the sine_lut but I get the noise at the output.
Because as per this link https://ez.analog.com/fpga/f/q-a/102247/square-wave-output-using-fmcdaq2/ there are other files like axi_ad9144_channel.v, etc which needs to be modified.
Whereas, the project I have created does not include the axi_ad9144_channel.v file.
Could you please help me with this. I saw the earlier link where the axi_ad9144_channel.v is modified to get the square waveform. Whereas, the project src folder, doesn't have this file apart from the dac_core, adc_core,dac_buffer,ad9144,ad9670,etc files.
I am not understanding is it the hardware filters have to be removed? or, if I need to make changes in the code?
I have already changed the sine_lut table in dac_buffer.c with square values. Whereas, I haven't received any output on the oscilloscope. Could you please tell what else should I do to get the required square output of 20Mhz frequency?
Thank you & regards,
You have to do hardware changes to be able the see a square waveform at the output.