AnsweredAssumed Answered

ls1043ardb flash programing failed by use codewarrior

Question asked by lin cheng on Apr 12, 2018
Latest reply on Apr 18, 2018 by Yiping Wang


   I was test ls1043ardb flash programing use codewarrior, i ref the chapter  "7.1 Configuring flash programmer " from
"ARMv8_Targeting_Manual.pdf" . in, i set BOARD_TYPE = "RDB", FLASH_TYPE = "nor",SOC_NAME = "LS1043A",PROBE_CONNECTION = "". then i launch  aarch64-fsl-gdb.exe ,and then do cmd " source ../../gdb_extensions/flash/ ". but somethings is wrong, the log likes says "[Failed to read memory from address 0x1ee00c8 on core SAP#0.GTA: error reading memory]". Do anyone know what is wrong with it ?


GNU gdb (GDB) (NXP Semiconductors)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=mingw32 --target=aarch64-fsl-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) source ../../
CodeWarrior_ARMv8_Release_Notes.pdf License/ gdb_extensions/
CodeWarrior_Examples/ Welcome.txt gta/
Help/ gdb/ sa_ls/
(gdb) source ../../gdb_extensions/
ccs_log/ flash/ mmu/ target/
cw/ gdb_wrapper/
diagnostics/ i2c/ registers/
elfutils/ kernel_awareness/ session_launcher/
(gdb) source ../../gdb_extensions/flash/ __init__.pyc config.pyc gdbcommands/ scripts/
(gdb) source ../../gdb_extensions/flash/
Starting flash programmer services...
Starting local server...
Successfully started gdb server
Set gdb remote timeout to 7200
Connecting to target...
Using LS1043A SoC
Using CWTAP connected to local usb port
Using jtag speed 16000
Connecting to probe...
connected successfully
Successfully connected to probe
Initializing target...
Running init script c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\flash\scripts/../../../../Config/boards/
ccs:Core not responding
Python Exception <class 'gdb.error'> Protocol error with Rcmd:
ccs:Core not responding
Core not responding
Traceback (most recent call last):
File "../../gdb_extensions/flash/", line 111, in <module>
File "../../gdb_extensions/flash/", line 109, in fp_initialization
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\i2c\gdbcommands/../../flash\scripts\", line 151, in start_fp_services
return instance.invoke(argument, False)
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\i2c\gdbcommands/../../flash\scripts\", line 108, in invoke
ret = self.start_service(argument)
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\i2c\gdbcommands/../../flash\scripts\", line 122, in start_service
ret = start(args)
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\i2c\gdbcommands/../../flash\scripts\", line 294, in start
if internal_start(args) is False:
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\i2c\gdbcommands/../../flash\scripts\", line 67, in internal_start
if internal_initialize_target(args) is False:
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\i2c\gdbcommands/../../flash\scripts\", line 269, in internal_initialize_target
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\flash\scripts/../../../../Config/boards/", line 459, in run_init_file
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\flash\scripts/../../../../Config/boards/", line 158, in Reset
HWRcwValidation(target_access, DCFG_BASE_ADDRESS).check_for_pbl_error()
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\gdb_wrapper\wrapper_gdbcommands/../../cw\dbg\", line 378, in check_for_pbl_error
rstrqsr_address, 4, "physical", 1)).to_array(4, swap_needed)[0].to_int()
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\gdb_wrapper\wrapper_gdbcommands/../../cw\dbg\", line 81, in read
buf =
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\gdb_wrapper\wrapper_gdbcommands/../../cw\dbg\", line 68, in cmd_exec
File "c:\freescale\cw4net_v2018.01\cw_armv8\armv8\gdb_extensions\gdb_wrapper\wrapper_gdbcommands/../../cw\dbg\", line 125, in _raise_error_info
raise CWException(err)
cw.dbg.exceptions.CWException: Memory access failed.
Additional error details:
[Failed to read memory from address 0x1ee00c8 on core SAP#0.
GTA: error reading memory]