UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
523 Views
Registered: ‎12-05-2018

EK-U1-ZCU102-G with MIPI CSI-2 RX Subsystem Example Design

Jump to solution

Dear Community,

I'm trying to complete the example design/tutorial as explained in chapter 5 from PG232.

I purchased the required hardware, setup the Vivado (2018.2) development environment in Ubuntu 16.04 (in a virtual box, running Windows 10)

I have connection via the JTAG programmer (via Vivado lab solutions) and I'm able to load, simulate and synthesize the example design.

However when trying to run the solution, like described on on p62, I get the following error while sourcing the xsdb.tcl script.

2018-12-12 09_46_31-Ubuntu 16.04 LTS [Running] - Oracle VM VirtualBox.png

I believe this is preventing the program to execute correctly.

As a result I cannot visualize any 2D images on the DSI connected LDC panel and don't have working UART communication.

In a similar forum topic it was suggested to change the board as target platform, but I'm confident I selected the right platform. (EK-U1-ZCU102-G in my case)

Could you please help me to run the example design correctly?

Best Regards,

Kristof

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
391 Views
Registered: ‎11-21-2018

Re: EK-U1-ZCU102-G with MIPI CSI-2 RX Subsystem Example Design

Jump to solution

Hi Kristof, 

Sorry that you are having so many issues with the example. 

The reason the example is not working now is because the SDK was not launched automatically so the application was not generated. 

I created a workaround for you. Please let me know if you have any success. 

Once you have run all the steps, please follow the documentation from 'Running the Design on the Hardware' on page 62. 

I am working to try and find out why the SDK was not launched as expected. One possibility might be a permissions issue on your system. I will update you if I have a definitive answer. 

Regards, 

Aoife
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
8 Replies
Xilinx Employee
Xilinx Employee
472 Views
Registered: ‎11-21-2018

Re: EK-U1-ZCU102-G with MIPI CSI-2 RX Subsystem Example Design

Jump to solution

Hi Kristof, 

 

Thanks for sharing your problem. 

I will try to reproduce the issue on my machine. 

When you open the directory, are you able to see the file psu_init.tcl?

Could you also share a screenshot of your SDK folder so I can compare with my own? 

 

Regards, 

 

 

 

Aoife
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
437 Views
Registered: ‎12-05-2018

Re: EK-U1-ZCU102-G with MIPI CSI-2 RX Subsystem Example Design

Jump to solution

Dear 

0 Kudos
Xilinx Employee
Xilinx Employee
427 Views
Registered: ‎11-21-2018

Re: EK-U1-ZCU102-G with MIPI CSI-2 RX Subsystem Example Design

Jump to solution

Hi Kristof, 

I was able to create the example on my machine without any issues.

The psu_init.tcl file should have been created in the background. 

It seems as if the SDK may not have been installed on your computer. 

During installation the Software Development Kit should be checked: 

 Vivado_2018_Install.PNG

 

If it was installed, it might be that the environment variable is not set properly. 

Can you check if you can launch SDK from Vivado? (File -> launch SDK)

 

Aoife
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
411 Views
Registered: ‎12-05-2018

Re: EK-U1-ZCU102-G with MIPI CSI-2 RX Subsystem Example Design

Jump to solution

Dear Aoife,

This is how I launch Vivado :

2018-12-19 11_58_45-Ubuntu 16.04 LTS [Running] - Oracle VM VirtualBox.png

With these environment variables: (as suggested in an online post somewhere)

2018-12-19 11_57_12-Settings.png

and launching SDK works perfectly :

2018-12-19 12_01_52-Settings.png

After opening the SDK (that was first time in that project), I now also see it generated psu_init.tcl :

2018-12-19 12_03_27-Ubuntu 16.04 LTS [Running] - Oracle VM VirtualBox.png

 

So there's a chance it will work now, I will test immediately.

However, I'm still very curious why it has not been auto generated, since opening SDK is nowhere described in the tutorial.

 

Best Regards,

Kristof

 

 

0 Kudos
403 Views
Registered: ‎12-05-2018

Re: EK-U1-ZCU102-G with MIPI CSI-2 RX Subsystem Example Design

Jump to solution

Hi,

I managed to get pass the psu_init.tcl by changing the location of the folder in xsdb.tcl file.

Original:

source ../mipi_csi2_rx_subsystem_0_ex.sdk/design_1_hw_0/psu_init.tcl

Modification :

source ../mipi_csi2_rx_subsystem_0_ex.sdk/design_1_wrapper_hw_platform_0/psu_init.tcl

 

However, now I'm simply stuck on the next issue :

2018-12-19 14_26_25-Ubuntu 16.04 LTS [Running] - Oracle VM VirtualBox.pngxmipi_example.elf does not exist (and neither does the debug folder)

How difficult does it need to be to run example code. :s

I retried the full process already 3 or more times to end at the same issue.

 

Can anyone help?

 

Best Regards,

Kristof

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
392 Views
Registered: ‎11-21-2018

Re: EK-U1-ZCU102-G with MIPI CSI-2 RX Subsystem Example Design

Jump to solution

Hi Kristof, 

Sorry that you are having so many issues with the example. 

The reason the example is not working now is because the SDK was not launched automatically so the application was not generated. 

I created a workaround for you. Please let me know if you have any success. 

Once you have run all the steps, please follow the documentation from 'Running the Design on the Hardware' on page 62. 

I am working to try and find out why the SDK was not launched as expected. One possibility might be a permissions issue on your system. I will update you if I have a definitive answer. 

Regards, 

Aoife
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
360 Views
Registered: ‎12-05-2018

Re: EK-U1-ZCU102-G with MIPI CSI-2 RX Subsystem Example Design

Jump to solution

Hi aoifem,

 

I was able to fully run the example code based on your latest instructions.

I really wonder why the SDK was not launched automatically.

I reran the full Xilinx installation from scratch and it always gave same result,

also, it was not installed with sudo, just in a user folder /home/developer/opt/Xilinx/

Would be appreciated if you can find out why, I'm here to help if needed.

 

PS: Is the full source code of the example public domain, open source?

I would like to fully understand how it works so I can re-use parts for my own projects.

 

Best Regards,

Kristof

Xilinx Employee
Xilinx Employee
345 Views
Registered: ‎11-21-2018

Re: EK-U1-ZCU102-G with MIPI CSI-2 RX Subsystem Example Design

Jump to solution

Hi Kristof, 

I would really like to understand why it did not run too. 

When installing did you install SDx (SDSoC or SDAccel)? 

When you install SDx, there are actually 2 versions of xsct, the scripting tool for generating SDK/SDx projects.
SDx versions end up being first in the OS path, so it will always get picked up.  This version doesn’t work with the SDK example designs and that is why they don’t complete.

If you use the Vivado Standalone installer instead of the SDx installer for the tools, then it should work fine.

Could you try this and let me know if it works? 

 

 

The source code can be found in the following links: 

https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/

https://github.com/Xilinx/embeddedsw/blob/master/license.txt

 

If you have any more questions about the source code would you mind opening a new thread on the forum so we can keep any issues separate? 

 

Regards, 

Aoife
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**