LS1012A-FRDM Codewarrior Flash Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1012A-FRDM Codewarrior Flash Error

1,103 Views
인섭심
Contributor I
I want to download JTAG from LS1012A-FRDM.
I used CodeWarrior's CMSIS-TAP to do the following for Flash Write.

1. put the attached cwflash.py in the folder Freescale \ CW4NET_v2018.01 \ CW_ARMv8 \ ARMv8 \ gdb_extensions \ flash
2. PROBE_CONNECTION = "cmsisdap: COM9"
3. Open CW4NET_v2018.01 \ CW_ARMv8 \ ARMv8 \ gdb \ bin \ aarch64-fsl-gdb.exe
4. type "source C: \ Freescale \ CW4NET_v2018.01 \ CW_ARMv8 \ ARMv8 \ gdb_extensions \ flash \ cwflash.py"
.
.
The following error occurs.
.
.

Starting local server...

Successfully started gdb server 127.0.0.1:45002.

Set gdb remote timeout to 7200

Connecting to target...

Using LS1012A SoC

Using CMSIS-DAP

Using jtag speed 6000

Connecting to probe...

ccs:USB not configured

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/LS1012A_FRDM_init.py

ccs:There is no chain configured - chain size is zero

Target reset failed.

Can you tell me the cause of the error?

0 Kudos
6 Replies

847 Views
인섭심
Contributor I

I attached cwflash.py to the body.

0 Kudos

847 Views
ufedor
NXP Employee
NXP Employee

1) Is the board capable to boot?

if not:

2) Is valid RCW present in flash?

0 Kudos

847 Views
인섭심
Contributor I
There are two boards.
The mode is the same on two boards.

One will boot normally. (No resistance to R50.)
One does not boot after writing RCW. (Resistance to R50, is this a hard coded RCW?)
0 Kudos

847 Views
ufedor
NXP Employee
NXP Employee

> Resistance to R50, is this a hard coded RCW?

Yes, this is hard-coded RCW option.

The board can't boot with hard-coded RCW - refer to the QorIQ LS1012A Reference Manual, 4.4.5.2 Hard-coded RCW options.

The hard-coded option normally should be used to program a valid RCW into the flash.

0 Kudos

847 Views
인섭심
Contributor I

I made a mistake.
It works well after connecting to JTAG for CMSISDAP.
Thank you for your help.

0 Kudos

847 Views
ufedor
NXP Employee
NXP Employee

Please provide the modified "cwflash.py" for inspection.

0 Kudos