Code warrior Jtag IDE connection diagnosis issue

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

Code warrior Jtag IDE connection diagnosis issue

319 Views
SWETHA1
Contributor II

Hi Team,

We are using a custom board based on the NXP LX2160A chipset and are currently trying to set up the CodeWarrior IDE environment for JTAG flashing.

The flash device used on our board is MT25QU512ABB. After configuring the IDE environment and adding the required files, we proceeded to open the Flash Programmer.

During the connection process, after "Connection Diagnosis", the Flash Programmer opens successfully, but we are facing an issue at the step: "Run Target Initialisation Script" . The error observed is attached in the screenshot.

The DIP switch is set to Hard-Coded RCW mode where we encounter the following error:
"Failed to write memory at address ..."

We have already verified the following:

* Hardware connections
* JTAG connectivity is proper
* Relevant signals were probed and appear normal

We request your support in helping us isolate the root cause and fix the issue at the earliest. Please let us know if any additional logs or configuration files are required.

Thanks & Regards,
Swetha K

0 Kudos
Reply
3 Replies

140 Views
SWETHA1
Contributor II

Hi
The issue has been resolved. It was caused by a hardware connection fault, which has now been fixed. We are no longer experiencing the error. Thank you for your support

0 Kudos
Reply

318 Views
SWETHA1
Contributor II

Please find the screenshot attached :

SWETHA1_0-1778565877592.png

 

Tags (3)
0 Kudos
Reply

306 Views
yipingwang
NXP TechSupport
NXP TechSupport

1. First Please double click LX2160_RDB(1) to Open "Target Initialization File" panel, please do the following modification.

USE_SAFE_RCW = True

2. After clicking "Flash programmer" icon, CodeWarrior Connection Server(CCS) will pop up in the Windows task bar, please double click it to open CCS console, and type "log v" in the console, then click "Flash programmer" icon again, the low level CCS log will be printed in the console. Please capture this log and send it to me.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2363742%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECode%20warrior%20Jtag%20IDE%20connection%20diagnosis%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2363742%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Team%2C%3C%2FP%3E%3CP%3EWe%20are%20using%20a%20custom%20board%20based%20on%20the%20NXP%20LX2160A%20chipset%20and%20are%20currently%20trying%20to%20set%20up%20the%20CodeWarrior%20IDE%20environment%20for%20JTAG%20flashing.%3C%2FP%3E%3CP%3EThe%20flash%20device%20used%20on%20our%20board%20is%20MT25QU512ABB.%20After%20configuring%20the%20IDE%20environment%20and%20adding%20the%20required%20files%2C%20we%20proceeded%20to%20open%20the%20Flash%20Programmer.%3C%2FP%3E%3CP%3EDuring%20the%20connection%20process%2C%20after%20%22Connection%20Diagnosis%22%2C%20the%20Flash%20Programmer%20opens%20successfully%2C%20but%20we%20are%20facing%20an%20issue%20at%20the%20step%3A%20%22Run%20Target%20Initialisation%20Script%22%20.%20The%20error%20observed%20is%20attached%20in%20the%20screenshot.%3C%2FP%3E%3CP%3EThe%20DIP%20switch%20is%20set%20to%20Hard-Coded%20RCW%20mode%20where%20we%20encounter%20the%20following%20error%3A%3CBR%20%2F%3E%22Failed%20to%20write%20memory%20at%20address%20...%22%3C%2FP%3E%3CP%3EWe%20have%20already%20verified%20the%20following%3A%3C%2FP%3E%3CP%3E*%20Hardware%20connections%3CBR%20%2F%3E*%20JTAG%20connectivity%20is%20proper%3CBR%20%2F%3E*%20Relevant%20signals%20were%20probed%20and%20appear%20normal%3C%2FP%3E%3CP%3EWe%20request%20your%20support%20in%20helping%20us%20isolate%20the%20root%20cause%20and%20fix%20the%20issue%20at%20the%20earliest.%20Please%20let%20us%20know%20if%20any%20additional%20logs%20or%20configuration%20files%20are%20required.%3C%2FP%3E%3CP%3EThanks%20%26amp%3B%20Regards%2C%3CBR%20%2F%3ESwetha%20K%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2363758%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3EAfter%20clicking%20%22Flash%20programmer%22%20icon%2C%20CodeWarrRe%3A%20Code%20warrior%20Jtag%20IDE%20connection%20diagnosis%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2363758%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E1.%20First%20Please%20double%20click%20LX2160_RDB(1)%20to%20Open%20%22Target%20Initialization%20File%22%20panel%2C%20please%20do%20the%20following%20modification.%3C%2FP%3E%0A%3CP%3EUSE_SAFE_RCW%20%3D%20True%3C%2FP%3E%0A%3CP%20style%3D%22line-height%3A%2013.8pt%3B%20margin%3A%200in%200in%208.0pt%200in%3B%22%3E%3CSPAN%3E2.%20After%20clicking%20%22Flash%20programmer%22%20icon%2C%20CodeWarrior%20Connection%20Server(CCS)%20will%20pop%20up%20in%20the%20Windows%20task%20bar%2C%20please%20double%20click%20it%20to%20open%20CCS%20console%2C%20and%20type%20%22log%20v%22%20in%20the%20console%2C%20then%20click%20%22Flash%20programmer%22%20icon%20again%2C%20the%20low%20level%20CCS%20log%20will%20be%20printed%20in%20the%20console.%20Please%20capture%20this%20log%20and%20send%20it%20to%20me.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2363747%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Code%20warrior%20Jtag%20IDE%20connection%20diagnosis%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2363747%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EPlease%20find%20the%20screenshot%20attached%20%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SWETHA1_0-1778565877592.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SWETHA1_0-1778565877592.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SWETHA1_0-1778565877592.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F385039iCAA29DBA338E86E1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22SWETHA1_0-1778565877592.png%22%20alt%3D%22SWETHA1_0-1778565877592.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2366823%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Code%20warrior%20Jtag%20IDE%20connection%20diagnosis%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366823%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3CBR%20%2F%3EThe%20issue%20has%20been%20resolved.%20It%20was%20caused%20by%20a%20hardware%20connection%20fault%2C%20which%20has%20now%20been%20fixed.%20We%20are%20no%20longer%20experiencing%20the%20error.%20Thank%20you%20for%20your%20support%3C%2FP%3E%3C%2FLINGO-BODY%3E