CCS:USB Open Failure

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

CCS:USB Open Failure

1,110 Views
m_syed_ahmed
Contributor III

Hi,

We are working on project based on LS1021-ATWR processor. We were able to do Flash Programming and DDR validation in EVK board. But in our custom board, we keeps on getting USB Open failure error in Code Warrior Console. How to confirm whether board is connected to CW TAP? Any commands we can run to verify Processor Board connectivity.

0 Kudos
1 Reply

1,095 Views
yipingwang
NXP TechSupport
NXP TechSupport

For the custom board, there is no valid RCW on the target board, you could use CodeWarrior JTAG configuration file to override RCW or configure the target board to use hard-coded RCW.

For CodeWarrior JTAG configuration file configuration, please refer to section "8.4 Setting up a remote system to use a JTAG configuration file" in C:\Freescale\CW_ARMv7_v2019.10\CW_ARMv7\ARMv7\Help\PDF\CW_ARMv7_Targeting_Manual.pdf

For hard-coded RCW, please refer to section "RCW settings for hard-coded options" in LS1021A Reference Manual to configure cfg_rcw_src[0:8] to use hard-coded RCW on the target board.

If your problem remains, please create a bareboard project from File->New->CodeWarrior Bareboard Project Wizard, then refer to the following procedure to capture CCS log to me to do more investigation.

Please enable CCS log from "Run->Debug Configurations-><project>-core0_RAM_<processor>-Connect(Download)->Edit...->Advanced->Advanced CCS setting->Enable logging", and connect to the target from "Run->Debug Configurations-><project>-core0_RAM_<processor>-Connect(Download)->Debug”, the CCS log will be displayed in the console panel in CodeWarrior IDE.
If the CCS log in the console is truncated, please enlarge the console buffer from Window->Preferences->Run/Debug->Console->uncheck "Limit console output".
(Please open the console panel from Window->Show View->Console, and if nothing displayed, please choose the correct session on the right top icon in the panel.)

0 Kudos