RaulRB

Members
  • Content count

    30
  • Joined

  • Last visited

  • Days Won

    1

RaulRB last won the day on May 18

RaulRB had the most liked content!

About RaulRB

  • Rank
    Frequent Visitor

Contact Methods

  • Website URL
    https://www.linkedin.com/in/ra%C3%BAl-ruiz-bueno-84ab01115/

Profile Information

  • Gender
    Male
  • Location
    Spain

Recent Profile Visitors

472 profile views
  1. SDSoC Linux custom application Zybo

    Hello everyone! I am working on a project witch need a linux image to run for SDSoC. The base project that i am using is this, but I upgrade it to the 2016.2 version. I supposed that i need to upgrade the linux files too, to the 2016.2 version. In fact i did it, I use Petalinux to finally get the files in the irst image, but I don't know what is the next step, I don't know witch files have to be copied (and rename) to the boot directory in the main project. Regards, RaulRB
  2. OpenCV + Zybo + SDSoC + linux

    Thanks for the response Jon, In fact I had been revised this link's few days ago. The link from the Xilinx forum has examples for the zc702. I downloaded the example and compile in SDSoC, but I don't have this board and can't try it. The example uses the " ifdef opencv " sections for the opencv code. But I don't know if it works I wrote the rest of the history in my previous post. Regards, Raúl
  3. OpenCV + Zybo + SDSoC + linux

    Hi friends, I am trying to make an app with opencv in SDSoC but it isn`t working. The code that i am using is this ( simple code to do a simple hello world): #ifdef USE_OPENCV #include <opencv2/opencv.hpp> #endif #include <iostream> using namespace std; #ifdef USE_OPENCV using namespace cv; #endif int main() { #ifdef USE_OPENCV Mat im,gris; im = imread("lena.jpg"); cvtColor(im, gris, COLOR_RGB2GRAY); imwrite("Gris.jpg",gris); waitKey(0); #endif return 0; } If i don't use de ifdefs it has few problems like this: G:/ProyetoFinalIAH/PlataformaOpenCV/src/main.cpp:17: undefined reference to `cv::imread(std::string const&, int)' G:/ProyetoFinalIAH/PlataformaOpenCV/src/main.cpp:18: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' G:/ProyetoFinalIAH/PlataformaOpenCV/src/main.cpp:18: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' G:/ProyetoFinalIAH/PlataformaOpenCV/src/main.cpp:18: undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' G:/ProyetoFinalIAH/PlataformaOpenCV/src/main.cpp:19: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' G:/ProyetoFinalIAH/PlataformaOpenCV/src/main.cpp:19: undefined reference to `cv::imwrite(std::string const&, cv::_InputArray const&, std::vector<int, std::allocator<int> > const&)' G:/ProyetoFinalIAH/PlataformaOpenCV/src/main.cpp:20: undefined reference to `cv::waitKey(int)' G:/ProyetoFinalIAH/PlataformaOpenCV/SDDebug/src/main.o: In function `cv::Mat::~Mat()': C:/Xilinx/SDSoC/2016.2/Vivado_HLS/2016.2/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' G:/ProyetoFinalIAH/PlataformaOpenCV/SDDebug/src/main.o: In function `cv::Mat::operator=(cv::Mat const&)': C:/Xilinx/SDSoC/2016.2/Vivado_HLS/2016.2/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)' G:/ProyetoFinalIAH/PlataformaOpenCV/SDDebug/src/main.o: In function `cv::Mat::release()': C:/Xilinx/SDSoC/2016.2/Vivado_HLS/2016.2/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' collect2.exe: error: ld returned 1 exit status ERROR: [SDSoC 0-0] Exiting sds++ : Error when calling 'arm-linux-gnueabihf-g++ G:/ProyetoFinalIAH/PlataformaOpenCV/SDDebug/src/main.o G:/ProyetoFinalIAH/PlataformaOpenCV/SDDebug/_sds/swstubs/devreg.o G:/ProyetoFinalIAH/PlataformaOpenCV/SDDebug/_sds/swstubs/portinfo.o -L C:/Xilinx/SDSoC/2016.2/aarch32-linux/lib -LG:/ProyetoFinalIAH/PlataformaOpenCV/SDDebug/_sds/swstubs -Wl,--start-group -Wl,--end-group -Wl,--start-group -lpthread -lsds_lib -lxlnk_stub -Wl,--end-group -o G:/ProyetoFinalIAH/PlataformaOpenCV/SDDebug/_sds/swstubs/PlataformaOpenCV.elf' sds++ log file saved as G:/ProyetoFinalIAH/PlataformaOpenCV/SDDebug/_sds/reports/sds.log ERROR: [SDSoC 0-0] Build failed Can you help me please? Thanks, Raúl
  4. Zybo project SDSoC upgrade problem

    Hi cole.jepson, I did this for 2016.2 version, not .4, If you need I can send you the 2016.2 version. For request to your question: " I saw that there is a Zybo platform file that can be selected when starting a new SDSoC application but will this give me all the necessary hardware files/setup? " you should read this manual https://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_3/ug1146-sdsoc-platform-development.pdf and watch this Video: https://www.xilinx.com/video/soc/sdsoc-custom-platform-generation.html That material have the responses to your questions. Regards
  5. FMC-HDMI + Zedboard SDSoC Platform

    Hi mattdibi, Sorry I have never used this project... Maybe the solution is easy, buy i don't know it If this help you for your project or for researching for your project, i have done this steps: I start with this project https://github.com/Digilent/SDSoC-platforms/tree/master/2015.4/zybo_hdmi_in But the flow for this design: 1- Made the hardware platform in Vivado that you need for your project (in this step you can put the ip cores: VGA, HDMI and dma's) 2- export the hardware files and ports (you have this explanation in SDSoC platform manual) 3- then in SDSoC make a new project using the exported platform in the step 2 4- Make all the code Regards
  6. FMC-HDMI + Zedboard SDSoC Platform

    Hello mattdibi, I'm working in my degree's thesis about image processing application with the Zybo with SDSoC too. I don't know if you need a camera yes or yes. But if you don't need this, you can catch the video from the pc/laptop on the HDMI and you can put the image from the FPGA to the screen with the VGA port. PC/laptop---using HDMI ---> [ FPGAHDMIport--->processing---> FPGAVGAport] ----> screen Regards
  7. Time measure SDSoC

    Hello. I can't catch times measures by standards procedures ( "time.h" in C per example) How can I measure the time that one process uses with C in SDSoC? Thanks
  8. Zybo project SDSoC upgrade problem

    I solve this problem. The problem was that when I exported the hardware Vivado put the .hdf file in /zybo_hdmi_in/vivado/zybo_hdmi_in.sdk/ but SDSoC got the file from /zybo_hdmi_in/hardware/prebuilt/export/ where was the old hardware file. Regards, RaulRB
  9. Zybo project SDSoC upgrade problem

    Hello everyone, I have a problem with this project: SDSoC-HDMI_IN I need to upgrade it, to the 2016.2 version, but i have a few problems... When I generate it at Vivado 2016.2, i have to upgrade all the ip cores. This step is going well. I regenerate the wrapper, all the synthesis and implementation and I export the new hardware. I open SDSoC and make a new project, choose this platform and go to build the project. In this step I get the problem: If I only upgrade the Ip cores the system works and built in SDSoC, but if I export a new hardware not work. I need to know how fix this problem in case i have to change something on the design. Thanks
  10. Thank you for your fast response Dan , i will try it and post the result. Regards
  11. Yes, but one arraycopy.s is for once sample (arraycopy) and the other arraycopy.s is for the other sample (arraycopy_sa) . Raul
  12. Hello: I´m triying to start with this project: https://github.com/Digilent/SDSoC-platforms/tree/master/2015.4/zybo_hdmi_ I spend few days trying that this proyect works and this are the steps that I have done: 1- put paths for compilation 1.1- In SDSoC: project-> properties-> C/C++ General -> paths and Symbols, Add the include directories arm-xilinx-eabi/include and arm-xilinx-gnueabi/include (both directories are in the filesystem on github proyect 2- Do the steps in the readme: 2.1- add the DemoSobelFrameHw function as a Hardware function. Set the Clock frequency for the function to 116.67MHz ( I have a problem with this, i can`t put in this frecuency and I put al 125MHz because the options that the SDSoC show me are 25 100 125 50 MHz 2.2- and the Data Motion Network clock frequency to 116.67MHz, in this case I put 125MHz for the same reason. Finally I put the hammer ( to compile ) at SDRelease and buid the project, but I take an error: C:\Users\Raul\Dropbox\TFG\Xilinx\Proyecto3\SDRelease>C:\Xilinx\SDSoC\2015.4\llvm-clang\win64\llvm\bin\llvm-link.exe -o C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/sds_all.o C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./vivado/zybo_hdmi_in.ipdefs/repo_0/digilent/ip/dvi2rgb_v1_6/docs/dat2txt.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./src/uio_axi_gpio.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/video_capture/video_capture.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/timer_ps/timer_ps.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/intc/intc.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/dynclk/dynclk.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/display_ctrl/display_ctrl.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/sobel_filter.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/video_demo.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/arraycopy_sa/arraycopy.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/arraycopy/arraycopy.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./hardware/prebuilt/swcf/devreg.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./hardware/prebuilt/swcf/portinfo.s ERROR: [SDSoC 0-0] Error detected : C:\Xilinx\SDSoC\2015.4\llvm-clang\win64\llvm\bin\llvm-link.exe: link error in 'C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/video_demo.s': Linking globals named 'main': symbol multiply defined! C:\Users\Raul\Dropbox\TFG\Xilinx\Proyecto3\SDRelease>exit /b 1 ERROR: [SDSoC 0-0] Exiting sds++ : Error when calling 'llvm-link -o C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/sds_all.o C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./vivado/zybo_hdmi_in.ipdefs/repo_0/digilent/ip/dvi2rgb_v1_6/docs/dat2txt.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./src/uio_axi_gpio.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/video_capture/video_capture.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/timer_ps/timer_ps.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/intc/intc.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/dynclk/dynclk.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/display_ctrl/display_ctrl.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/sobel_filter.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/videodemo_sobel/video_demo.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/arraycopy_sa/arraycopy.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./samples/arraycopy/arraycopy.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./hardware/prebuilt/swcf/devreg.s C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/.llvm/./hardware/prebuilt/swcf/portinfo.s' sds++ log file saved as C:/Users/Raul/Dropbox/TFG/Xilinx/Proyecto3/SDRelease/_sds/reports/sds.log My SDSoC version is 2015.4 and my OS is W10 64bits. I hope that you can help me Best regards! Raul.
  13. Hello from Spain

    Hello my name is Raúl, I am from Spain. I am currently finishing my Computer Engineering degree at Granada´s University. Actually I am doing my final proyect based in a zybo and video plataform, for this reason I come here. I hope that i will learn a lot from you! Best Regards!