Hello @yipingwang ,
Thank you for the clarification regarding how to run the script, I realized that on my end I cannot run the code using the CCS terminal because I don’t have a CWTAP, instead I am using the CMSIS-DAP to interact with my device, and I think that the CCS console ins not compatible with this communication mechanism.
However, as per the log you shared the corresponding ID codes for the LS1012A seem to be.
TDO -----
|
* Device 0 IDCODE: 5BA00477 Device: ARM DAP rev 5.x
* Device 1 IDCODE: 06B2001D Device: NXP LS1012A rev 1.x
|
TDI -----
And it is important to note that on my J-Link script I can obtain the same ID codes please refer to the output below.
JTAG chain detection found 2 devices:
#0 Id: 0x5BA00477, IRLen: 04, CoreSight JTAG-DP
#1 Id: 0x06B2001D, IRLen: 05, PowerPC JTAGC-TAP
Moreover, I can read the 0x5BA00477 ID using different J-Link commands so I think that the JTAG communication at this point is correct, I am wondering what I might be missing.
I will continue reviewing the LS1012A_FRWY script that you sent to see if it contains any other important initialization routine that could help me to finish the communication establishment.
Is there any other tool, script, or routine, that I can review from the CW perspective to find the missing dependencies on my J-Link setup?
Could you please let me know which CW modules are called when running the following instructions on the CCS console?
(bin) 46 % ccs::config_chain {ls1043a dap sap2}
Any guidance will be highly appreciated,
Thanks, and best regards,
Esteban V.