The following problem occurs with Flash Download using ARM JTAG.
There is no MBED, so you have to use ARM JTAG.
The CodeWarrior was connected to a PC and the LS1012A-FRDM board was connected to an external power source.
What is the problem?
(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 7200
Connecting to target...
Using LS1012A SoC
Using CWTAP 192.168.140.140
Using jtag speed 16000
Connecting to probe...
Successfully connected to probe
Running init script c:\freescale\cw4net_v2019.01\cw_armv8\armv8\gdb_extensions\flash\scripts/../../../../Config/boards/LS1012A_RDB_init.py
RCW error encountered. In order to diagnose the error temporarily change the board configuration switches to ignore the assertion of the RESET_REQ_B signal. Please refer to board reference manual in order to locate the appropriate switch that controls this behavior.
Error: fail to initialize target
Closing debugger server...
Error: fail to start flash programming services.
Attach the cwflasy.py file.