cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
15,406 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
Highlighted
Moderator
Moderator
19,897 Views
Registered: ‎06-29-2011

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

View solution in original post

15 Replies
Highlighted
Moderator
Moderator
19,898 Views
Registered: ‎06-29-2011

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

View solution in original post

Highlighted
15,401 Views
Registered: ‎09-29-2011

It solved the problem!Thank you very much.

0 Kudos
Highlighted
Moderator
Moderator
15,374 Views
Registered: ‎06-29-2011

No problem, I am happy to help.

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

Kind regards,
Gareth
0 Kudos
Highlighted
Explorer
Explorer
15,305 Views
Registered: ‎12-08-2007

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
Highlighted
14,866 Views
Registered: ‎07-25-2012

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
Highlighted
14,862 Views
Registered: ‎07-25-2012

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
Highlighted
14,861 Views
Registered: ‎07-25-2012
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
Highlighted
14,834 Views
Registered: ‎07-25-2012

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
Highlighted
Voyager
Voyager
14,818 Views
Registered: ‎05-09-2008

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

Highlighted
Participant
Participant
6,033 Views
Registered: ‎11-01-2012

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
Highlighted
5,481 Views
Registered: ‎02-10-2014
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)
Highlighted
Xilinx Employee
Xilinx Employee
5,478 Views
Registered: ‎08-02-2007

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
Highlighted
5,474 Views
Registered: ‎02-10-2014

ok done...htsvn

 

0 Kudos
Highlighted
Explorer
Explorer
4,098 Views
Registered: ‎02-05-2015
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
Highlighted
Observer
Observer
3,693 Views
Registered: ‎02-20-2016
Thanks!
0 Kudos