LS1043A Custom Board codewarrior JTAG Diagnose Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1043A Custom Board codewarrior JTAG Diagnose Error

749 次查看
jmsong
Contributor I

Hi~Expert!

We are developing a custom board using the LS1043A processor.
Referring to LS1043ARDB, we replaced CPLD with FPGA and controlled PORESET_B to confirm that HRESET_B is normally ASSERTed and then DE-ASSERTed. At this time, RCW_SRC[0:8] was set to 0x9F. (Only DIFF_SYSCLK 100MHz is used.)


The next step is to connect to the device using CodeWarrior. However, when we click Diagnose Connection to check, an error occurs as shown below at the "Run target Initialization script" stage and we cannot proceed any further.

jmsong_0-1744001569451.png


At this time, the Scan IDCODE is as follows.


* Device 0  IDCODE: 5BA00477 Device: ARM DAP rev 5.x

* Device 1  IDCODE: 06B1201D   Device: Unmapped NXP Device


In the initialization script file, USE_SAFE_RCW = True and BOOT_CHIP_SELECT = 2 are set.

and TA.rcw.set_source(0x9F)


I don't know if an error occurs when entering the internal register writing stage for DDR4 settings. (It's the same even if I change the address)

 

def Init_DDRC_PD():

     CCSR_BE_M(0x01080110, 0x450C0000)

     CCSR_BE_M(0x01080000, 0x0000007F)

     CCSR_BE_M(0x01080008, 0x00000000)

     CCSR_BE_M(0x01080010, 0x00000000)

    .....

0 项奖励
回复
1 回复

711 次查看
June_Lu
NXP TechSupport
NXP TechSupport

My CWTAP IP address: 10.193.20.23

Please refer the command below to debug your environment.

In the CCS, run command below:

(bin) 1 % delete all

(bin) 2 % config cc cwtap:10.193.20.23

(bin) 3 % show cc

0: CodeWarrior TAP (cwtap:10.193.20.23) CC software ver. {0.0}

(bin) 4 % ccs::config_chain {ls1043a dap sap2}

(bin) 5 % display ::ccs::get_config_chain

Chain Position 0: LS1043A

Chain Position 1: CoreSight ATB Funnel

Chain Position 2: CoreSight ATB Funnel

Chain Position 3: CoreSight TMC

Chain Position 4: CoreSight TMC

Chain Position 5: CoreSight ATB Funnel

Chain Position 6: CoreSight STM

Chain Position 7: CoreSight TMC

Chain Position 8: CoreSight ATB Funnel

Chain Position 9: CoreSight ATB Funnel

Chain Position 10: CoreSight TMC

Chain Position 11: CoreSight TMC

Chain Position 12: CoreSight TMC

Chain Position 13: CoreSight CTI

Chain Position 14: CoreSight CTI

Chain Position 15: CoreSight CTI

Chain Position 16: Cortex-A53

Chain Position 17: CoreSight CTI

Chain Position 18: Cortex-A53 PMU

Chain Position 19: Cortex-A53 ETM

Chain Position 20: Cortex-A53

Chain Position 21: CoreSight CTI

Chain Position 22: Cortex-A53 PMU

Chain Position 23: Cortex-A53 ETM

Chain Position 24: Cortex-A53

Chain Position 25: CoreSight CTI

Chain Position 26: Cortex-A53 PMU

Chain Position 27: Cortex-A53 ETM

Chain Position 28: Cortex-A53

Chain Position 29: CoreSight CTI

Chain Position 30: Cortex-A53 PMU

Chain Position 31: Cortex-A53 ETM

Chain Position 32: DAP

Chain Position 33: SAP2

(bin) 6 % ccs::display_mem 32 0x1080000 4 0 4

                   +0       +4       +8       +C

[0x01080000] 0000007F 00000000 00000000 00000000

(bin) 7 % ccs::display_mem 32 0x1080000 4 0 40

                   +0       +4       +8       +C

[0x01080000] 0000007F 00000000 00000000 00000000

[0x01080010] 00000000 00000000 00000000 00000000

[0x01080020] 00000000 00000000 00000000 00000000

[0x01080030] 00000000 00000000 00000000 00000000

[0x01080040] 00000000 00000000 00000000 00000000

[0x01080050] 00000000 00000000 00000000 00000000

[0x01080060] 00000000 00000000 00000000 00000000

[0x01080070] 00000000 00000000 00000000 00000000

[0x01080080] 80040322 00000000 00000000 00000000

[0x01080090] 00000000 00000000 00000000 00000000

0 项奖励
回复