Forums - JLink Base support?

6 posts / 0 new
Last post
JLink Base support?
david.paul.owczarski
Join Date: 5 Jan 18
Posts: 3
Posted: Fri, 2018-03-02 07:46
Hi!
 
I am using the SX-ULPGN-EVK kit.   I have successfully used the FTDI C232HD cable to program the module, but I would like to use my JLink Base with a ONCE adapter board, 20 to 14 pin.   I got it to work once but it now seems likes it hangs through the flashing process.   Is there a way to configure the JLINK to be more reliable?
  • Up0
  • Down0
jbhanu Moderator
Join Date: 6 Feb 17
Posts: 80
Posted: Fri, 2018-03-02 17:31

Hi , 

 

Have you tried with some other module?

  • Up0
  • Down0
david.paul.owczarski
Join Date: 5 Jan 18
Posts: 3
Posted: Mon, 2018-03-05 05:37

Hi,

Yes I have, still the same result with a different module.   Again, is there a correct way of configuring the JLINK?

 

  • Up0
  • Down0
svegesna Moderator
Join Date: 7 Jun 17
Posts: 20
Posted: Fri, 2018-03-09 05:49

Hi,

Below was the procedure for flashing QCA4010(RB01/RB02) board using JATG. The procedure was also explained in the release notes of 4010. 

Before start, make sure the Xtensa OCD and JTAG are correctly configured.

Board setup

1. Set up the SP240 board switch.

2. Set up the jumper so that board EJTAG is enabled and bootstrap is in hostless mode. 
  Pull on the Jumper connecting JP4.2&3(HOST0), JP3.2&1(HOST1) to make SP241/SP242 module in hostless mode. Pull on the Jumper connecting JP5.2&1(1.2VMOD), JP7.2&3(EJAG), JP31.2&3(IOT).  
3. Use a type-B USB cable to connect PC USB port and SP240 POWER-USB USB port to power up the SP240 board.

4. Use a USB JTAG Wiggler to connect PC USB port and JP25 of the SP240 board. 

Flashing procedures

Before start, make sure the Xtensa OCD daemon is up and running on a Windows or Linux machine. On Linux machine:
1. Navigate to the binary image folder.
  cd target/image

2 Run the following command to flash the image.
 xt-gdb -x gdb.sdk_flash
 target remote <Xtensa_host_IP>:20000
 (xt-gdb) sdk_flash ../bin/<raw_flashimage*>.bin
3. Wait until xt-gdb prints “sdk_flash is DONE”.   
4. Reset the board.
  (xt-gdb) reset
  (xt-gdb) cont 

Thanks,
Santhosh

 

 

  • Up0
  • Down0
david.paul.owczarski
Join Date: 5 Jan 18
Posts: 3
Posted: Wed, 2018-03-14 13:11

Your step 4 is JTAG Wiggler not JLINK Base....

Do you understand my question?

  • Up0
  • Down0
jbhanu Moderator
Join Date: 6 Feb 17
Posts: 80
Posted: Thu, 2018-03-15 16:48

Dear Paul, 

JTAG Wiggler is officially supported .  As you told, once JLINK worked for you. Can you please let us know the exact steps you have followed to flash. So that we can try to replicate this .

 

Regards

Jyotiranjan 

  • Up0
  • Down0
or Register

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.