LS1043A_JTAG_CONNECT

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043A_JTAG_CONNECT

1,711 Views
787316657
Contributor I

When we connect our board with the CodeWarrior TAP tool, we will display the error as shown in the figure. The TX/RX green light flashes on the CodeWarrior TAP tool, and the RUN/PAUSE red is steady. The JTAG connection is connected. What kind of reason will this kind of error be caused?

pastedImage_1.png

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

1,432 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello 晓 刘,

Please configure CodeWarrior initialization script to use hard-coded RCW.

Please configure target launch connection from Run->Debug Configurations->GDB Hardware Debugging-><project>->Debugger->Configure target connection, duplicate LS1043A_RDB target configuration and modify the target Init File as the following.

 

# In order to connect to a board with a broken RCW, set the following variable to True
# Override RCW using a safe hard-coded RCW option
USE_SAFE_RCW = True

 

 

Please select one hard-coded RCW option according to your target board.

###################################################################
# Reset
###################################################################
def Reset():
    if USE_SAFE_RCW:
        # Please make sure SERDES REF CLK is set to 100 MHz (SW3[4] = 0)
        # Set rcw_src to the hard-coded RCW option matching the board's DIP SW
        # regarding SYSCLK and differential/single-ended clock source

 

        # use this when SYSCLK = 66 MHz, single-ended clock source
        # gdb.execute("monitor rcw source set 0x9A")
        # use this when SYSCLK = 66 MHz, differential clock source
        # gdb.execute("monitor rcw source set 0x9B")
        # use this when SYSCLK = 100 MHz, single-ended clock source
        # gdb.execute("monitor rcw source set 0x9E")
        # use this when SYSCLK = 100 MHz, differential clock source
        gdb.execute("monitor rcw source set 0x9F")


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,432 Views
dsytj88
Contributor II

Hi

I have the same problem for LS1043,it shows "failed to run target initialization script",do you have any sollution to resolve it?Thank you

0 Kudos
Reply

1,432 Views
787316657
Contributor I

ARM板连接情况.JPG

According to the above-mentioned modification target initialization file, after clicking the A button in the figure, there is still an error, can you help us to modify a complete target initialization file (as shown in Figure C), our DDR parameters are configured as shown below, we hope RAM Boot using CodeWarrior on LS1043ARDB, and we have a bug in hardware design, CFG_RCW_SRC0-8 are floating.

DDR配置.JPG
thank you very much!

0 Kudos
Reply