AnsweredAssumed Answered

TWR-LS1021A DAP Connection Issues

Question asked by Brent Nelson on Jul 19, 2019
Latest reply on Jul 21, 2019 by Pavel Chubakov

Hello,

 

I recently received TWR-LS1021A-PC and have been struggling with connecting to the board via the DAP interface.  When I try to connect (Run->Debug Configurations->Debug), I get the following error (sometimes error to connect to probe).  I included the outputs from the console, ccs console outputs I've seen from other people's thread, and details on my version of board / processor / and code warrior.  Additionally, I attached the codewarrior generated diagnostic zip file.  Any help / ideas would be greatly appreciated.

 

 

Here is the output from the Console:

ccs_open
ipaddr = 127.0.0.1
port = 41475
timeout = 180
serverh = 0
ccs_open; ccs_error = 0
ccs_get_connection_count
serverh = 0
count = 1
ccs_get_connection_count; ccs_error = 0
ccs_available_connections
serverh = 0
count = 0
ccs_available_connections; ccs_error = 0
ccs_available_connections
serverh = 0
count = 0
ccs_available_connections; ccs_error = 0
ccs_config_cc
serverh = 0
config_string = cmsisdap:0
ccs_config_cc; ccs_error = 0
ccs_available_connections
serverh = 0
count = 1
ccs_available_connections; ccs_error = 0
ccs_cc_version
serverh = 0
cc = 0
version.major = 0
version.minor = 4
ccs_cc_version; ccs_error = 0
ccs_set_timeout
serverh = 0
timeout = 180
ccs_set_timeout; ccs_error = 0
ccs_get_config_chain
serverh = 0
device_list: (size = 0)
ccs_get_config_chain; ccs_error = 0
ccs_config_server
serverh = 0
cc = 0
server_config = 0
value = 10000
ccs_config_server; ccs_error = 0
ccs_config_chain
serverh = 0
cc = 0
device_list: (size = 2)
device[0]:: core_type=LS1020A(273)
device[1]:: core_type=CMSISDAP(281)
ccs_config_chain; ccs_error = 26
Error message: USB not configured
ccs_close
serverh = 0
ccs_close; ccs_error = 0

 

The following is what I see on the CodeWarrior Connection Server console when executing the 'config cc cmsisdap' and 'ccs::config_chain {ls1020a cmsisdap}' commands.

 

(bin) 26 % delete all
(bin) 26 % config cc cmsisdap
Identified CMSIS-DAP SERNUM: 2000020316985E54EB6481AC
Firmware version: 0203
0: CMSIS-DAP (cmsisdap) CC software ver. {0.4}
(bin) 27 % ccs::config_chain {ls1020a cmsisdap}
rddi_CMSIS_DAP_DetectNumberOfDevices failed : 0x100d
LS1020A: USB not configured

 

Details on my versions:

Board: TWR-LS1021A-PC

CPU:   Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)

CodeWarrior: Version 10.0.9 / Build Id 190131

Outcomes