Jump to content
  • 0

Error while creating the project in vitis 2020.1 using cortex m1 soft core on Arty A7 100t


Vybhav MN

Question

Hey, I am using Cortex M1 soft core processor on Arty A7 100T using Vivado 2020.1 and successfully generated bitstream for simple AXI-Uartlite project and exported hardware xsa file, but when i tried to create a Application Project for the same using xsa file in Vitis 2020.1 the platform is getting created but the basic c/c++ application project creation is giving error as "Failed to call GENERATE_APP". Below is the Vitis log file for that error.

Can someone help in debugging this error?

ThanksĀ 

13:51:28 DEBUG : Registering SDKStatusHandler to handle trace exceptions.
13:51:28 DEBUG : Registered the core plugin as the backup plugin for storing repository paths.
13:51:28 INFO : Launching XSCT server: xsct.bat -n -interactive D:\FPGA_Projects\Workspace\temp_xsdb_launch_script.tcl
13:51:28 INFO : XSCT server has started successfully.
13:51:28 INFO : Registering command handlers for Vitis TCF services
13:51:29 INFO : plnx-install-location is set to ''
13:51:29 INFO : Successfully done setting XSCT server connection channel
13:51:29 INFO : Successfully done query RDI_DATADIR
13:51:29 INFO : Successfully done setting workspace for the tool.
13:51:29 INFO : Restoring global repository preferences:
C:\Users\vybha\Documents\AT472-BU-98000-r0p1-00rel0\vivado\Arm_sw_repository
13:51:31 INFO : Platform repository initialization has completed.
13:52:35 INFO : Result from executing command 'getProjects': Microblaze_uart_wrapper;arty_uart1_wrapper;arty_uart_wrapper;arty_uart_wrapper_1;arty_uart_wrapper_2;cortex_m1_uart_wrapper;design_1_wrapper;mblz_uart_gpio_wrapper;mblz_uart_gpio_wrapper_1;mblz_uart_gpio_wrapper_2;zynq_uart_wrapper
13:52:35 INFO : Result from executing command 'getPlatforms': Microblaze_uart_wrapper|D:/FPGA_Projects/Workspace/Microblaze_uart_wrapper/export/Microblaze_uart_wrapper/Microblaze_uart_wrapper.xpfm;arty_uart1_wrapper|D:/FPGA_Projects/Workspace/arty_uart1_wrapper/export/arty_uart1_wrapper/arty_uart1_wrapper.xpfm;arty_uart_wrapper_1|D:/FPGA_Projects/Workspace/arty_uart_wrapper_1/export/arty_uart_wrapper_1/arty_uart_wrapper_1.xpfm;arty_uart_wrapper_2|D:/FPGA_Projects/Workspace/arty_uart_wrapper_2/export/arty_uart_wrapper_2/arty_uart_wrapper_2.xpfm;arty_uart_wrapper|D:/FPGA_Projects/Workspace/arty_uart_wrapper/export/arty_uart_wrapper/arty_uart_wrapper.xpfm;design_1_wrapper|D:/FPGA_Projects/Workspace/design_1_wrapper/export/design_1_wrapper/design_1_wrapper.xpfm;mblz_uart_gpio_wrapper_1|D:/FPGA_Projects/Workspace/mblz_uart_gpio_wrapper_1/export/mblz_uart_gpio_wrapper_1/mblz_uart_gpio_wrapper_1.xpfm;mblz_uart_gpio_wrapper_2|D:/FPGA_Projects/Workspace/mblz_uart_gpio_wrapper_2/export/mblz_uart_gpio_wrapper_2/mblz_uart_gpio_wrapper_2.xpfm;mblz_uart_gpio_wrapper|D:/FPGA_Projects/Workspace/mblz_uart_gpio_wrapper/export/mblz_uart_gpio_wrapper/mblz_uart_gpio_wrapper.xpfm;zynq_uart_wrapper|D:/FPGA_Projects/Workspace/zynq_uart_wrapper/export/zynq_uart_wrapper/zynq_uart_wrapper.xpfm
13:52:35 INFO : Platform 'cortex_m1_uart_wrapper' is added to custom repositories.
13:52:36 ERROR : Failed to call GENERATE_APP
Reason: ERROR: [Common 17-39] 'hsi::generate_app' failed due to earlier errors.

13:52:36 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:387)
at com.xilinx.sdk.xsdb.XsdbCommandUtils.executeAndRespond(XsdbCommandUtils.java:325)
at com.xilinx.sdx.sdk.core.gen.CTemplateGen.generate(CTemplateGen.java:105)
at com.xilinx.sdx.sdk.core.gen.CppTemplateGen.generate(CppTemplateGen.java:53)
at com.xilinx.sdx.sdk.core.gen.StandaloneProjectHandler.createCoreApp(StandaloneProjectHandler.java:93)
at com.xilinx.sdx.sdk.core.gen.AppCreationHandler.createApplication(AppCreationHandler.java:79)
at com.xilinx.sdx.sdk.core.gen.AppCreationHandler.execute(AppCreationHandler.java:69)
13:52:36 ERROR : Failed to create application project
org.eclipse.core.runtime.CoreException: Failed to call GENERATE_APP
Reason: ERROR: [Common 17-39] 'hsi::generate_app' failed due to earlier errors.

at com.xilinx.sdx.sdk.core.gen.StandaloneProjectHandler.createCoreApp(StandaloneProjectHandler.java:150)
at com.xilinx.sdx.sdk.core.gen.AppCreationHandler.createApplication(AppCreationHandler.java:79)
at com.xilinx.sdx.sdk.core.gen.AppCreationHandler.execute(AppCreationHandler.java:69)
at com.xilinx.sdx.sdk.core.SdkAppCreationHandler.executeInternal(SdkAppCreationHandler.java:75)
at com.xilinx.sdx.sdk.core.SdkAppCreationHandler.lambda$1(SdkAppCreationHandler.java:67)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2289)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2311)
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'
13:52:37 ERROR : An unexpected exception occurred in the module 'updating project references'

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @Vybhav MN,

I'm not sure how much help I'll be since Digilent hasn't done any work with the ARM Cortex-M cores with our boards.

After doing some research, I found a couple of things that might be worth checking. One is to check that there may be a version mismatch between software IPI provided the DesignStart download (presuming that is what you are using) and what version Xilinx is on. Some instructions on how to work around that are provided in this article by Adam Taylor: https://www.hackster.io/adam-taylor/image-processing-with-arm-cortex-m1-2f2b8c#toc-vitis-software-development-2. The other option may just to be start from a clean Vivado project to see if that resolves the issue, like it did for this user: https://support.xilinx.com/s/question/0D52E00006hprmxSAA/lwip-echo-server-failed-to-create-application-project?language=en_US.

Thanks,
JColvin

Link to comment
Share on other sites

  • 0
On 2/2/2022 at 4:52 AM, JColvin said:

Hi @Vybhav MN,

I'm not sure how much help I'll be since Digilent hasn't done any work with the ARM Cortex-M cores with our boards.

After doing some research, I found a couple of things that might be worth checking. One is to check that there may be a version mismatch between software IPI provided the DesignStart download (presuming that is what you are using) and what version Xilinx is on. Some instructions on how to work around that are provided in this article by Adam Taylor: https://www.hackster.io/adam-taylor/image-processing-with-arm-cortex-m1-2f2b8c#toc-vitis-software-development-2. The other option may just to be start from a clean Vivado project to see if that resolves the issue, like it did for this user: https://support.xilinx.com/s/question/0D52E00006hprmxSAA/lwip-echo-server-failed-to-create-application-project?language=en_US.

Thanks,
JColvin

Thank you so much for the reply will check on those links.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...