• Content count

  • Joined

  • Last visited

  • Days Won


RaulRB last won the day on May 18

RaulRB had the most liked content!

About RaulRB

  • Rank

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location

Recent Profile Visitors

225 profile views
  1. @D@n Maybe in a future because I don't have 2K gadgets to take images. But it works with 1080p image well, here you can see an example (the image has a "sepia filter", this is the reason for the color ) See you!
  2. Hello everyone! I have been working on a jpeg encoder for Xilinx boards. Here you have the result. If you are seeking for one minimal JPEG encoder without opencv that you can run in Standalone embedded systems you have to look this: JPEG encoder Enjoy! See you soon!
  3. Thanks, it works. In SDSoC you only have to add #include "xilffs.h" and use the API. The example: https://github.com/Xilinx/embeddedsw/blob/master/lib/sw_services/xilffs/examples/xilffs_polled_example.c See you soon ! Raúl
  4. Hello everyone! Someone knows how read and write files in the SD card from Standalone application in SDSoC? I think that I have to set up the option in the BSP but i am not secure, and i don't know how do this. Thanks for your time, Raúl.
  5. Finally I could solve this. The information for Petalinux + SDSoC is very little and there is disperse. It takes me a lot of time for solving this, because i had a lot of stupid problems. I made one guide where I explain how to install, set up and solve the problems BUT FOR V2016.2 VERSION ( vivado suite 2016.2 and petalinux 2016.2) Edit: I upload the guide in two languages, spanish and english Petalinux guide Regards and good lucky.
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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