cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kevin.jesse
Observer
Observer
8,379 Views
Registered: ‎02-16-2015

Chipscope with Petalinux? (ILA block)

How do I use chipscope with an ILA block in petalinux? I noticed that the petalinux SDK does not use the debug file that Vivado does. Is there a work around or another method to see the FPGA logic while running the kernel?

 

Thanks,

Kevin

0 Kudos
Reply
3 Replies
reisswolf
Visitor
Visitor
8,019 Views
Registered: ‎11-08-2013

 

Hello community,

 

I tried a couple of different things but have the same problem. Would be nice to know how they can be used together!

 

Regards

0 Kudos
Reply
sampatd
Scholar
Scholar
7,991 Views
Registered: ‎09-05-2011

I have really not tested this with a Linux application. But, I believe a combination of hardware/software cross-trigger and Linux application debug using SDK should suffice.

Check the links below:
http://www.xilinx.com/training/zynq/hardware-software-cross-trigger-for-embedded-design.htm

http://www.xilinx.com/training/zynq/how-to-debug-a-linux-application-using-xilinx-sdk.htm
0 Kudos
Reply
reisswolf
Visitor
Visitor
7,975 Views
Registered: ‎11-08-2013

 

Hello,

 

Thanks for the repsonse. The links are good and it works if you use the standalone kernel inside the Xilinx SDK. The Petalinux flow is slightly different and does not really use the SDK but couple of Linux command line applications to compile the kernel, create the file system and so on.

 

The boot command (just an example) that also downloads a bit file looks as follows:

$petalinux-boot --jtag --prebuilt 3 

 

It basically takes over the JTAG but doesn't seem to use the debug_netlist probes file that Vivado uses when downloading a bit file. As a result the design running on the FPGA seems inaccessible from the Hardware Manager in Vivado since it cannot find the probe definitions.

 

Regards

0 Kudos
Reply