Page 1 of 1

SDK Question

Posted: Tue Nov 25, 2014 5:29 pm
by john k2ox
After creating the PL in Vivado and exporting it to SDK and filling in all the project details it's apparent that I must be doing something wrong. Following the wiki and other processes on the internet for PL/PS development they all start and end at the same place. Setting up the IDE from scratch for your first project.

What I need help with is a way to set up SDK for developing RP applications. So far if I try to do a series of 'Lab Examples' I have to setup the 'Run' , 'Debug' configurations and tool chain stuff for each example. Is there a way to recall the configuration setups?

There has to be a better way. Setting up the SDK each time is taking more time than creating source code.

TIA,
john

Re: SDK Question

Posted: Tue Nov 25, 2014 9:16 pm
by Nils Roos
Hi John,
I don't know what your current process is, but setting up the SDK for RedPitaya application development can be fairly simple:

1. set up a hardware platform specification
Start a new hardware platform specification project
2. give it a name and point to the hardware definition from Vivado
Point SDK to the exported hardware definition
Now you have a new hardware platform, for which you can build application projects.
3. For a new program, select "New" -> "Application project" and set the hardware- and OS-platform
Create a new Application project with the hardware platform and OS platform
Hardware should be your new platform from step 2 and OS should be linux.

4. Compiler settings and OS include paths are already set correctly, put in sourcecode and hit "Build"
SDK is ready to go

Re: SDK Question

Posted: Wed Nov 26, 2014 4:46 pm
by john k2ox
Wow! Those are new buttons to me.

I've finally got my head around 'workspaces'. It contains the 'setup' info and folders for different projects. I was creating separate workspaces for each project.

There is a way to make my 'Visual Studio' way of thinking work. To have common debug and run configurations work across workspaces. In the 'run and debug configuration' windows choose the common tab and set the 'save as' radio button to 'shared file'. Then enter a directory.

Thanks again for you help, Nils.

Regards,
john

Re: SDK Question

Posted: Fri Feb 06, 2015 12:44 pm
by kavilshah
hey....
i could not find FPGA/release1/fpga/vivado/red_pitaya.sdk/SDK/SDK_Export/hw/......file...

till "SDK_Export " i could reach....but further ...????

where it is available???

Re: SDK Question

Posted: Fri Feb 06, 2015 5:53 pm
by Nils Roos
Hi,
The hardware definition is generated by Vivado. Sorry, I forgot about that part.

To build it, do the following:
  1. start Vivado
  2. open the red_pitaya project
  3. open the block design system.bd (IP Integrator->Open Block Design)
  4. generate the block design (IP Integrator->Generate Block Design)
  5. export the hardware definition (File->Export->Export Hardware for SDK...)
Or you use this archive (generated from a pristine checkout):
hw.zip

Re: SDK Question

Posted: Sun Feb 08, 2015 12:22 pm
by kavilshah
okk

so i need to install vivado also??i have installed xilinx SDK 2013.3.. as u suggested me...!!

Re: SDK Question

Posted: Fri Mar 20, 2015 2:38 pm
by Arnold
hi,

can you put Nils Roos post into the wiki? I guess many people will use Xilinx SDK?!