10-15-2019 08:08 AM
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.
10-15-2019 01:19 PM
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
10-15-2019 01:21 PM
"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
10-16-2019 05:56 AM
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?
10-21-2019 01:15 PM
That's right, Xilinx SDK does not support Segger JLink probes.
Regards