cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Visitor
Visitor
1,127 Views
Registered: ‎08-19-2019

Debugging Zynq-7020 with Xilinx SDK + Segger JLink

Hello,

Hopefully this is the right place to ask. I have a Picozed 7020 board that I am currently debugging with using the Digilent JTAG-HS3 programming cable. I would like to use the Segger JLink hardware to debug my bare-metal applications on the two cortex's instead, so I bought the JLink's Xilinx adapter:(https://www.segger.com/products/debug-probes/j-link/accessories/adapters/xilinx-adapter/).

I was wondering if there was a guide on how to setup the Xilinx SDK such that I could perform a system debug debug with the J-Link (or at least debug one of the cortex cores)? The Digilent cable seems to just work out-of-the-box.

Thanks.

0 Kudos
Reply
4 Replies
Xilinx Employee
Xilinx Employee
1,093 Views
Registered: ‎07-16-2019

Hi,

Here are some J-Link/J-Trace userguides that might be beneficial for you:

https://forums.xilinx.com/xlnx/attachments/xlnx/cn-emb-zynq/2245/1/UM08001_JLink.pdf

https://www.segger.com/downloads/jlink/UM08001

 

Ebrahim

 

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
1,087 Views
Registered: ‎07-16-2019

"The J-Link Software Developer Kit is needed if you want to write your own program
with J-Link / J-Trace. The J-Link DLL is a standard Windows DLL typically used from C
programs (Visual Basic or Delphi projects are also possible). It makes the entire
functionality of J-Link / J-Trace available through its exported functions, such as halting/stepping the CPU core, reading/writing CPU and ICE registers and reading/writing
memory. Therefore it can be used in any kind of application accessing a CPU core.
The standard DLL does not have API functions for flash programming. However, the
functionality offered can be used to program flash. In this case, a flash loader is
required. The table below lists some of the included files and their respective purpose.
The J-Link SDK requires an additional license and is available upon request from
www.segger.com."

 

Found on page 155 of the user guide

0 Kudos
Reply
Visitor
Visitor
1,047 Views
Registered: ‎08-19-2019

Thanks,

Is this implying that the Xilinx SDK does not support debugging using JLink probes and that one needs to write a plugin in order to do so?

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
1,000 Views
Registered: ‎10-06-2016

@whuang 

That's right, Xilinx SDK does not support Segger JLink probes.

Regards


Ibai
Don’t forget to reply, kudo, and accept as solution.
0 Kudos
Reply