07-12-2016 09:20 PM
I am trying to create a simple, bare-metal, Microblaze MCS project. I have generated the hardware and exported my design to SDK, but I am unable to create an application project. When I try to create an application project, the only choice under 'OS Platform' is Linux. My understanding is that I should see 'Standalone' as an option, and that this is the correct option for a bare-metal project:
If I click 'next', I get a choice for 'Linux Empty Application' or 'Linux Hello World'. Trying to create a Linux Empty Application results in the following error messages:
00:10:50 ERROR : (XSDB Server)ERROR: [Hsi 55-1414] App linux_empty_app is not Found in repositories 00:10:50 ERROR : (XSDB Server)ERROR: [Hsi 55-1508] No Sw Design is loaded, Please create/open a design 00:10:50 ERROR : Failed to call GENERATE_APP Reason: ERROR: [Common 17-39] 'hsi::generate_app' failed due to earlier errors. 00:10:50 ERROR : java.lang.RuntimeException: Failed to call GENERATE_APP Reason: ERROR: [Common 17-39] 'hsi::generate_app' failed due to earlier errors. at com.xilinx.sdk.xsdb.XsdbCommandUtils.handleResult(
XsdbCommandUtils.java:301) at com.xilinx.sdk.xsdb.XsdbCommandUtils.executeAndRes pond(XsdbCommandUtils.java:239) at com.xilinx.sdk.appwiz.internal.AppGen.generate(App Gen.java:555) at com.xilinx.sdk.appwiz.core.LinuxProjectHandler.cre ateNewLinuxApp(LinuxProjectHandler.java:106) at com.xilinx.sdk.appwiz.core.LinuxProjectHandler.cre ateCoreApp(LinuxProjectHandler.java:62) at com.xilinx.sdk.appwiz.core.AppCreationHandler.crea teApplication(AppCreationHandler.java:115) at com.xilinx.sdk.appwiz.core.AppCreationHandler$1.ru n(AppCreationHandler.java:59)
What should I do to create a bare-metal Microblaze MCS project? What do I need to do to get 'Standalone' as an option for 'OS Platform'?
07-12-2016 11:53 PM
07-13-2016 01:13 PM
once you have export the design to SDK, you will be able to find HDF/XML file. can you please share that?
07-13-2016 04:56 PM
athandr: I am unable to create a BSP. The 'Board Support Package OS' window is blank. and 'Finish' button is greyed out. Is it normally necessary to create a BSP before creating an application project?
htsvn: I am not sure exactly which file you are asking about, so I zipped and attached the whole '.sdk' subdirectory for the project.
07-13-2016 09:05 PM
Ideally if the system does not know you have a microblaze in your system it does not show up in the options. The way to tell the system is through the hdf and hence bsp.
Also once you export the Hardware and then click "File -> Launch SDK" from Vivado, it should automatically create the BSP for you. And then you can create an application project.
07-15-2016 12:12 PM
thanks for the files. i have used your HDF and was able to generate a BSP for Standalone OS in 2016.2
what is the operating system you are using?
07-15-2016 12:14 PM
page 8 of http://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_2/ug973-vivado-release-notes-install-license.pdf suggests the supported OS.
can you please try this in one of these OS?