pavel-demin / red-pitaya-notes

Notes on the Red Pitaya Open Source Instrument
http://pavel-demin.github.io/red-pitaya-notes/
MIT License
337 stars 209 forks source link

error while making adc_test project #648

Closed parveennisha closed 6 years ago

parveennisha commented 6 years ago

Hi, Pavel I am trying to run adc_test project from your red-pitaya-notes. I am following this https://github.com/pavel-demin/red-pitaya-notes/tree/master/projects/bare_metal_test after running

make NAME=adc_test all

i am getting the following error.

make[1]: Leaving directory `/home/optics-19/red-pitaya-notes/tmp/linux-xlnx-xilinx-v2016.4'
make: *** [uImage] Error 2

please help how to run adc_test project.

Thanks for the help.

pavel-demin commented 6 years ago

Hi,

I'm not sure if the bare_metal_test instructions are usable with the adc_test project.

The FPGA configuration bitstream can be built with

make NAME=adc_test bit

Then adc_test.bit can be used with any pre-built SD card image.

parveennisha commented 6 years ago

i tried using above instuction i am getting this error

make NAME=adc_test.bit
make: *** No rule to make target `tmp/adc_test.bit.fsbl/executable.elf', needed by `boot.bin'.  Stop.
pavel-demin commented 6 years ago

The source of the problem is the dot that you've added between adc_test and bit.

parveennisha commented 6 years ago

I tried this first and got this

make NAME=adc_test bit make: Nothing to be done for `bit'

-- Parveen Nisha Project Associate Electrical Departement IIT Madras - 600036

pavel-demin commented 6 years ago

make: Nothing to be done for `bit'

It means that everything is OK and the .bit file (tmp/adc_test.bit) is already built.

parveennisha commented 6 years ago

Thank you for the help it is working.