2380055_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2380055_en-US

2380055_en-US

T1040RDB: "Failed to correctly configure the JTAG chain" while connecting through CodeWarrior TAP

Hello Team,

We are working with a new T1040RDB board and are attempting to connect to the target through JTAG using CodeWarrior in order to load/program U-Boot onto the board.

During the connection process, CodeWarrior reports the following error:

"Failed to correctly configure the JTAG chain"

As a result, we are unable to establish a JTAG connection with the board and proceed with loading U-Boot.

It is important to note that we have previously used the same setup, including CodeWarrior and TAP, to successfully load U-Boot on other T1040RDB boards without encountering any JTAG-related issues. The issue is observed only with this new boards.

Setup Details:

Board: T1040RDB  Processor: T1040

Debug Probe/TAP: CodeWarrior TAP over USB Freescale

Application: CodeWarrior Development Studio For PA Version: 10.5

Host OS: Windows 11 Pro

Checks Performed:

Verified board power-up sequence.

Confirmed JTAG cable connections and orientation.

Restarted CodeWarrior and power-cycled the board.

Verified that the TAP/debug probe is detected by the host PC.

Tried reconnecting multiple times with the same result.

Verified the board switch settings and they are configured correctly.

For reference, we have attached a screenshot of the current error as well as a screenshot from a previous successful session on another T1040RDB board using the same CodeWarrior and TAP setup. The previous board was able to proceed beyond the same step without any issues, whereas the new board fails with the "Failed to correctly configure the JTAG chain" error at this stage.

Could you please advise on the possible cause of this issue and how to proceed further?

Please assist.

Best Regards,
A.Maruthi

QorIQ T1 DevicesRe: T1040RDB: "Failed to correctly configure the JTAG chain" while connecting through Code

Probably there is no valid RCW on your target board, please choose one of the following method.

1. Please configure switch setting to set the target board as hard-coded RCW.

2. Please use CodeWarrior JTAG configuration file to override RCW.

Please refer to section "8.4 Setting up a remote system to use a JTAG configuration file" in C:\Freescale\CW_PA_v10.5.1\PA\Help\PDF\Targeting_PA_Processors.pdf


In addition, please open CCS console from C:\Freescale\CW_PA_v10.5.1\PA\ccs\bin\ccs.exe and type the following CCS commands to do verification.

% delete all

% config cc cwtap

% show cc

% ccs::config_chain t1040

% ccs::reset_to_debug

Re: T1040RDB: "Failed to correctly configure the JTAG chain" while connecting through Code

Hello @yipingwang,

Thank you for your suggestions.

Regarding Point 1, we have already verified the board switch settings, and they are configured correctly while performing this process.

Regarding Point 2, we referred to Section 8.4 - "Setting up a remote system to use a JTAG configuration file" in:

C:\Freescale\CW_PA_v10.5.1\PA\Help\PDF\Targeting_PA_Processors.pdf

As mentioned in Step 13, it instructs us to select the JTAG initialization file from:

\PA\PA_Support\Initialization_Files\jtag_chains

However, in our installation, this directory contains multiple JTAG initialization files (please refer to the attached screenshot). We are unsure which JTAG initialization file should be selected for the T1040RDB board.

Could you please advise which JTAG initialization file is appropriate for our setup?

For your reference, we have attached:

  • The screenshot of the JTAG initialization files available under the jtag_chains directory.

  • The screenshot of the error observed while attempting to connect to the board.

Additionally, we were unable to execute the CCS commands (delete all, config cc cwtap, show cc, etc.) because we could not identify the CCS console associated with C:\Freescale\CW_PA_v10.5.1\PA\ccs\bin\ccs.exe. Could you please guide us on how to access the CCS console to run these commands?

Please assist.

Re: T1040RDB: "Failed to correctly configure the JTAG chain" while connecting through Code

Do you use T1040RDB with DDR3 or T1040D4RDB with DDR4?

Re: T1040RDB: "Failed to correctly configure the JTAG chain" while connecting through Code

We are using the T1040RDB with DDR3 memory.

Re: T1040RDB: "Failed to correctly configure the JTAG chain" while connecting through Code

Please refer to the following to hard-coded RCW mode, then use CodeWarrior to connect to your target board.

ON and OFF are being represented as 0 and 1 respectively, on the board.

SW1[1:8] SW2[1]  0_1001_1110 (0x9E)

タグ(1)
評価なし
バージョン履歴
最終更新日:
12 時間前
更新者: