cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pedro_uno
Advisor
Advisor
8,368 Views
Registered: ‎02-12-2013

HDF Mangagement for Stand-Alone SDK Programming

Jump to solution

Hello Guys,

 

I am doing a little stand-alone programming on a MicroBlaze processor.

 

I have written some C code that interacts with some AXI peripherals. The original SDK project was exported from Vivado and has the addresses and bare metal drivers in the bsp. That is very convenient.

 

Now I have added another AXI peripheral to the design and I would like the bsp to know about it. My fpga compile script generates a new .hdf file with the additional peripheral.

 

How should I bring the new .hdf file into my old SDK project?

 

I have tried just copying the new one over the old one but SDK will not compile after that.  I have searched around for some kind of import feature but not found that either.  I have searched for Xilinx documentaion that might advise on how to handle hardware modifications in SDK but not found anything on point.

 

Any advice is greatly appreciated.

 

  Pete

----------------------------------------
DSP in hardware and software
-----------------------------------------
1 Solution

Accepted Solutions
sampatd
Scholar
Scholar
15,689 Views
Registered: ‎09-05-2011

@pedro_uno

 

SDK is capable of monitoring HW changes and re-generate the BSP

 

For more details, please check the link below:

http://www.xilinx.com/support/documentation/sw_manuals/xilinx2015_4/SDK_Doc/SDK_tasks/sdk_t_auto_sync.html

View solution in original post

0 Kudos
4 Replies
pedro_uno
Advisor
Advisor
8,312 Views
Registered: ‎02-12-2013

I think I remember running SDK in a mode where, at startup, it would see changes to the HDF and ask me if I wanted to incorporate them.

----------------------------------------
DSP in hardware and software
-----------------------------------------
0 Kudos
eurecam2005
Visitor
Visitor
8,275 Views
Registered: ‎02-04-2016

In your workspace, you should have a directory which contains an hdf file (for example "your_design_hw_plateform_0")

You could manually replace the hdf file ("your_design.hdf") by a new one (exported from vivado).

 

Then try to regenerate BSPs,  hardware modifications (new ips, parameter or address changes, and so) should be visible in the updated BSPs. If not, a workaround is to create new BSPs.

 

If you created new BSPs, associate you projects with the new BSPs then you could delete the old BSPs.

0 Kudos
sampatd
Scholar
Scholar
15,690 Views
Registered: ‎09-05-2011

@pedro_uno

 

SDK is capable of monitoring HW changes and re-generate the BSP

 

For more details, please check the link below:

http://www.xilinx.com/support/documentation/sw_manuals/xilinx2015_4/SDK_Doc/SDK_tasks/sdk_t_auto_sync.html

View solution in original post

0 Kudos
pedro_uno
Advisor
Advisor
8,251 Views
Registered: ‎02-12-2013
Thanks, I never would have found it without that tip.
----------------------------------------
DSP in hardware and software
-----------------------------------------
0 Kudos