UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
14,785 Views
Registered: ‎09-29-2011

sdk 13.2 add custom ip driver

Jump to solution
Hello,
I designed a custom IP but i cannot load the driver in the sdk,in bsp i can choose only : none and generic.
Thank you.
0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
19,276 Views
Registered: ‎06-29-2011

Re: sdk 13.2 add custom ip driver

Jump to solution

This is a known issue.

 

To work around the problem, perform the following:

  1. Create a user repository, C:\\(if you do not already have one).
    For example: C:\edk_user_repository\MyProcessorIPLib\ 
    NOTE: The above directory structure is not in the XPS project nor SDK project. 
  2. Copy the "drivers" folder from your project to the above folder. So, you should have:
    C:\edk_user_repository\MyProcessorIPLib\drivers\\
  3. In SDK, add the global repository by selecting Tool > Software Repositories, and add C:\edk_user_repository. 

Now, if you go to Tools > Software Platform Settings, you should be able to select the driver.

 

Can you see if this helps, there are a few answer records about this problem.

 

Kind regards,

Gareth

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

Kind regards,
Gareth
15 Replies
Moderator
Moderator
19,277 Views
Registered: ‎06-29-2011

Re: sdk 13.2 add custom ip driver

Jump to solution

This is a known issue.

 

To work around the problem, perform the following:

  1. Create a user repository, C:\\(if you do not already have one).
    For example: C:\edk_user_repository\MyProcessorIPLib\ 
    NOTE: The above directory structure is not in the XPS project nor SDK project. 
  2. Copy the "drivers" folder from your project to the above folder. So, you should have:
    C:\edk_user_repository\MyProcessorIPLib\drivers\\
  3. In SDK, add the global repository by selecting Tool > Software Repositories, and add C:\edk_user_repository. 

Now, if you go to Tools > Software Platform Settings, you should be able to select the driver.

 

Can you see if this helps, there are a few answer records about this problem.

 

Kind regards,

Gareth

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

Kind regards,
Gareth
14,780 Views
Registered: ‎09-29-2011

Re: sdk 13.2 add custom ip driver

Jump to solution

It solved the problem!Thank you very much.

0 Kudos
Moderator
Moderator
14,753 Views
Registered: ‎06-29-2011

Re: sdk 13.2 add custom ip driver

Jump to solution

No problem, I am happy to help.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

Kind regards,
Gareth
0 Kudos
Explorer
Explorer
14,684 Views
Registered: ‎12-08-2007

Re: sdk 13.2 add custom ip driver

Jump to solution

hi

 

I am not sure if my problem relates to this probelm, but it sees very similar

 

I am also using DS13.2.

I created custom IP form "Hardware -> Create or Import Peripheral".

Made sure "Generate template driver files ..." ticked.

See the folder "drivers/src" with the relevant .c and .h files.

In SDK, created a standalone_bsp.

 

In the peripheral drivers ection of the system.mss I can see my IP with "generic" type driver.

I guess that is fine since I did not write my driver (it was generated, as described above, when I created the IP).

 

But the problem is I don't see the .h file under the

standalone_bsp/microblaze/include 

 

folder (project explorer) in SDK.

 

So if I now write an empty application, and put in my .c file an include for the .h of my IP

#include "led_ip.h"

 it cannot find the .h file

../TestApp/lab4.c:4:20: error: led_ip.h: No such file or directory

 

 

Any advise on why this "generic" driver does not cause the .h to be put in the folder

standalone_bsp/microblaze/include 

 

 

thanks

 

Dag

 

#include "led_ip.h"
0 Kudos
14,245 Views
Registered: ‎07-25-2012

Re: sdk 13.2 add custom ip driver

Jump to solution

No ,you should not using "generic"  type for it is not a generic one but a custom one.

Just do as   told ,and you will see a new type besides "none "and "generic ",it is your custom IP driver.

 
FOLLOWS:
  1. Create a user repository, C:\\(if you do not already have one).
    For example: C:\edk_user_repository\MyProcessorIPLib\
    NOTE: The above directory structure is not in the XPS project nor SDK project.
  2. Copy the "drivers" folder from your project to the above folder. So, you should have:
    C:\edk_user_repository\MyProcessorIPLib\drivers\\
  3. In SDK, add the global repository by selecting Tool > Software Repositories, and add C:\edk_user_repository.

4. Go to Tools > Software Platform Settings, you should be able to select the driver,type is not "none"nor "generic",but your IP type.

 

Thanks to  agian.

0 Kudos
14,241 Views
Registered: ‎07-25-2012

Re: sdk 13.2 add custom ip driver

Jump to solution

Hi guys,

 

any updates on 14.1 regarding this particular issue?

 

I am simply unable to find out how to include the driver of my custom IP.

 

Any help appreciated!

 

Best Regards,

David

0 Kudos
14,240 Views
Registered: ‎07-25-2012

Re: sdk 13.2 add custom ip driver

Jump to solution
Sorry, I mean that the above mentioned "Tools -> Software Platform Settings" seems not to exist in 14.1. Also, "Tools -> Software Repositories" is now "Xilinx Tools -> Repositories". An update on that very same procedure but for 14.1 would be great. Thanks in advance!
0 Kudos
14,213 Views
Registered: ‎07-25-2012

Re: sdk 13.2 add custom ip driver

Jump to solution

Yes,it has changed its name to "xilinx tools"which is the same to "tools",and you can find "Repositories" as the same function.Good luck!!

0 Kudos
Voyager
Voyager
14,197 Views
Registered: ‎05-09-2008

Re: sdk 13.2 add custom ip driver

Jump to solution

Hi,

 

> any updates on 14.1 regarding this particular issue ?

 

No updates on 14.1 and 14.2. The issue has not been resolved. I have reported several times with webcase. The last time I was told that in version 14.2 have been fixed, but it does not. I hope someday you solve.

 

secureasm

Participant rakesh05
Participant
5,412 Views
Registered: ‎11-01-2012

Re: sdk 13.2 add custom ip driver

Jump to solution

Hello All,

 

              I have created my own peripheral in xilinx xps 13.1 and exported to sdk and created a dts file. With that dts file i have generated elf file but i dont have drivers for my own peripheral in linux. so, how to develop a driver for my own peripheral in linux.Please give me a way to solve this problem.

 

Thanks in advance

 

 

0 Kudos
4,860 Views
Registered: ‎02-10-2014

Re: sdk 13.2 add custom ip driver

Jump to solution
Hi , To,Xilinx Employee I am not able to add custom IP driver..I mean I am not getting the driver specfic in drop down menu list..I followed the solution mentioned over here..so , may i know where exactly I am going wrong... (sdk 14.4)
Xilinx Employee
Xilinx Employee
4,857 Views
Registered: ‎08-02-2007

Re: sdk 13.2 add custom ip driver

Jump to solution

Hi Sweta

 

Can you create a new forum post for this topic? For analysis, do attach your design.

 

--Hem

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
4,853 Views
Registered: ‎02-10-2014

Re: sdk 13.2 add custom ip driver

Jump to solution

ok done...htsvn

 

0 Kudos
Explorer
Explorer
3,477 Views
Registered: ‎02-05-2015

Re: sdk 13.2 add custom ip driver

Jump to solution
I'm having this problem as well. But mine is worst since I can add one f the modules but not the other -_-

Tried everything so far, please help me: http://forums.xilinx.com/t5/Embedded-Development-Tools/Can-t-find-one-of-two-drivers-even-though-it-is-in-hdf/m-p/646131/highlight/false#M37472
0 Kudos
Observer yingcai
Observer
3,072 Views
Registered: ‎02-20-2016

Re: sdk 13.2 add custom ip driver

Jump to solution
Thanks!
0 Kudos