cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
8,560 Views
Registered: ‎02-09-2011

Need to run software to trigger ILA in Zynq. How do I load and run it?

Jump to solution

I've instantiated an ILA in the PL in a Zynq design, and I've read the instructions on how to run it, but I need to run some bare-metal software in order to trigger the circuit where the ILA lives.  I don't understand how to load and run the software in Vivado, which I assume is necessary to use the ILA.  I've tried the Tools > Associate ELF Files, but I get an error message, "No user accessible processors found for ELF file association" which is confusing in a Zynq design.  Any hints on how I can proceed would be much appreciated.

 

I've run the software in SDK, but I don't think I can use the ILA from there.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Teacher
Teacher
15,970 Views
Registered: ‎03-31-2012

Re: Need to run software to trigger ILA in Zynq. How do I load and run it?

Jump to solution
Actually you need both tools running to debug both systems. You need the SDK to run code on the PS side and you need vivado to set the ILA triggers and receive the captured data.
- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.

View solution in original post

3 Replies
Highlighted
Teacher
Teacher
15,971 Views
Registered: ‎03-31-2012

Re: Need to run software to trigger ILA in Zynq. How do I load and run it?

Jump to solution
Actually you need both tools running to debug both systems. You need the SDK to run code on the PS side and you need vivado to set the ILA triggers and receive the captured data.
- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.

View solution in original post

Highlighted
Xilinx Employee
Xilinx Employee
8,549 Views
Registered: ‎08-02-2011

Re: Need to run software to trigger ILA in Zynq. How do I load and run it?

Jump to solution
You can open SDK and Vivado at the same time. So The steps are something like:
1) Open Hardware Manager in vivado and program the device
2) Open SDK and launch the debugger (it will stop at a breakpoint in main())
3) Setup your triggers and arm in Vivado
4) In SDK, press the 'resume' button to let the software continue to run.
www.xilinx.com
Highlighted
Adventurer
Adventurer
7,452 Views
Registered: ‎02-09-2011

Re: Need to run software to trigger ILA in Zynq. How do I load and run it?

Jump to solution

To do step 3, need to refresh the active ARM.

0 Kudos