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: 
Adventurer
Adventurer
634 Views
Registered: ‎05-15-2018

ChipScope or ILA with Petalinux Sample Example

I am looking for a sample example to try chip scope/ILA with Petalinux to try and capture AXI interfaces.

Any tutorial link or guide would be of great help.

Please advice. 

0 Kudos
13 Replies
Moderator
Moderator
599 Views
Registered: ‎12-04-2016

Re: ChipScope or ILA with Petalinux Sample Example

Hi @harish-anil 

Is it something similar to this below xapp that you are looking for?

https://www.xilinx.com/support/documentation/application_notes/xapp1251-xvc-zynq-petalinux.pdf

 

0 Kudos
Adventurer
Adventurer
579 Views
Registered: ‎05-15-2018

Re: ChipScope or ILA with Petalinux Sample Example

This is not what I am looking at, I don't want to details on setting up Ethernet to capture details, what I am looking at the IPs that can be used to debug interfaces in the design and also have this communicated over the petalinux.

0 Kudos
Moderator
Moderator
562 Views
Registered: ‎09-12-2007

Re: ChipScope or ILA with Petalinux Sample Example

There is cross trigger debug support. However, this is SDK (Not linux)

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841817/ZCU102+Cross+Trigger+Debug

 

Halting linux would be trickier

0 Kudos
Adventurer
Adventurer
527 Views
Registered: ‎05-15-2018

Re: ChipScope or ILA with Petalinux Sample Example

Still did nt find a answer, I just need a basic tutorial on how to use ILA or for that sake any other PL debug tool along with Petalinux.

0 Kudos
Observer sahebi.amin
Observer
434 Views
Registered: ‎11-16-2018

Re: ChipScope or ILA with Petalinux Sample Example

@harish-anil I have the same issue. if you find any solution please advise.

thanks

 

0 Kudos
Highlighted
Adventurer
Adventurer
429 Views
Registered: ‎05-15-2018

Re: ChipScope or ILA with Petalinux Sample Example

Yes I was able to do, just include ILA as a regular IP block. 
Than Export HDF and than go ahead with Building the design in petalinux and obtain BOOT.bin.

Once ready with SD card image connect your JTAG and also open the HW manager on a system that is talking to HW and run your design with required trigger patterns. 

I will be compiling the steps in a simple doc and post here in some time. 

Observer sahebi.amin
Observer
389 Views
Registered: ‎11-16-2018

Re: ChipScope or ILA with Petalinux Sample Example

@harish-anil 

Hi, Thanks for your reply yes I either succeeded, I had a little problem in my benchmark was not related to ILA and its procedure,

Thanks 

Amin

0 Kudos
Adventurer
Adventurer
280 Views
Registered: ‎10-02-2018

Re: ChipScope or ILA with Petalinux Sample Example

Hi @sahebi.amin , @harish-anil , @stephenm , @shabbirk 

I have a project run on zcu102. if run base on standalone. I can view chipscope with vivado.

Once I use that file .hdf to build petalinux and boot from SD CARD. In vivado, once open hardware manager, I cann't view chipscope:

Log from vivado:

INFO: [Labtools 27-1434] Device xczu9 (JTAG device index = 0) is programmed with a design that has no supported debug core(s) in it.
WARNING: [Labtools 27-3361] The debug hub core was not detected.
Resolution:
1. Make sure the clock connected to the debug hub (dbg_hub) core is a free running clock and is active.
2. Make sure the BSCAN_SWITCH_USER_MASK device property in Vivado Hardware Manager reflects the user scan chain setting in the design and refresh the device. To determine the user scan chain setting in the design, open the implemented design and use 'get_property C_USER_SCAN_CHAIN [get_debug_cores dbg_hub]'.

How do solve?

Thanks and Brgs.

0 Kudos
Moderator
Moderator
272 Views
Registered: ‎12-04-2016

Re: ChipScope or ILA with Petalinux Sample Example

Hi @sonminh 

Thanks for reaching out to us.

Could you please try disabling the CPU IDLE and rebuild your petalinux project, and see if that helps in connecting to vivado HW manager?

You can diasble the CPU IDLE feature by either of these ways mentioned in AR:

https://www.xilinx.com/support/answers/69143.html

 

 

Best Regards

Shabbir

 

0 Kudos
Adventurer
Adventurer
249 Views
Registered: ‎10-02-2018

Re: ChipScope or ILA with Petalinux Sample Example

Hi @shabbirk,

Thanks for your reply.

I just try disable CPU idle PM support follow 3 methos as suggest. But still not have change. That file .hdf can view ILA chipscope with standalone but not with petalinux.

 

 

 

0 Kudos
Observer sahebi.amin
Observer
231 Views
Registered: ‎11-16-2018

Re: ChipScope or ILA with Petalinux Sample Example

@sonminh Hi,

Just sth popped in my mind, did you use system ILA or ILA(Integrated Logic Analyzer) in your project? there are two ILA IP in Xilinx repositories. 

Make sure you configured ILA properly (should be System ILA).

Which version of Vivado do you use? for 2017 and later CPU idle PM support should be disabled for earlier versions is not necessary. 

please let me know if you sure configuration is okay.

0 Kudos
Adventurer
Adventurer
214 Views
Registered: ‎10-02-2018

Re: ChipScope or ILA with Petalinux Sample Example

Thanks @sahebi.amin

I use petalinux 2017.4 and vivafo 2017.4

But I just veryfied that I use system ILA in vivado and I have disable CPU idle PM support follow as 3 method in:

https://www.xilinx.com/support/answers/69143.html

But no have change. I still can't view chipscope ILA on petalinux

0 Kudos
Observer sahebi.amin
Observer
177 Views
Registered: ‎11-16-2018

Re: ChipScope or ILA with Petalinux Sample Example

Dear @sonminh ,

Are you sure about triggering the ILA from the PS side properly? I mean about the drivers and the program which you execute.

0 Kudos