AnsweredAssumed Answered

Flash programming using Code warrior with CMSIS-DAP Failing.

Question asked by shyam baldha on Jul 5, 2017
Latest reply on Jul 5, 2017 by shyam baldha

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

Outcomes