Excute from chapter 7 to chapter 7.3 in the document of ''CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA, Targeting Manual '', an error was reported. The specific contents of the error are as follows:
(gdb) source ../../gdb_extensions/flash/cwflash.py
Starting flash programmer services...
Starting local server...
Successfully started gdb server 127.0.0.1:45000.
Set gdb remote timeout to 120
Connecting to target...
Using LS1012A 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_v2019.01\cw_armv8\armv8\gdb_extensions\flash\scripts/../../../../Config/boards/LS1012A_QDS_init.py
PBL phase completed with error 'No preamble is detected'
Error: fail to initialize target
Closing debugger server...
Error: fail to start flash programming services.
Please help to analyze how to solve it.
Is there problem for loading simple program example to your board?
See the Section 2.1 of the " ARMv8_Targeting_Manual.pdf" file.
Test your connection to your board using the following commands in CCS:
config cc cwtap
show cc
and
log v
source IDcode.tcl
See the following page:
https://community.nxp.com/docs/DOC-94804
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.
-------------------------------------------------------------------------------