AnsweredAssumed Answered

LS1043ARDB use Codewarrior download u-boot some question

Question asked by 建云 周 on Mar 14, 2017
Latest reply on Mar 16, 2017 by 建云 周

Hi:

    LS1043ARDB development board  have  MK22FX512VLH12  DEBUGGER .I want to use MK22FX512VLH12  DEBUGGER download u-boot to NORFLASH or NANDFLASH. May I ask if can do this?

 

    I'm try use MK22FX512VLH12  DEBUGGER download u-boot to NORFLASH .But my compute can't connect LS1043ARDB development board.The following error :

 

(gdb) source ../../gdb_extensions/flash/cwflash.py
ccs:CC config string is invalid
Starting flash programmer services...
Starting local server...
Successfully started gdb server 127.0.0.1:45005.
Set gdb remote timeout to 7200
Connecting to target...
Using LS1043A SoC
Using CWTAP connected to local usb port.
Using jtag speed 6000
Connecting to probe...
GTA: target connection error.
connection failed
Traceback (most recent call last):
File "../../gdb_extensions/flash/cwflash.py", line 89, in <module>
fp_initialization()
File "../../gdb_extensions/flash/cwflash.py", line 87, in fp_initialization
start_fp_services(argument)
File "D:\Freescale\CW4NET_v2016.01\CW_ARMv8\ARMv8\gdb_extensions\flash/../flash\scripts\services.py", line 128, in start_fp_services
return instance.invoke(argument, False)
File "D:\Freescale\CW4NET_v2016.01\CW_ARMv8\ARMv8\gdb_extensions\flash/../flash\scripts\services.py", line 85, in invoke
ret = self.start_service(argument)
File "D:\Freescale\CW4NET_v2016.01\CW_ARMv8\ARMv8\gdb_extensions\flash/../flash\scripts\services.py", line 99, in start_service
ret = start(args)
File "D:\Freescale\CW4NET_v2016.01\CW_ARMv8\ARMv8\gdb_extensions\flash/../flash\scripts\flash_init.py", line 242, in start
if internal_start(args) is False:
File "D:\Freescale\CW4NET_v2016.01\CW_ARMv8\ARMv8\gdb_extensions\flash/../flash\scripts\flash_init.py", line 47, in internal_start
if internal_connect_to_target(args) is False:
File "D:\Freescale\CW4NET_v2016.01\CW_ARMv8\ARMv8\gdb_extensions\flash/../flash\scripts\flash_init.py", line 190, in internal_connect_to_target
gdb_execute('monitor ctx connect')
File "D:\Freescale\CW4NET_v2016.01\CW_ARMv8\ARMv8\gdb_extensions\flash/../flash\scripts\utils.py", line 72, in gdb_execute
raise gdb.GdbError("Error: " + str(exc))
gdb.GdbError: Error: Protocol error with Rcmd

 

My cwflash.py file please refer to attachment.

 

BR

zhoujianyun

Original Attachment has been moved to: cwflash.py.zip

Outcomes