cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
2,801 Views
Registered: ‎05-23-2018

SDK not importing correct

I have a working project, and simply add a new IP.  Vivado creates bitstream, but when i export the hardware to the SDK, the corresponding include file is missung, and the address-constants in the xparameters.h are missing.

Instead i got some errors:

17:48:30 INFO    : The hardware specification for project 'design_1_wrapper_hw_platform_0' is different from C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/design_1_wrapper.hdf.
17:48:30 INFO    : Copied contents of C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/design_1_wrapper.hdf into \design_1_wrapper_hw_platform_0\system.hdf.
17:48:52 INFO    : Synchronizing projects in the workspace with the hardware platform specification changes.
17:48:53 ERROR    : (XSDB Server)E
17:48:53 ERROR    : (XSDB Server)RROR: [Hsi 55-1594] Core wave_gen_2 of version 1.0 not found in repositories
17:48:53 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.
17:48:53 ERROR    : Failed to call sync_sw_with_hw_change
Reason: ERROR: [Common 17-39] 'hsi::open_sw_design' failed due to earlier errors.
17:48:55 ERROR    : Error updating BSP project MSS files.

 

What can i do ?

0 Kudos
9 Replies
Highlighted
Moderator
Moderator
2,771 Views
Registered: ‎09-12-2007

Looks like you are using a custom IP. Did you create this in vivado?

If so,then this should have created a driver too
0 Kudos
Highlighted
Adventurer
Adventurer
2,765 Views
Registered: ‎05-23-2018

Yes, i use a number of custom IPs, created in Vivado. The one which SDK reports (wave_gen) wasn't changed the last 3 weeks. But from another one ( the newly created ) the header file is missing, even sdk says it is there. But SDK doesn't import it, or Vivado doesn't export it.

pulse_control.jpg
0 Kudos
Highlighted
Adventurer
Adventurer
2,721 Views
Registered: ‎05-23-2018

I don't know what a problem this software has, but it is a real big problem.

My project works perfect, and now i switched of unneeded things (  pci, display port .... )

and here you can see the result :

 

 

 

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Dat
09:45:19 ERROR    : (XSDB Server)en/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 286 - No IP instance named psu_dp present in hardware design
ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 292 - No IP instance named psu_dpdma present in hardware design
ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 484 - No IP instance named psu_pcie present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sd
09:45:19 ERROR    : (XSDB Server)k/prj_lidar_bsp/system.mss line 490 - N
09:45:19 ERROR    : (XSDB Server)o IP instance named psu_pcie_at
09:45:19 ERROR    : (XSDB Server)trib_0 present in hardware desi
09:45:19 ERROR    : (XSDB Server)gn

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 496 - No IP instan
09:45:19 ERROR    : (XSDB Server)ce named psu_pcie_dma present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 502 - No IP instance named psu_pcie_high1 present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 508 - No IP instance named psu_pcie_high2 present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 514 - No IP instance named psu_pcie_low present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

09:45:19 ERROR    :  [Common 17-39] 'hsi::open_sw_design' failed due to earlier errors.
09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:
09:45:19 ERROR    : (XSDB Server)/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 286 - No IP instance named psu_dp present in
09:45:19 ERROR    : (XSDB Server)hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 292 - No IP instance named psu_dpdma present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 484 - No IP instance named psu_pcie present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 490 - No IP instance named psu_pcie_attrib_0 present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 496 - No IP instance named psu_pcie_dma present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 502 - No IP instance named psu_pcie_high1 present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 508 - No IP instance named psu_pcie_high2 present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 514 - No IP instance named psu_pcie_low present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

09:45:19 INFO    : Unable to read in MSS file C:\Daten\xilinx\project_lidar1\project_lidar1.sdk\prj_lidar_bsp\system.mss : null
09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 286 - No IP instance named psu_dp present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 292 - No IP instance named psu_dpdma present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/pro
09:45:19 ERROR    : (XSDB Server)ject_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 484 - No IP instance named psu_pcie present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 490 - No IP instance named psu_pcie_attrib_0 present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 496 - No IP instance named psu_pcie_dma present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/p
09:45:19 ERROR    : (XSDB Server)rj_lidar_bsp/system.mss line 502 - No IP instance named psu_pcie_high1 present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 508 - No IP instance named psu_pcie_high2 present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 514 - No IP instance named psu_pcie_low present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/proj
09:45:19 ERROR    : (XSDB Server)ect_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 286 - No IP instance named psu_dp present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 292 - No IP instance named psu_dpdma present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 484 - No IP instance named psu_pcie present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 490 - No IP instance named psu_pcie_attrib_0 present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 496 - No IP instance named psu_pcie_dma present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 502 - No IP instance named psu_pcie_high1 present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 508 - No IP instance named psu_pcie_high2 present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 514 - No IP instance named psu_pcie_low present in hardware design

09:45:19 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

09:45:20 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 286 - No IP instance named psu_dp present in hardware design

09:45:20 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 292 - No IP instance named psu_dpdma present in hardware design
ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 484 - No IP instance named psu_pcie present in hardware design
ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 490 - No IP instance named psu_pcie_attrib_0 present in hardware design
ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 496 - No IP instance named psu_pcie_dma present in hardware design
ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 502 - No IP instance named psu_pcie_high1 present in hardware design

09:45:20 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 508 - No IP instance named psu_pcie_high2 present in hardware design

09:45:20 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 514 - No IP instance named psu_pcie_low present in hardware design

09:45:20 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

09:45:20 ERROR    :  [Common 17-39] 'hsi::open_sw_design' failed due to earlier errors.
09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 286 - No IP instance named psu_dp present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 292 - No IP instance named psu_dpdma present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 484 - No IP instance named psu_pcie present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 490 - No IP instance named psu_pcie_attrib_0 present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 496 - No IP instance named psu_pcie_dma present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 502 - No IP instance named psu_pcie_high1 present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 508 - No IP instance named psu_pcie_high2 present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 514 - No IP instance named psu_pcie_low present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

09:45:21 INFO    : Unable to read in MSS file C:\Daten\xilinx\project_lidar1\project_lidar1.sdk\prj_lidar_bsp\system.mss : null
09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 286 - No IP instance named psu_dp present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 292 - No IP instance named psu_dpdma present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 484 - No IP instance named psu_pcie present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1403] C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss line 490 - No IP instance named psu_pcie_attrib_0 present in hardware design

09:45:21 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

09:45:21 ERROR    : Failed to closesw "C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss"
Reason: Cannot close sw design 'C:/Daten/xilinx/project_lidar1/project_lidar1.sdk/prj_lidar_bsp/system.mss'.
Design is not opened in the current session.

failed.jpg
0 Kudos
Highlighted
Adventurer
Adventurer
2,717 Views
Registered: ‎05-23-2018

OK, Vivado or SDK completely destroys the C-Project. I was not able to regenerate it. I have to use a backup.

Hard to believe, but is it not possible to remove some unneeded things without destroying everything ?

0 Kudos
Highlighted
Adventurer
Adventurer
2,554 Views
Registered: ‎05-23-2018

After removing the IP (wave_gen_2) and adding it later, the same problem stays. Where is this repository in which Vivado is searching ? And what can i do to remove this error ? It is absolutely frustrating !

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
2,523 Views
Registered: ‎02-01-2008

Might be a few things going on here. The .mss is basically the source file for the BSP. Your errors look like the .mss has software drivers added but the hardware that uses the software driver is not in the design. You can regenerate the mss by right clicking on your bsp and selecting 'regenerate bsp' (or something like that). This will cause everything in your bsp to be deleted and regenerated based on the hardware project that was used for the bsp.

 

One thing to watch out for is that there are cases were sdk will generate a new hardware platform project if the exported hdf looks like the design changed some what. I haven't put my finger on what changes cause the new hardware platform project. So, when you re-export from vivado to sdk, make sure you still only have one hardware project. If a new one gets created, delete it, right click on your only hardware project and select 'change hardware platform specification', and then browse to your exported hdf probably in <vivado project>/design_1.sdk. Now the hardware project is up to date. So might be good to regenerate the bsp and then clean the app (but app should automatically rebuild when bsp is regenerated).

 

You mention repository. I'm not sure what message had an error regarding repository. Both vivado and sdk have their own repositories, and you can add user repositories which will be searched first before defaulting to the vivado and sdk installation directories. Also there use to be another repository that could be defined by setting an environment variable but I'm not sure if this method is still supported.

 

vivado's repository (for IP cores) is at: <vivado install>/data/ip/xilinx/

sdk repo is at: <sdk install>/data/embeddedsw. This repo includes drivers, libraries, services, app templates, etc

 

BTW: beware when changing memory sizes in vivado and exporting to sdk. The application linkerscript will not be automatically updated to match the new memory size.

 

0 Kudos
Highlighted
Adventurer
Adventurer
2,512 Views
Registered: ‎05-23-2018

Thanks for your answer,

your first and second paragraph are clear, and i have tried this but this is not a solution, because everytime i change something in the Vivado ( even changing one line in an vdhl file is enough ) this message comes up when starting sdk:

07:37:42 INFO    : Synchronizing projects in the workspace with the hardware platform specification changes.
07:37:43 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core wave_gen_2 of version 1.0 not found in repositories
07:37:43 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.
07:37:43 ERROR    : Failed to call sync_sw_with_hw_change
Reason: ERROR: [Common 17-39] 'hsi::open_sw_design' failed due to earlier errors.
07:37:44 ERROR    : Error updating BSP project MSS files.

 

And this was my question : "wave_gen" was correctly compiled by Vivado, "wave_gen" works in the sdk, BUT "wave_gen" prevents a correct import to sdk, so new IP's cannot be imported correct. So, where is Vivado searching ?

The files in the "hw_platform\drivers..." are existing. What is SDK missing ?

 

0 Kudos
Highlighted
Adventurer
Adventurer
2,506 Views
Registered: ‎05-23-2018

This software is really funny. I compiled in vivado, made an export, and now this message appears:

09:15:00 ERROR    : Interrupted exception while waiting for the completion of command '::hsi::utils::openhw C:/Users/bader/AppData/Local/Temp/system3620558861910279460.hdf'
09:15:00 ERROR    : Failed to openhw "C:/Users/bader/AppData/Local/Temp/system3620558861910279460.hdf"
java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:502)
    at com.xilinx.sdk.xsdb.XsdbCommandWaitHandler.waitForCompletion(XsdbCommandWaitHandler.java:51)
    at com.xilinx.sdk.xsdb.XSDBCommandManager.issueAndWait(XSDBCommandManager.java:401)
    at com.xilinx.sdk.xsdb.XsdbCommandUtils.executeAndRespond(XsdbCommandUtils.java:307)
    at com.xilinx.sdk.hw.internal.HwPlatform.openHw(HwPlatform.java:367)
    at com.xilinx.sdk.hw.internal.HwPlatform.<init>(HwPlatform.java:354)
    at com.xilinx.sdk.hw.internal.HwSpecFactory.createHwSpec(HwSpecFactory.java:55)
    at com.xilinx.sdk.hw.sync.HwSpecChangeUtil.performChange(HwSpecChangeUtil.java:124)
09:15:00 INFO    : Synchronizing projects in the workspace with the hardware platform specification changes.

 

What does this mean ?

 

0 Kudos
Highlighted
Adventurer
Adventurer
2,198 Views
Registered: ‎05-23-2018

Pushing up, to keep it in sight !

Problem is still existing, import of new modules is NOT possible, because SDK always stops importing with suspicious error messages. Everything is in the folder. I cannot find a reason why XSDB cannot find it ......, and where is this repository ??

[...]

09:01:46 INFO    : Synchronizing projects in the workspace with the hardware platform specification changes.
09:01:47 ERROR    : (XSDB Server)E
09:01:47 ERROR    : (XSDB Server)RROR: [Hsi 55-1594] Core bram_mem2 of version 1.0 not found in repositories
ERROR: [Hsi 55-1594] Core bram_mem2 of version 1.0 not found in repositories
ERROR: [Hsi 55-1594] Core bram_mem2 of version 1.0 not found in repositories
ERROR: [Hsi 55-1594] Core bram_mem2 of version 1.0 not found in repositories
09:01:47 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core pulse_control of version 1.0 not found in repositories
09:01:47 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.
09:01:47 ERROR    : Failed to call sync_sw_with_hw_change
Reason: ERROR: [Common 17-39] 'hsi::open_sw_design' failed due to earlier errors.
09:01:47 ERROR    : Error updating BSP project MSS files.
09:01:47 INFO    : Clearing existing target manager status.

[....]

0 Kudos