Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.
*QCA4020 J33-pin1 to JLink Pin3 (TRST)
Kindly note QCA4020 J33-pin1 should be connected to J-Link Pin3 (TRST)
Thanks for the setup information. I can confirm that I did that already correctly. If I follow your advice the batch file complains about this file, which I can not find somewhere in the SDK: Quartz.JLinkScript
I had some progress with this topic. I am now able to download the SW via J-Link with the corresponding batch file. When debugging I can also connect to the board, but I can not run the SW correctly from the debugger. It stays always in this part of the code:
sbl1_main_ctl() at sbl1_mc.c:355 0x100a05be
If I let the board run freely and attach to the board with J-Link while running, I am able to pause the execution, set a breakpoint and debug. Currently the main issue seems to be the start-up phase, when the board waits for the JTAG connection and then the boot-loader phase is being executed. I guess maybe the ELF file has not been loaded or something similar?
Thanks Andreas
No one out there who has this running?
Can you try to delete breakpoint 2 which is "sbl1_main_ctl" and confirm if its still an issue after bootup ?
Hi,
as mentioned above, when executing: debug.bat m4
it complains that the the J-Link script file: Quartz.JLinkScript can not be found.
I can not find it anywhere in the SDK. What is the content of this file and how is the J-Link configured?
Thanks, Andreas
It is now months ago since I asked to get the missing file.
I kindly renew my request: Is it possible to share the Quartz.JLinkScript file with this community? It is referenced by the debug.bat file and seems not to be part of the SDK. I would like to understand, how JLink need to be configured to make it work.
Thanks and best regards
Andreas
Hi,
I'm currently attempting to debug through the Eclipse IDE with a J-Link and having a similar issue. If the device is freely running, I can pause the execution and debug, but having issue in the start-up phase. Has there been a solution?
Thanks!
Andrew
I have QCA4020 M20 module mounted on a custom board. I am able to flash "hello World" image to the M20 module using the USB and python script to flash to the M20 using Emergency Download Mode (EDL).
I do not have openOCD on this board. Just the QCA42020 M20 mounted on this custom board and both USB and JTAG interfaces are exposed in addition to the many GPIOs of the QCA4020 M20 module.
I need to flash using the JTAG interface. I am using Eclipse IDE and J-link debugger. I configured the IDE and it seems connected to the Target but can not proceed after it and download the image to the M20 and saying ""Waiting for GDB connection"
What I am missing after that? can you please help points to exact instructions I shall use to flash using JTAG on the QCA4020 M20 module?
below are screen shoot of Debug configuration in Eclipse and ouptut from J-link GDB Server?
SEGGER J-Link GDB Server V6.92 GUI Version
Thanks a lot