Flash programming using Code warrior with CMSIS-DAP Failing.

cancel
Showing results for 
Search instead for 
Did you mean: 

Flash programming using Code warrior with CMSIS-DAP Failing.

658 Views
shyam_baldha
Contributor I

I am trying to update kernel image using CMSIS-DAP debugger on FRDM-LS1012A board But getting below errors:

Follow the instruction given in "flash programmer" section of "CodeWarrior Development Studio for QorIQ LS series for ARM v8 ISA"  documents to do flash programming.

Steps Followed:To start the flash programmer, perform the following steps:

Update the cwflash.py with 'PROBE_CONNECTION = "cmsisdap:20000203C19E4E733C62918B" ', 'SOC_NAME = "LS1012A" '.Rest are as it is.

  1. Open a terminal and switch to the following location:
    {CW Install Dir}\CW_ARMv8\ARMv8\gdb\bin 
  2. Start GDB from this location:
    • Windows: Run aarch64-fsl-gdb.exe
    • Linux: Run ./aarch64-fsl-gdb
  3. Execute cwflash.py script.
    source ../../gdb_extensions/flash/cwflash.py

=======LOGS=======

(gdb) source ../../gdb_extensions/flash/cwflash.py
Starting flash programmer services...
Starting local server...
Successfully started gdb server 127.0.0.1:45043.
Set gdb remote timeout to 7200
Connecting to target...
Using LS1012A SoC
Using CMSIS-DAP
Using jtag speed 6000
Connecting to probe...
ccs:USB open failure
CCS: TAP USB open failure.
connection failed
Target connection failed. Please re-check the settings.

Processor: LS1012A
Probe: CMSISDAP (20000203C19E4E733C62918B)
//
Additional error details:
[CCS: TAP USB open failure]

Closing debugger server...
Error: fail to start flash programming services.
(gdb)

======================

Can some one address, where am I doing wrong? 

Thanks,

Shyam

Labels (1)
Tags (1)
0 Kudos
2 Replies

362 Views
Pavel
NXP TechSupport
NXP TechSupport

Test your board using CMSIS-DAP as debugger connection.

Is there connection to the FRDM-LS1012A board under CodeWarrior using CMSIS-DAP?  

See attached screenshots.

Configure Target Connection and Activate.


Have a great day,
Pavel Chubakov

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

0 Kudos

362 Views
shyam_baldha
Contributor I

Hi Pavel,

The same configuration I am using, I have attached an screenshot please check it once if I am doing something wrong.

1.png

Thanks,

Shyam

0 Kudos