LA9310 unable to connect to CWIDE

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

LA9310 unable to connect to CWIDE

2,055 Views
varun0106
Contributor I

I am working on LA9310RDB, when i try to connect VSPA using cwide, it throws following error

"CCSProtocolPlugin::Can't connect to CCS"

I have configured the IP of jtag.

I also saw a link on the internet for the same, "https://community.nxp.com/t5/CodeWarrior-Development-Tools/Can-t-connect-CCS/m-p/459955"

But I am not able to understand anything from this, as it is a 6 year old post and CCS window is not there in CWIDE now

 

0 Kudos
Reply
4 Replies

1,993 Views
varun0106
Contributor I

Hi XiangJun,

Thanks for the reply,

Where do i have to execute these commands, i cannot fine command line window in the cwide

varun0106_0-1647425300665.png

 

0 Kudos
Reply

1,985 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

It appears that you can not open the ccs menu, this is the screenshot which tells you how to open the ccs menu. I use the CodeWarrior for DSP56800E tools, but the menu is the same.

Hope it can help you

BR

XiangJun Rong

xiangjun_rong_0-1647483642267.png

 

0 Kudos
Reply

1,974 Views
varun0106
Contributor I

Hi Xiangjun,

I started the CCS server manually from the cwide setup folder, then i started executing the commands which you have mentioned earlier, i got error in the third command "ccs::config_chain {la9310 dap}",

the error states "can't read "::ccs::core(la9310)": no such element in array,", what does it mean?

varun0106_0-1647520819212.png

 

0 Kudos
Reply

2,027 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Varun,

This is an update to your question/request:

 

go to the ccs command line window and run the following command before you run the debug in CW

 

 

As you can see below VSPA is not in the jtag chain by default.

Once you do the write_mem commands below the VSPA is added to the jtag chain.

 

Good luck

 

bin) 61 % delete all

(bin) 62 % config cc cwtap:fsl042a86

(bin) 63 % ccs::config_chain {la9310 dap}

(bin) 64 % display ccs::get_config_chain

Chain Position 0: LA9310

Chain Position 1: Cortex-M4

Chain Position 2: CoreSight CTI

Chain Position 3: CoreSight CTI

Chain Position 4: CoreSight CTI

Chain Position 5: DAP

(bin) 65 % ccs::write_mem 0 0x41e60104 4 0 0x01000000

(bin) 66 % ccs::write_mem 0 0x41e60114 4 0 0x01000000

(bin) 67 % display  ccs::read_mem 0 0x41e6000c 4 0 1

                   +0       +4       +8       +C

[0x41E6000C] 01000000

(bin) 68 %

(bin) 68 % ccs::config_chain {la9310 dap}

(bin) 69 % display ccs::get_config_chain

Chain Position 0: LA9310

Chain Position 1: Cortex-M4

Chain Position 2: CoreSight CTI

Chain Position 3: CoreSight CTI

Chain Position 4: CoreSight CTI

Chain Position 5: VSPA2 core

Chain Position 6: DAP

 

Best Regards,

XiangJun Rong

0 Kudos
Reply