TWR-LS1021A DAP Connection Issues

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

TWR-LS1021A DAP Connection Issues

Jump to solution
618 Views
brentn
Contributor I

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.

pastedImage_7.png

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

0 Kudos
1 Solution
508 Views
Pavel
NXP Employee
NXP Employee

Test your TWR-LS1021a board using the TWR-LS1021A Getting Started Guide:

https://www.nxp.com/webapp/Download?colCode=TWR-LS1021AGS

 

See the Section 5 of this document.

Is there problem for using console and u-boot on your board.

Is CMSIS-DAP enabled on your board. See the Section 7.2.

 

The TWR-LS1021a board uses K20 MCU processors for CMSIS-DAP interface. Test connection to CMSIS-DAP using Windows.

Is there "mbed Serial Port" and "mbed" device if your board is connected to PC?

 

Download and install the latest serial driver for Windows:

https://os.mbed.com/handbook/Windows-serial-configuration#1-download-the-mbed-windows-serial-port

 

When using the CMSIS-DAP probe, it is recommended to verify operation parameters and RCW correctness before continuing. Failure to program a compatible RCW may result problem for connection using CMSIS-DAP

Check RCW on your board.

Have a great day,
Pavel Chubakov

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
509 Views
Pavel
NXP Employee
NXP Employee

Test your TWR-LS1021a board using the TWR-LS1021A Getting Started Guide:

https://www.nxp.com/webapp/Download?colCode=TWR-LS1021AGS

 

See the Section 5 of this document.

Is there problem for using console and u-boot on your board.

Is CMSIS-DAP enabled on your board. See the Section 7.2.

 

The TWR-LS1021a board uses K20 MCU processors for CMSIS-DAP interface. Test connection to CMSIS-DAP using Windows.

Is there "mbed Serial Port" and "mbed" device if your board is connected to PC?

 

Download and install the latest serial driver for Windows:

https://os.mbed.com/handbook/Windows-serial-configuration#1-download-the-mbed-windows-serial-port

 

When using the CMSIS-DAP probe, it is recommended to verify operation parameters and RCW correctness before continuing. Failure to program a compatible RCW may result problem for connection using CMSIS-DAP

Check RCW on your board.

Have a great day,
Pavel Chubakov

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos